Correct, apologies I think I'm half asleep when I replied before. Please ignore my reply before.
On Mon, Nov 20, 2017 at 12:16 AM, Anmol Sethi <[email protected]> wrote: > That library will not work either. > > See https://github.com/fudanchii/edssh/blob/bd7d88fd1d85351bf598cdcd1fb7b0 > 4528cf42e2/keys.go#L44 > > > On Nov 19, 2017, at 11:49 AM, Nurahmadie Nurahmadie <[email protected]> > wrote: > > Hi Chandru, > > I made a library to support openssh ed25519 key format. > It can be used as a drop-in replacement of `ssh.ParsePrivateKey` as shown > here: https://github.com/fudanchii/edssh > > On Thu, Nov 16, 2017 at 11:43 PM, me via golang-nuts <golang-nuts@ > googlegroups.com> wrote: > >> 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/9f005a07e0d31d45e6 >> 656d241bb5c0f2efd4bc94/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. >> > > > > -- > regards, > Nurahmadie > -- > > > -- regards, Nurahmadie -- -- 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.
