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

ssh-key: add Algorithm::Other Signature support #189

Merged
merged 2 commits into from
Dec 22, 2023

Conversation

dhuseby
Copy link
Contributor

@dhuseby dhuseby commented Dec 22, 2023

This allows Signatures with Algorithm::Other. The only restriction is that the passed-in data must not be empty. The AlgorithmLabel already requires that the name follows RFC 4251 for "additional algorithms" meaning they have a algorithm name and an '@' followed by a domain.

ssh-key/src/signature.rs Outdated Show resolved Hide resolved
yup, you're right.

Co-authored-by: Tony Arcieri <[email protected]>
@tarcieri tarcieri changed the title add Algorithm::Other Signature support ssh-key: add Algorithm::Other Signature support Dec 22, 2023
@tarcieri tarcieri merged commit ca5b2a5 into RustCrypto:master Dec 22, 2023
13 checks passed
@tarcieri
Copy link
Member

Thanks!

@tarcieri tarcieri mentioned this pull request Jan 12, 2024
@dhuseby dhuseby deleted the algorithm_other_signatures branch March 6, 2024 02:46
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