Skip to content

ssh-key: extract a Comment type #360

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

Merged
merged 1 commit into from
Apr 23, 2025
Merged

ssh-key: extract a Comment type #360

merged 1 commit into from
Apr 23, 2025

Conversation

tarcieri
Copy link
Member

Extracts a type which models the concerns of comments, namely that they can be encoded as an RFC4251 string type which can hold arbitrary binary data when stored in the binary serialization of a private key.

This replaces the various accessor methods on PublicKey and PrivateKey for handling the various conversions.

Extracts a type which models the concerns of comments, namely that they
can be encoded as an RFC4251 `string` type which can hold arbitrary
binary data when stored in the binary serialization of a private key.

This replaces the various accessor methods on `PublicKey` and
`PrivateKey` for handling the various conversions.
@tarcieri tarcieri force-pushed the ssh-key/comment-type branch from 609ef1e to 9b7ba63 Compare April 23, 2025 19:47
@tarcieri tarcieri merged commit 21dacb7 into master Apr 23, 2025
14 checks passed
@tarcieri tarcieri deleted the ssh-key/comment-type branch April 23, 2025 19:52
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.

1 participant