gpg: Auto-create revocation certificates.
authorWerner Koch <wk@gnupg.org>
Wed, 25 Jun 2014 18:25:28 +0000 (20:25 +0200)
committerWerner Koch <wk@gnupg.org>
Mon, 30 Jun 2014 14:40:55 +0000 (16:40 +0200)
commit03018ef9eec75e4d91ea53c95547a77dedef8f80
treeb0d129512c829f5c94f35ce76933861bd44b1d15
parentaa5b4392aac99382d96be94782ae745e0a42484a
gpg: Auto-create revocation certificates.

* configure.ac (GNUPG_OPENPGP_REVOC_DIR): New config define.
* g10/revoke.c (create_revocation): Add arg "leadin".
(gen_standard_revoke): New.
* g10/openfile.c (get_openpgp_revocdir): New.
(open_outfile): Add MODE value 3.
* g10/keyid.c (hexfingerprint): New.
* g10/keygen.c (do_generate_keypair): Call gen_standard_revoke.
--

GnuPG-bug-id: 1042
configure.ac
doc/gpg.texi
g10/keydb.h
g10/keygen.c
g10/keyid.c
g10/main.h
g10/openfile.c
g10/passphrase.c
g10/revoke.c
tests/openpgp/Makefile.am