Possible to use GNUPGHOME as a variable inside gpg.conf?
Werner Koch
wk at gnupg.org
Thu Mar 7 14:41:46 CET 2013
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".
Shalom-Salam,
Werner
--
Die Gedanken sind frei. Ausnahmen regelt ein Bundesgesetz.
More information about the Gnupg-users
mailing list