9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] Encoding private RSA key to PEM with p9p
@ 2013-12-17 22:00 Jean-André Santoni
  2013-12-17 22:16 ` David du Colombier
  0 siblings, 1 reply; 6+ messages in thread
From: Jean-André Santoni @ 2013-12-17 22:00 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 623 bytes --]

Hi, I'm using golang to code a 9p filesystem on linux. I wish to use srv +
factotum + 9pfuse from p9p as client to test the fs.
The server uses TLS with client authentication. Golang tls lib need keys in
PEM format (I think). On the client side, factotum need the keys in plan9
format.

I have no problem converting the public keys to PEM, using rsa2x509 |
pemencode. However, no man explains how to encode a private key to PEM.

I tried to do the opposite : generating keys as PEM using linux's openssl,
then convert them to plan9 format using pemdecode without success.

Any idea?

-- 
Jean-André Santoni

[-- Attachment #2: Type: text/html, Size: 757 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-12-25 21:31 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-12-17 22:00 [9fans] Encoding private RSA key to PEM with p9p Jean-André Santoni
2013-12-17 22:16 ` David du Colombier
2013-12-19  1:31   ` Jean-André Santoni
2013-12-19  7:28     ` David du Colombier
2013-12-24  1:31       ` Jean-André Santoni
2013-12-25 21:31         ` David du Colombier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).