ssi icon indicating copy to clipboard operation
ssi copied to clipboard

Support parsing of SSH and GPG private/public key formats in ssi and didkit

Open wyc opened this issue 3 years ago • 1 comments

To support #176, we must implement support for SSH's id_rsa/id_ed25519/id_ed25519.pub/etc. and authorized_keys formats in addition to GPG ASCII-armored formats for both public and private keys. This interoperability will allow us to use existing infrastructure that developers are familiar with to work with DIDs + VCs.

In DIDKit, we can expose this functionality as an alternative way to JWKs to use keys.

wyc avatar Apr 15 '21 18:04 wyc

Parsing SSH public keys (RSA, Ed25519, P-256), as found in authorized_keys, into JWK, is implemented in #178.

Parsing GPG keys is not yet implemented. If we use https://or13.github.io/lds-pgp2021/, the ASCII-armored public key string could be put directly into a property of the verification method object,

clehner avatar Jun 01 '21 20:06 clehner