From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Tue, 17 Dec 2013 23:16:53 +0100 From: David du Colombier <0intro@gmail.com> To: 9fans@9fans.net Message-ID: <20131217231653.144dbc37@zinc.9fans.fr> In-Reply-To: References: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [9fans] Encoding private RSA key to PEM with p9p Topicbox-Message-UUID: 9ea43132-ead8-11e9-9d60-3106f5b1d025 > I tried to do the opposite : generating keys as PEM using linux's > openssl, then convert them to plan9 format using pemdecode without > success. You have to convert the key from PEM to DER with OpenSSL, then convert it to the Factotum format using auth/asn12rsa: openssl rsa -in key.pem -inform PEM -out key.der -outform DER auth/asn12rsa -t 'proto=rsa service=tls owner=*' key.der >key -- David du Colombier