On 16/03/2019 11:11, Wolfgang Traylor wrote: > $ gpg2 --export-ssh-key <subkey ID>
Actually, if you want a specific subkey, you need to append a ! to the key ID (probably need to quote it as well for the shell, \! ). Otherwise, GnuPG will use key selection rules to take the latest authentication subkey from the certificate selected. It's a fine and simple method. The advantage of my method is it will also work with keys that aren't part of an OpenPGP key :-). Plus it's more fun. HTH, Peter. -- I use the GNU Privacy Guard (GnuPG) in combination with Enigmail. You can send me encrypted mail if you want some privacy. My key is available at <http://digitalbrains.com/2012/openpgp-key-peter>
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-users