GnuPG 2.1 beta 3 released
wk at gnupg.org
Mon Dec 26 14:42:26 CET 2011
On Sun, 25 Dec 2011 19:00, nicholas.cole at gmail.com said:
> It would be very good if there were still a way to completely 'sandox' (for
> want of a better term) an instance of gpg, so that it uses its own key
> rings and trust databases. I certainly find that for testing purposes it
> is very useful indeed. On previous versions --homedir does this nicely.
A easy way to do this is:
GNUPGHOME=/foo/bar gpg-agent --daemon sh
and then do whatever you want in this shell. If you are done run give
an exit and with a few seconds that gpg-agent will be terminated. That
is how I do almost all tests.
Die Gedanken sind frei. Ausnahmen regelt ein Bundesgesetz.
More information about the Gnupg-devel