Skip to content

SSH key support#9

Merged
str4d merged 13 commits intomasterfrom
ssh
Oct 17, 2019
Merged

SSH key support#9
str4d merged 13 commits intomasterfrom
ssh

Conversation

@str4d
Copy link
Owner

@str4d str4d commented Oct 12, 2019

Closes #6.

@str4d
Copy link
Owner Author

str4d commented Oct 13, 2019

Hmm, this will be tricky to finish:

  • The rsa crate has an open PR for OAEP (Add OAEP Encryption & Decryption RustCrypto/RSA#18) but it is not complete and needs rebasing.
  • There aren't any crates that parse OpenSSH pubkeys and also cover all of the following:
    • Parse OpenSSH private keys.
    • Expose the pubkey for a private key (either extracted from the privkey format or by reserializing).
    • Expose the internals of the keys for transposing into the rsa crate.

str4d added 2 commits October 16, 2019 22:45
Currently implemented as a whitelist that we can grow as we encounter
key types in the wild.
Some pubkey lists (specifically GitHub keys) don't include the user@host
part of the pubkey line.
@str4d str4d marked this pull request as ready for review October 16, 2019 09:50
@str4d
Copy link
Owner Author

str4d commented Oct 16, 2019

Well, this was... unpleasant.

@str4d str4d merged commit e36f3df into master Oct 17, 2019
@str4d str4d deleted the ssh branch October 17, 2019 23:11
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.

SSH key support

1 participant