cloudtools / ssh-cert-authority

An implementation of an SSH certificate authority.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support encypted Ed25519 SSH keys

timecode opened this issue · comments

Unencrypted (no passphrase) Ed25519 SSH keys work fine, but when using an encrypted (with a passphrase) Ed25519 SSH key, the following currently happens...

...
SSH Key Passphrase [none]: •••••
error adding private key: error parsing private key: ssh: cannot decode encrypted private keys
...
$ > 

This appears to be an issue in crypto/ssh (in case anyone else comes across this), so I guess it'll be resolved when golang/go#18692 is resolved.

this module does support parsing them fwiw: https://github.com/ScaleFT/sshkeys