doc: Add two example profiles.
authorWerner Koch <wk@gnupg.org>
Mon, 3 Apr 2017 14:53:01 +0000 (16:53 +0200)
committerWerner Koch <wk@gnupg.org>
Mon, 3 Apr 2017 14:54:43 +0000 (16:54 +0200)
--

doc/Makefile.am
doc/examples/debug.prf [new file with mode: 0644]
doc/examples/vsnfd.prf [new file with mode: 0644]

index 0c2f2c9..0c78284 100644 (file)
@@ -22,6 +22,7 @@ AM_CPPFLAGS =
 include $(top_srcdir)/am/cmacros.am
 
 examples = examples/README examples/scd-event examples/trustlist.txt   \
+          examples/vsnfd.prf examples/debug.prf                        \
           examples/systemd-user/README                                 \
           examples/systemd-user/dirmngr.service                        \
           examples/systemd-user/dirmngr.socket                         \
diff --git a/doc/examples/debug.prf b/doc/examples/debug.prf
new file mode 100644 (file)
index 0000000..f635fc8
--- /dev/null
@@ -0,0 +1,29 @@
+# debug.prf - Configure options for easier debugging       -*- conf -*-
+#
+# Note that the actual debug options for each component need to be set
+# manually.  Running the component with "--debug help" shows a list of
+# supported values.  To watch the logs this command can be used:
+#
+#   watchgnupg --time-only --force $(gpgconf --list-dirs socketdir)/S.log
+#
+
+[gpg]
+log-file socket://
+verbose
+#debug ipc
+
+[gpgsm]
+log-file socket://
+verbose
+#debug ipc
+
+[gpg-agent]
+log-file socket://
+verbose
+#debug ipc
+#debug-pinentry
+
+[dirmngr]
+log-file socket://
+verbose
+#debug ipc,dns
diff --git a/doc/examples/vsnfd.prf b/doc/examples/vsnfd.prf
new file mode 100644 (file)
index 0000000..17c6d4c
--- /dev/null
@@ -0,0 +1,21 @@
+# vsnfd.prf - Configure options for the VS-NfD mode           -*- conf -*-
+
+[gpg]
+compliance de-vs
+default-new-key-algo brainpoolP256r1+brainpoolP256r1
+
+[gpgsm]
+enable-crl-checks
+
+[gpg-agent]
+enable-extended-key-format
+default-cache-ttl 900
+max-cache-ttl [] 3600
+no-allow-mark-trusted
+no-allow-external-cache
+enforce-passphrase-constraints
+min-passphrase-len 9
+min-passphrase-nonalpha 0
+
+[dirmngr]
+allow-ocsp