Skip to content

Ability to pass in protected headers to sign_compact. #29

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

Merged
merged 1 commit into from
Jul 27, 2015

Conversation

mibanescu
Copy link

Signatures may not validate if multiple (protected) headers are fed in. This
is related to sign_compact computing the b64 representation of the protected
headers (xargs) outside of the jwt, and then using jwt.pack() which would
re-serialize the protected headeres, potentially changing the way the json is
formatted.

Signatures may not validate if multiple (protected) headers are fed in. This
is related to sign_compact computing the b64 representation of the protected
headers (xargs) outside of the jwt, and then using jwt.pack() which would
re-serialize the protected headeres, potentially changing the way the json is
formatted.
@mibanescu
Copy link
Author

Please note that test_private_key_from_jwk fails because jwk_private_key.json has not been committed.

@rohe
Copy link
Contributor

rohe commented Jul 24, 2015

23 jul 2015 kl. 20:39 skrev Arjun Sharma [email protected]:

Please note that test_private_key_from_jwk fails because jwk_private_key.json has not been committed.

It is now.

  • Roland

”Capitalism is the extraordinary belief that the nastiest of men for the nastiest of motives will somehow work for the benefit of all" - John Maynard Keynes.

rohe pushed a commit that referenced this pull request Jul 27, 2015
Ability to pass in protected headers to sign_compact.
@rohe rohe merged commit ba8942b into IdentityPython:master Jul 27, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants