summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2015-10-08 15:04:45 +0200
committerWerner Koch <wk@gnupg.org>2015-10-08 15:40:53 +0200
commitd7b8e76f9930750d669405dee3108c9bc8e87b91 (patch)
tree33752ea1c1a0ced1c8582f624611138afa16b8b9 /doc
parentFix two unused/possible-uninitialized var warnings. (diff)
downloadgnupg2-d7b8e76f9930750d669405dee3108c9bc8e87b91.tar.xz
gnupg2-d7b8e76f9930750d669405dee3108c9bc8e87b91.zip
gpg: Add option --print-dane-records.
* g10/options.h (opt): Add field "print_dane_records". * g10/gpg.c (oPrintDANERecords): new. (opts): Add --print-dane-records. (main): Set that option. * g10/export.c (do_export): Remove EXPORT_DANE_FORMAT handling. (do_export_stream): Add EXPORT_DANE_FORMAT handling. * g10/keylist.c (list_keyblock_pka): Implement DANE record printing. * g10/gpgv.c (export_pubkey_buffer): New stub. * g10/test-stubs.c (export_pubkey_buffer): New stub. Signed-off-by: Werner Koch <wk@gnupg.org>
Diffstat (limited to 'doc')
-rw-r--r--doc/gpg.texi7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/gpg.texi b/doc/gpg.texi
index 980d32643..35291a821 100644
--- a/doc/gpg.texi
+++ b/doc/gpg.texi
@@ -2039,6 +2039,13 @@ Modify the output of the list commands to print 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 --print-dane-records
+@opindex print-dane-records
+Modify the output of the list commands to print 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.
+
@item --fixed-list-mode
@opindex fixed-list-mode
Do not merge primary user ID and primary key in @option{--with-colon}