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

Parse SSH private key format #203

Open
clehner opened this issue Jun 1, 2021 · 0 comments
Open

Parse SSH private key format #203

clehner opened this issue Jun 1, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@clehner
Copy link
Contributor

clehner commented Jun 1, 2021

Re: #178

Deserialize, and decrypt if needed, SSH private keys and convert to JWK for use with JWS and linked data proofs.

Info about SSH private key formats:
https://security.stackexchange.com/questions/218335/difference-in-ecdsa-private-key-format
https://cvsweb.openbsd.org/src/usr.bin/ssh/PROTOCOL.key?annotate=HEAD
https://datatracker.ietf.org/doc/html/rfc5208
https://datatracker.ietf.org/doc/html/rfc7468

Currently ssi implements serializing a JWK as PEM/DER/ASN.1; this could perhaps be extended to support deserialization and decryption.

@clehner clehner added the enhancement New feature or request label Apr 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant