It's more GNU/Linux than GnuPG

amuza amuza at
Wed Feb 13 18:27:00 CET 2019


I have two GNU/Linux computers syncing their ~/.gnupg directories.
"alice" is my username in one computer, "bob" is my username in the
other one.

I have a CA certificate stored in my home directory of both computers,
and would like to keep it there.

Into the ~/.gnupg/gpg.conf file, I wrote the following line pointing to
that CA cert:

	keyserver-options ca-cert-file=~/keyserverCA.pem

But that line does not seem to work because of "~".

Everything works ok in one computer if I write:

	keyserver-options ca-cert-file=/home/alice/keyserverCA.pem

and in the other computer if I write:

	keyserver-options ca-cert-file=/home/bob/keyserversCA.pem

But then, by specifying names, when syncing, that line won't work in one
of the two computers because of the usernames.

Is there any way to specify "user" without writing their name?

Any other suggestion?

Thank you

More information about the Gnupg-users mailing list