/etc/gnugpg.d/

adrelanos adrelanos at riseup.net
Thu Mar 7 15:44:18 CET 2013


What about having /etc/gnugpg.d/ where you can drop configuration files
just you can drop them into /etc/apt/apt.conf.d/?

For example someone could make a hkps distro package, get the
certificate into the correct place and drop a configuration file to use
the certificate.

Werner Koch:
> On Tue, 26 Feb 2013 16:43, dougb at dougbarton.us said:
> 
>> keyserver-options
>> ca-cert-file=$GNUPGHOME/ca.hkps.pool.sks-keyservers.net.cert
> 
> I see that it can make sense to have such variables.  However, we will
> need to add a meta option to allow such variable substitution.  Thus if
> you want to do that you would need to use something like
> 
> enable-var-subst
> somepath $gnupghome/foo.bar
> 
> We have something similar in gpg-connect-agent, where variables have
> been added only later and thus over there you need to use /subst.
> 
> The available variables would only be those known to GnuPG and not
> arbitrary envvars.  In particular those available with "gpgconf
> --list-dirs".





More information about the Gnupg-users mailing list