Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removing un-printable characters from decrypted payload #13

Merged
merged 1 commit into from
Jun 29, 2022

Conversation

danny-gallagher
Copy link
Contributor

PR checklist

  • An issue/feature request has been created for this PR
  • Pull Request title clearly describes the work in the pull request and the Pull Request description provides details about how to validate the work. Missing information here may result in a delayed response.
  • File the PR against the master branch

Description

The decrypt_payload method in jwe_encryption is failing if un-printable characters are present in the decrypted payload.
This PR fixes this issue.

@danny-gallagher danny-gallagher added the safe The PR has been reviewed by Mastercard and has been validated to be safe label Jun 29, 2022
@danny-gallagher danny-gallagher merged commit 5f3878c into main Jun 29, 2022
@danny-gallagher danny-gallagher deleted the feature/removing-unprintable-chars branch June 29, 2022 14:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
safe The PR has been reviewed by Mastercard and has been validated to be safe
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant