Why the "--export-secret-key" switch is not listed in help screen?

Mika Suomalainen mika.henrik.mainio at hotmail.com
Sun May 6 16:11:10 CEST 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

06.05.2012 15:39, Moses kirjoitti:
> Hi,
> 
> I've notice the switch "--export-secret-key" is not listed in the
> help screen (i.e. gpg --help) and I spend a lot of time to find it.
> It seems to be one of the most used switch for backup private keys
> and sync keys between machines. Could the developer add this switch
> to the help screen? It would save users a lot of time.
> 
> Thanks.

It seems that you are right. It's not mentioned in --help, but it's
mentioned in the manual page.

> --export-secret-keys

> 

> --export-secret-subkeys

> Same  as --export, but exports the secret keys
instead.  This is
> normally not very useful and a security risk.  The
second  form
> of  the  command  has  the special property to render
the secret
> part of the primary key useless; this  is  a  GNU
extension  to
> OpenPGP  and  other  implementations can not be
expected to suc‐
> cessfully import such a key.  See the option
- --simple-sk-check‐
> sum  if  you  want  to import such an exported key
with an older
> OpenPGP implementation.
> 

I found that option by Googling for "gpg cheat sheet".

Hopefully someone else can answer this question.

PS. Sorry for weird looking paste. It's directly copy-pasted from most
and copy-pasting from pager looks weird always.

- -- 
Mika Suomalainen
gpg --keyserver pool.sks-keyservers.net --recv-keys 4DB53CFE82A46728
Key fingerprint = 24BC 1573 B8EE D666 D10A  AA65 4DB5 3CFE 82A4 6728
http://mkaysi.github.com/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJPpoZ7AAoJEE21PP6CpGcoyhEP+gJ/hWf2EnwCr6fdajXpN1cr
AXUsD4pxYMDT0dLcILlxYjCkCcUjebuimHguR6qEk/ErZB5b0eKBB0G9GrPmFhri
F5ABvwuJ5W/3chqw4rBtND3HKcMwUndwWS8+OcDcxw9FS7IIYm4uAfI40TObjvKv
7cRKKHnpT5xW/e+d6A93RDQzCGEt8FotzHBSsteNfnvEekWX+b9uMF9MqJwgS3yw
xmHs/iDuVBKONOc1Vm4pMElajhwTDwOmBJvX3IZYIZVpAOxUyD48VJCaB1r6HUwo
H21dAku3g/pPguNp/2kBRilrNFNfOXZySvN9y+r5fK5vsbSjiDeF472UiRJ5WX4z
0S0S7GspmUQJsnKgkAS0oUDKus+cVBuojrAFIIYE6wz7IVUjoravnhfVC/lm2iAm
LZA+gdU4b8rPe7GA+ANej8ySX/wEc6wMX3Lf3ZUWeLXTdrttZ4AqSFua0GHgzm8j
vJFJl2sRfj3Nvj+foS1DpW6g5mk6M9zYTQB8LN14dnjOgEFyunkQIjVwAY1mZ0bd
nRCHWAwILGA0Lp7xGBkCZgO271B9ZrVst/cyGbIUP13uOP8YW0jP3ps48DZZwZLt
9w9500xi3F4DJxtcaqVZuNPNifbDNqE8Qk1r3vqJcbNaMRYakZLAmPMxoA4Oyp/l
phPB7ggRJ9GohPrTwls0
=qtDu
-----END PGP SIGNATURE-----



More information about the Gnupg-users mailing list