Possible to use GNUPGHOME as a variable inside gpg.conf?
Doug Barton
dougb at dougbarton.us
Fri Mar 8 07:22:11 CET 2013
On 03/07/2013 05:41 AM, Werner Koch wrote:
> 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".
That would be awesome, can't wait to try it. :)
Doug
More information about the Gnupg-users
mailing list