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

signature: add Keypair trait #1080

Merged
merged 1 commit into from
Aug 14, 2022
Merged

signature: add Keypair trait #1080

merged 1 commit into from
Aug 14, 2022

Conversation

tarcieri
Copy link
Member

Adds a trait for types which represent a combination of both a signing key and verifying key as is common in many digital signature systems.

The Keypair name follows Rust standard capitalization rules for the closed compound word "keypair" as commonly used in cryptography.

@tarcieri
Copy link
Member Author

Looks like this would require an MSRV bump to 1.52 due to cyclical bounds.

Might as well do a 2021 edition bump in that case.

tarcieri added a commit that referenced this pull request Aug 13, 2022
Since we have PRs that demand an MSRV bump (#1080), bumps the crate's
edition to the latest, which requires MSRV 1.56.
tarcieri added a commit that referenced this pull request Aug 13, 2022
Since we have PRs that demand an MSRV bump (#1080), bumps the crate's
edition to the latest, which requires MSRV 1.56.
Adds a trait for types which represent a combination of both a signing
key and verifying key as is common in many digital signature systems.

The `Keypair` name follows Rust standard capitalization rules for the
closed compound word "keypair" as commonly used in cryptography.
@tarcieri tarcieri merged commit 55da859 into master Aug 14, 2022
@tarcieri tarcieri deleted the signature/keypair branch August 14, 2022 12:37
@tarcieri tarcieri mentioned this pull request Aug 14, 2022
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.

None yet

3 participants