-
-
Notifications
You must be signed in to change notification settings - Fork 687
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
Added support for RSASSA-PSS algorithms (PS256, PS384, PS512) #132
Merged
mark-adams
merged 2 commits into
jpadilla:master
from
mark-adams:add-rsa-pss-algorithms
Apr 10, 2015
Merged
Added support for RSASSA-PSS algorithms (PS256, PS384, PS512) #132
mark-adams
merged 2 commits into
jpadilla:master
from
mark-adams:add-rsa-pss-algorithms
Apr 10, 2015
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 similar comments
mark-adams
force-pushed
the
add-rsa-pss-algorithms
branch
from
April 9, 2015 04:03
085d28c
to
b7bf3f5
Compare
mark-adams
force-pushed
the
add-rsa-pss-algorithms
branch
from
April 9, 2015 04:05
b7bf3f5
to
68d1f89
Compare
1 similar comment
Oh snap, this is great! As far as I know none of the other libraries do implement these. |
Most of the thanks goes to |
3 similar comments
mark-adams
added a commit
that referenced
this pull request
Apr 10, 2015
Added support for RSASSA-PSS algorithms (PS256, PS384, PS512)
This was referenced Aug 22, 2016
This was referenced Sep 21, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Added support for RSASSA-PSS algorithms (PS256, PS384, PS512)
The JWT spec also mentions optional support for RSASSA-PSS using and MGF1. This is superior to PKCS #1 v1.5 (RS256, RS384, RS512) because it essentially uses a salt to randomize the padding instead of using a completely deterministic algorithm. No good attacks against PKCS #1 v1.5 padding currently exist, but PSS is recommended in new applications since it makes the signature even more random.
More info here: http://www.emc.com/emc-plus/rsa-labs/historical/raising-standard-rsa-signatures-rsa-pss.htm
Also added a test to cover our only uncovered line in
jwt.api