Michael Rash 73bc473563 [client+server] verify GnuPG signatures by default
- [server] When GnuPG is used, the default now is to require that
incoming SPA packets are signed by a key listed in GPG_REMOTE_ID for each
access.conf stanza. In other words, the usage of GPG_REQUIRE_SIG
is no longer necessary in order to authenticate SPA packets via the
GnuPG signature. Verification of GnuPG signatures can be disabled with a
new access.conf variable GPG_DISABLE_SIG, but this is NOT a
recommended configuration.
- [client+server] Add --gpg-exe command line argument and GPG_EXE
config variable to ~/.fwknoprc and the access.conf file so that the path
to GnuPG can be changed from the default /usr/bin/gpg path.
2014-03-25 19:53:13 -04:00
..

NOTES on the generation of the fwknop man pages:

Until we decide on a better way, the man pages for 'fwknop' (client) and
'fwknopd' (server) are generated from the asciidoc sources in this directory,
then copied to their respective directories before check-in.

We use the "a2x" command to generate the inital nroff-formated version,
which is then manually edited to clean it up a bit.  The "a2x" command is:

    a2x -f manpage  fwknopd.man.asciidoc

This creates the "fwknopd.8" man page.  However, depending on the a2x and.or
asciidoc configuration on your system, you may have to edit the "fwknopd.8"
file directly to remove the "[FIXME: source/manual]" string embedded within.
At present, we simply remove them.  There may also be places where you want
items on succesive line without intervening lines (i.e. the AUTHORS section
of the generated man page).  In those cases, simply change the ".sp"
between those lines to ".br".

Generating HTML versions of the documentation:

Here are some of the commands used to create/generate HTML versions of
the fwknop documentation.

For the libfko API doc, you could just do a "make html" to create a
libfki.html directory with a reasonable set of HTML pages.  You can also
use "texi2html" which give a bit more flexibility.  For example:

    texi2html --noheader --nomenu --toc-links libfko.texi

Will generate a single HTML document. With this, the table of contents is
put at the end of the document, but it is not hard to edit the file and to
relocate it to the top.

For creating HTML versions of the man pages, simply use the "-f xhtml"
option to the "a2x" command:

    a2x -f xhtml fwknopd.man.asciidoc