-
-
Notifications
You must be signed in to change notification settings - Fork 694
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
Warn about missing algorithms arg only when verify is True #281
Warn about missing algorithms arg only when verify is True #281
Conversation
Might not hurt to add a test for this. |
9e63858
to
4b16fe8
Compare
@mark-adams thanks. Tests added (and the original change fixed). |
@suligap Sorry for the delay in reviewing. This looks good. Would you mind adding an entry to the CHANGELOG mentioning the behavior that this fixes? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think if you add this to the CHANGELOG we should be good!
cabc3ee
to
0fa05a6
Compare
@mark-adams thanks. CHANGELOG updated! |
- Remove uses of deprecated functions from the cryptography package. | ||
- Warn about missing `algorithms` param to `decode()` only when `verify` param is `True` [#281][281] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is missing defining the link for 281 at the bottom of the file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @jpadilla! That's fixed now.
Since no signature verification will occur, passing in `algorithms` does not make much sense.
0fa05a6
to
1b57ab2
Compare
Since no signature verification will occur, passing in
algorithms
doesnot make much sense.