Export just one subkey?

Jack Bates di44vq at nottheoilrig.com
Wed Apr 3 17:15:49 CEST 2013

On 02/04/13 01:15 PM, Hauke Laging wrote:
> Am Di 02.04.2013, 07:53:17 schrieb Jack Bates:
>> How do I export just one subkey?
>>     $ gpg --export-options export-reset-subkey-passwd
>> --export-secret-subkeys 6E0282A9 | ssh
>> ec2-54-224-80-64.compute-1.amazonaws.com gpg --import
> [...] --export-secret-subkeys 6E0282A9\! [...]
> The \ is just for the shell and not always necessary.

Thank you very much for your help, that works. And I now see that it is 
documented in the man page:

   When  using gpg an exclamation mark (!) may be appended to force
   using the specified primary or secondary key and not to try  and
   calculate which primary or secondary key to use.

More information about the Gnupg-users mailing list