[NOOB] Export subkey

Ben McGinnes ben at adversary.org
Mon Aug 27 20:39:19 CEST 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On 28/08/12 1:17 AM, Arthur Rance wrote:
> Hello,
> 
> I'm a noob and I'm going to export a subkey :
> 
> $ gpg --list-keys
> 
> pub   2048R/12345678 2010-01-01 uid                  Arthur Rance
> <arthur_rance at noob.com> sub   2048R/90123456 2010-01-01 sub
> 2048R/78901234 2012-08-27
> 
> $ gpg --export --armor 78901234 > 78901234.txt
> 
> $ gpg --export --armor 12345678 > 12345678.txt
> 
> $ diff 78901234.txt 12345678.txt
> 
> Why is there no difference between the subkey and my public key ?

Because --export is for exporting your public key and GPG recognises
the IDs of the subkeys as belonging to 12345678.  The public key won't
change even if you delete your master key and only use the subkeys on
a day to day basis.


Regards,
Ben
-----BEGIN PGP SIGNATURE-----

iQGcBAEBCgAGBQJQO77WAAoJEH/y03E1x1U8KngL/RCoH52bds0qlvkzyYaWAqXn
ZvTyqkHgdCCGfT7yIagtNqDYEOlZocp9i3Hf9XzfzZWrjmZnwPnB1pL7w82HJq9v
cWoS6XewOOUpXfD3KEiBnX+cb+jTAyQiNi7BAFwNYDcIxRN5wnR6URCPgnszz3D8
YVfLSFVf14+pmOsojJpK6EvkR2j03T87oGI/5Q69EytYVO/i+n4ldB22reTnsmZA
Y6FIYDBfK3Z3GGZjT3Hs7MADrzGYSRlM1y5lFxke+Ddax7RBi91+iHW3y/RnDnkP
J9iTp/oKY54YXjMVw5t1pxYIz/VQijlj9b31/6jgQvg6OKGKtgS7soBNhUScs5aX
HSFRvAmsVTv32IuEfNS9HKMvt/l5cguuybMjBtDBipN8eCWq/D4FV1RJEAFT5dZm
59vv5k4jxKPDzvWJx0PL4OH/C0FaC2/uAxx7/3q9L7O0Tau7GGCkR5EQ2R2ofsSM
1VMlh0xA0FDpj6XMgQ7h+dEvMF5A6+cV/bhzxP5xLQ==
=My2u
-----END PGP SIGNATURE-----



More information about the Gnupg-users mailing list