From cd03ac0a10a43efa3ebf4a8d48a759e26f2e0f0a Mon Sep 17 00:00:00 2001 From: Daniel Kahn Gillmor Date: Fri, 18 Jan 2013 15:22:54 -0500 Subject: enable openpgp2pem as well from keytrans --- man/man1/openpgp2ssh.1 | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'man') diff --git a/man/man1/openpgp2ssh.1 b/man/man1/openpgp2ssh.1 index 304a442..6ac8f92 100644 --- a/man/man1/openpgp2ssh.1 +++ b/man/man1/openpgp2ssh.1 @@ -1,5 +1,5 @@ .\" -*- nroff -*- -.Dd $Mdocdate: March 1, 2009 $ +.Dd $Mdocdate: January 18, 2013 $ .Dt OPENPGP2SSH 1 .Os .Sh NAME @@ -10,12 +10,14 @@ openpgp2ssh .Pp .Nm gpg \-\-export $KEYID | openpgp2ssh $KEYID .Pp +.Nm gpg \-\-export $KEYID | openpgp2pem $KEYID +.Pp .Nm gpg \-\-export\-secret\-key $KEYID | openpgp2ssh $KEYID .Sh DESCRIPTION .Nm takes an OpenPGP-formatted primary key and associated subkeys on standard input, and spits out the requested equivalent -SSH-style key on standard output. +SSH-style (or PEM-encoded) key on standard output. .Pp If the data on standard input contains no subkeys, you can invoke .Nm @@ -31,7 +33,9 @@ ID. If the input contains an OpenPGP RSA public key, it will be converted to the OpenSSH-style single-line keystring, prefixed with the key type (`ssh\-rsa'). This format is suitable (with minor alterations) for -insertion into known_hosts files and authorized_keys files. +insertion into known_hosts files and authorized_keys files. If +invoked as `openpgp2pem', a PEM-encoded public key will be emitted +instead. .Pp If the input contains an OpenPGP RSA secret key, it will be converted to the equivalent PEM-encoded private key. -- cgit v1.2.3