diff options
author | Daniel Kahn Gillmor <dkg@fifthhorseman.net> | 2008-06-23 17:02:15 -0400 |
---|---|---|
committer | Daniel Kahn Gillmor <dkg@fifthhorseman.net> | 2008-06-23 17:02:15 -0400 |
commit | e8ac612c4bad88172c5e80fa7e813664e536a6f8 (patch) | |
tree | aa897118ec08f1cc97ae119790687786a1eeef99 /man/man1 | |
parent | a7a9be1bfc1bed96238191c5eab3e4a3c1b13b3a (diff) |
openpgp2ssh can now accept arbitrary-length key IDs (from the trivial
8 hex digit key IDs to 40 hex digits of a full fingerprint).
This moves our build dependency on gnutls to 2.4.0, which includes
subkey fingerprint calculations.
Diffstat (limited to 'man/man1')
-rw-r--r-- | man/man1/openpgp2ssh.1 | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/man/man1/openpgp2ssh.1 b/man/man1/openpgp2ssh.1 index bea1da5..6141ec5 100644 --- a/man/man1/openpgp2ssh.1 +++ b/man/man1/openpgp2ssh.1 @@ -19,11 +19,14 @@ SSH-style key on standard output. .Pp If the data on standard input contains no subkeys, you can invoke .Nm -without arguments. If the data on standard input contains -multiple keys (e.g. a primary key and associated subkeys), you must -specify a specific OpenPGP keyid (e.g. CCD2ED94D21739E9) or -fingerprint as the first argument to indicate which key to export. -The keyid must be exactly 16 hex characters. +without arguments. If the data on standard input contains multiple +keys (e.g. a primary key and associated subkeys), you must specify a +specific OpenPGP key identifier as the first argument to indicate +which key to export. The key ID is normally the 40 hex digit OpenPGP +fingerprint of the key or subkey desired, but +.Nm +will accept as few as the last 8 digits of the fingerprint as a key +ID. .Pp If the input contains an OpenPGP RSA or DSA public key, it will be converted to the OpenSSH-style single-line keystring, prefixed with @@ -78,8 +81,9 @@ Secret key output is currently not passphrase-protected. .Nm currently cannot handle passphrase-protected secret keys on input. .Pp -It would be nice to be able to use keyids shorter or longer than 16 -hex characters. +Key identifiers consisting of an odd number of hex digits are not +accepted. Users who use a key ID with a standard length of 8, 16, or +40 hex digits should not be affected by this. .Pp .Nm only acts on keys associated with the first primary key |