gpg use in Debian popcon

Werner Koch wk at gnupg.org
Fri Aug 2 08:55:05 CEST 2013


On Thu,  1 Aug 2013 20:40, Bill.Allombert at math.u-bordeaux1.fr said:

> gpg: keyblock resource `/root/.gnupg/secring.gpg': file open error

I did a quick test:

  $ fortune | gpg --no-options --homedir=$(pwd) --no-default-keyring \
    --keyring ~/.gnupg/pubring.gpg --secret-keyring /dev/null \
    --no-random-seed-file --always-trust -eavr wk at gnupg.org

If used in an empty directory it only creates one file: trustdb.gpg.  I
thinkl it is pissible to do something about that.  The hack with using
/dev/null for the secret keyring would only fail if gpg actually needs
to access the secret keys because then it won't be able to lock
/dev/null.


Salam-Shalom,

   Werner


-- 
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.




More information about the Gnupg-users mailing list