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 <
[email protected]> 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/9f005a07e0d31d45e6656d241bb5c0
> f2efd4bc94/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
--

-- 
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.

Reply via email to