Re: Converting private key from OpenSSH to lsh (or the other way around)

[email protected] (Niels Möller) Mon, 04 Jun 2007 09:31:53 +0200
Newsgroups gmane.network.lsh.bugs
Message-ID <[email protected]>
Kaloian Doganov <[email protected]> writes:

> I've noticed that I can convince pkcs1-conv to process PEM-formatted
> input if I drop the "--private-rsa-key" argument:
>
>     $ cat /tmp/id_rsa.nopass.pem | pkcs1-conv

When reading PEM data, the type of the data follows from the PEM start
line. For DER data, its harder to derive the intended type from the
data.

Regards,
/Niels