Skip to content

Conversation

@tarcieri
Copy link
Member

The PublicKey and PrivateKey types both have inherent from_openssh methods with the goal of potentially supporting some earlier legacy formats in addition to the most current OpenSSH formats.

However, they didn't previously have FromStr. This commit adds a FromStr thunk which calls from_openssh.

The `PublicKey` and `PrivateKey` types both have inherent `from_openssh`
methods with the goal of potentially supporting some earlier legacy
formats in addition to the most current OpenSSH formats.

However, they didn't previously have `FromStr`. This commit adds a
`FromStr` thunk which calls `from_openssh`.
@tarcieri tarcieri merged commit 6260f8b into master Jan 31, 2022
@tarcieri tarcieri deleted the ssh-key/from-str-impls branch January 31, 2022 23:26
@tarcieri tarcieri mentioned this pull request Mar 16, 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.

2 participants