Hi Damien, On 10.03.2019 21:50, Damien Goutte-Gattat writes: > On Sun, Mar 10, 2019 at 01:25:41AM -0500, Konstantin Boyandin wrote: >> Question: how do I keep several GnuPG versions installed, every >> version with its own gpg-agent? > > A Gpg-agent is tied to a specific home directory (as specified in the > GNUPGHOME environment variable or through the --homedir option of gpg), > so all you have to is to make sure you use a separate home directory for > each version you want to use. > > For example, assuming you have installed version X of GnuPG under > $HOME/myprogs/gnupg-X, create a directory to use as the home directory > for that version (say, $HOME/gnupg-homes/X), then you can start using > that version by running the following: > > PATH=$HOME/myprogs/gnupg-X/bin:$PATH > export GNUPGHOME=$HOME/gnupg-homes/X > $SHELL -i > > You'll start a new shell in which all GnuPG invocations will use the > binaries from the X version and the keyrings and other associated files > from the indicated home directory. Simply exit that shell to use again > your system-provided GnuPG in the normal home directory.
Thanks for the pieces of advice, I'll try that shortly. I'd also like to share the same keys among all 2.2.* versions - I'll check how to do that with as little ado as possible. Sincerely, Konstantin _______________________________________________ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-users