diff options
author | Werner Koch <[email protected]> | 2016-07-07 15:02:58 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2016-07-07 15:35:20 +0000 |
commit | cbe467e794f3be81b8da2bcb1732b5514b13b71d (patch) | |
tree | a8e3cf01a6fbdb45bdfc0ce6d9f789f5f0e25db3 /doc/gpg.texi | |
parent | gpg: Split a too large export function. (diff) | |
download | gnupg-cbe467e794f3be81b8da2bcb1732b5514b13b71d.tar.gz gnupg-cbe467e794f3be81b8da2bcb1732b5514b13b71d.zip |
gpg: Add export options "export-pka" and "export-dane".
* g10/options.h (EXPORT_PKA_FORMAT): New.
* g10/keylist.c (list_keyblock_pka): Do not use DANE flag.
* g10/export.c: Include zb32.h.
(parse_export_options): Add options "export-pka" and "export-dane".
(do_export): Do not armor if either of these option is set.
(print_pka_or_dane_records): New.
(do_export_stream): Implement new options.
Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to '')
-rw-r--r-- | doc/gpg.texi | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/gpg.texi b/doc/gpg.texi index 11d3a65f2..ae860d7f6 100644 --- a/doc/gpg.texi +++ b/doc/gpg.texi @@ -2320,6 +2320,18 @@ opposite meaning. The options are: most recent self-signature on each user ID. This option is the same as running the @option{--edit-key} command "minimize" before export except that the local copy of the key is not modified. Defaults to no. + + @item export-pka + Instead of outputting the key material output PKA records suitable + to put into DNS zone files. An ORIGIN line is printed before each + record to allow diverting the records to the corresponding zone file. + + @item export-dane + Instead of outputting the key material output OpenPGP DANE records + suitable to put into DNS zone files. An ORIGIN line is printed before + each record to allow diverting the records to the corresponding zone + file. + @end table @item --with-colons |