From 048f1431c3cb5e0e4dd3e2154b19f9c4854c5690 Mon Sep 17 00:00:00 2001 From: Nikos Mavrogiannopoulos Date: Fri, 12 Oct 2012 17:35:49 +0200 Subject: [PATCH] Added danetool manpage --- doc/invoke-danetool.texi | 7 ++++++- doc/manpages/Makefile.am | 8 ++++++++ src/danetool-args.c | 2 +- src/danetool-args.def | 5 +++++ src/danetool-args.h | 2 +- 5 files changed, 21 insertions(+), 3 deletions(-) diff --git a/doc/invoke-danetool.texi b/doc/invoke-danetool.texi index 63b90cea2..64ee89b9f 100644 --- a/doc/invoke-danetool.texi +++ b/doc/invoke-danetool.texi @@ -7,7 +7,7 @@ # # DO NOT EDIT THIS FILE (invoke-danetool.texi) # -# It has been AutoGen-ed October 12, 2012 at 09:27:38 AM by AutoGen 5.16 +# It has been AutoGen-ed October 12, 2012 at 05:34:36 PM by AutoGen 5.16 # From the definitions ../src/danetool-args.def # and the template file agtexi-cmd.tpl @end ignore @@ -222,3 +222,8 @@ $ certtool --tlsa-rr --host www.example.com --load-certificate cert.pem \ --ca @end example +To read a server's DANE TLSA entry, using the dig tool, use: +@example +$ dig +short TYPE52 _443._tcp.www.example.com +@end example + diff --git a/doc/manpages/Makefile.am b/doc/manpages/Makefile.am index ab2566acd..1ef5a792a 100644 --- a/doc/manpages/Makefile.am +++ b/doc/manpages/Makefile.am @@ -27,6 +27,9 @@ dist_man_MANS = gnutls-cli.1 gnutls-cli-debug.1 gnutls-serv.1 \ if ENABLE_SRP dist_man_MANS += srptool.1 endif +if ENABLE_DANE +dist_man_MANS += danetool.1 +endif # Note that our .def files depend on autogen # supporting the @subheading texi keyword. This @@ -44,6 +47,11 @@ ocsptool.1: ../../src/ocsptool-args.def autogen -DMAN_SECTION=1 -Tagman-cmd.tpl "$<".tmp && \ rm -f "$<".tmp +danetool.1: ../../src/danetool-args.def + -sed 's/@subheading \(.*\)/@*\n@var{\1}\n@*/' $< > "$<".tmp && \ + autogen -DMAN_SECTION=1 -Tagman-cmd.tpl "$<".tmp && \ + rm -f "$<".tmp + gnutls-cli.1: ../../src/cli-args.def -sed 's/@subheading \(.*\)/@*\n@var{\1}\n@*/' $< > "$<".tmp && \ autogen -DMAN_SECTION=1 -Tagman-cmd.tpl "$<".tmp && \ diff --git a/src/danetool-args.c b/src/danetool-args.c index c89443c7f..826691aef 100644 --- a/src/danetool-args.c +++ b/src/danetool-args.c @@ -2,7 +2,7 @@ * * DO NOT EDIT THIS FILE (danetool-args.c) * - * It has been AutoGen-ed October 12, 2012 at 09:16:57 AM by AutoGen 5.16 + * It has been AutoGen-ed October 12, 2012 at 05:34:29 PM by AutoGen 5.16 * From the definitions danetool-args.def * and the template file options * diff --git a/src/danetool-args.def b/src/danetool-args.def index 0e8f74fa9..d13e52a18 100644 --- a/src/danetool-args.def +++ b/src/danetool-args.def @@ -144,6 +144,11 @@ In order to create a record for the signer of your certificate use: $ certtool --tlsa-rr --host www.example.com --load-certificate cert.pem \ --ca @end example + +To read a server's DANE TLSA entry, using the dig tool, use: +@example +$ dig +short TYPE52 _443._tcp.www.example.com +@end example _EOT_; }; diff --git a/src/danetool-args.h b/src/danetool-args.h index cb4ad9707..cb2bf7513 100644 --- a/src/danetool-args.h +++ b/src/danetool-args.h @@ -2,7 +2,7 @@ * * DO NOT EDIT THIS FILE (danetool-args.h) * - * It has been AutoGen-ed October 12, 2012 at 09:16:57 AM by AutoGen 5.16 + * It has been AutoGen-ed October 12, 2012 at 05:34:29 PM by AutoGen 5.16 * From the definitions danetool-args.def * and the template file options * -- 2.11.4.GIT