Mastercard / client-encryption-python

Library for Mastercard API compliant payload encryption/decryption.
https://developer.mastercard.com/platform/documentation/security-and-authentication/securing-sensitive-data-using-payload-encryption/
MIT License
17 stars 10 forks source link

Update jwe_encryption.py Secure unpadding #34

Closed NehaSony closed 5 months ago

NehaSony commented 5 months ago

PR checklist

Link to issue/feature request: add the link here

https://github.com/Mastercard/client-encryption-python/issues/19

Description

Utilization of secure unpadding instead of isprintiable() Fix for https://github.com/Mastercard/client-encryption-python/issues