1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-06-10 23:49:50 +02:00
gnupg/doc/examples
Werner Koch 76cd64a5ba
gpgconf: New command --apply-profile.
* tools/gpgconf.c (aApplyProfile): New.
(opts): New command --apply-profile.
(main): Implement that command.
* tools/gpgconf-comp.c (option_check_validity): Add arg VERBATIM.
(change_options_program): Ditto.
(change_one_value): Ditto.
(gc_component_change_options): Ditto.
(gc_apply_profile): New.

--

Here is an example for a profile

--8<---------------cut here---------------start------------->8---
# foo.prf - Sample profile

[gpg]
compliance de-vs
default-new-key-algo brainpoolP256r1+brainpoolP256r1

[gpgsm]
enable-crl-checks

[gpg-agent]
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]
keyserver hkp://keys.gnupg.net
allow-ocsp
--8<---------------cut here---------------end--------------->8---

Note that flags inside of brackets are allowed after the option name.
The only defined flag for now is "[default]".  In case the value
starts with a bracket, it is possible to insert "[]" as a nop-flag.

Signed-off-by: Werner Koch <wk@gnupg.org>
2016-12-16 16:05:02 +01:00
..
systemd-user doc: Include config examples for socket-activated user services. 2016-11-11 08:44:51 +01:00
gpgconf.conf gpgconf: New command --apply-profile. 2016-12-16 16:05:02 +01:00
pwpattern.list Implemented more gpg-agen options to support certain passphrase policies. 2007-08-27 18:10:27 +00:00
README doc: Include config examples for socket-activated user services. 2016-11-11 08:44:51 +01:00
scd-event doc fixes 2006-09-08 17:02:06 +00:00
trustlist.txt add new certifciates 2008-06-25 11:14:48 +00:00

Files in this directory:


scd-event       A handler script used with scdaemon

trustlist.txt   A list of trustworthy root certificates
                (Please check yourself whether you actually trust them)

gpgconf.conf    A sample configuration file for gpgconf.

systemd-user    Sample files for a Linux-only init system.