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

Add convenience methods to sign and verify w/ RSA #2945

Merged
merged 1 commit into from Jun 4, 2016

Conversation

cmurphy
Copy link
Contributor

@cmurphy cmurphy commented Jun 2, 2016

This patch adds wrapper methods to allow the user to sign and verify a
single message block without having to go through the multi-step
process of creating a signer or verifier, updating it with the one
message, and finalizing the result. This will make signing and
verifying data more user-friendly when only using small messages.

Partial bug #1529

@cmurphy
Copy link
Contributor Author

cmurphy commented Jun 2, 2016

Needs tests and docs

@alex
Copy link
Member

alex commented Jun 2, 2016

jenkins, ok to test

@cmurphy cmurphy changed the title (WIP) Add convenience methods to sign and verify w/ RSA Add convenience methods to sign and verify w/ RSA Jun 2, 2016
@reaperhulk
Copy link
Member

jenkins, retest this please

@@ -486,7 +514,8 @@ Key interfaces

.. versionadded:: 0.3

Sign data which can be verified later by others using the public key.
Get object with which to sign potentially multiple blocks of data
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The wording here is confusing. Could you rephrase it a bit?

This patch adds wrapper methods to allow the user to sign and verify a
single message block without having to go through the multi-step
process of creating a signer or verifier, updating it with the one
message, and finalizing the result. This will make signing and
verifying data more user-friendly when only using small messages.

Partial bug pyca#1529
@cmurphy
Copy link
Contributor Author

cmurphy commented Jun 4, 2016

@reaperhulk thanks for those notes, I've reworded it to hopefully be simpler.

@reaperhulk
Copy link
Member

Thanks for the PR @cmurphy! Feel free to add yourself to the AUTHORS file in a new PR if you'd like.

@reaperhulk reaperhulk merged commit 34d5c39 into pyca:master Jun 4, 2016
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants