x/crypto/ssh does support OpenSSH's ed25519 private key files. However, it looks like it does not support encrypted private keys in the OpenSSH format.
See https://github.com/golang/crypto/blob/9f005a07e0d31d45e6656d241bb5c0f2efd4bc94/ssh/keys.go#L922 and https://github.com/openssh/openssh-portable/blob/master/PROTOCOL.key On Wednesday, November 15, 2017 at 12:09:29 PM UTC-5, Chandra Sekar S wrote: > > Can x/crypto/ssh parse OpenSSH's ed25519 private key files? > > ParseRawPrivateKeyWithPassphrase returns "ssh: cannot decode encrypted > private keys" as error. > > -- > Chandra Sekar.S > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
