[Pkg-gnupg-maint] Bug#725889: regression: gpg: fatal: can't open trustdb.gpg: No such file or directory

Bill Allombert Bill.Allombert at math.u-bordeaux1.fr
Wed Oct 9 21:11:29 UTC 2013


On Wed, Oct 09, 2013 at 02:17:03PM -0600, Bob Proulx wrote:
>   rm -f /tmp/testdata.gpg
>   echo foo > /tmp/testdata
>   mkdir /tmp/gpgtesthome
>   chmod go-rwx /tmp/gpgtesthome
>   gpg --quiet --batch --armor --no-options --no-default-keyring --trust-model=always --homedir /tmp/gpgtesthome --keyring /usr/share/keyrings/debian-keyring.gpg --recipient E1C21845 --output /tmp/testdata.asc --encrypt /tmp/testdata
> 
> Version 1.4.14-1 is quiet.  Version 1.4.15-1 emits:
> 
>   gpg: fatal: can't open `/tmp/gpgtesthome/trustdb.gpg': No such file or directory
>   secmem usage: 1408/1408 bytes in 2/2 blocks of pool 1408/32768

Thanks Bob for your simpler test-case.
Also the following also fails

gpg --trust-model=always --homedir /tmp/gpgtesthome --keyring /usr/share/keyrings/debian-keyring.gpg --recipient E1C21845 --output /tmp/testdata.asc --encrypt /tmp/testdata

but it works once --trust-model=always is removed. 

I wonder if this is not related to this change:
http://git.gnupg.org/cgi-bin/gitweb.cgi?p=gnupg.git;a=commit;h=a1a59e6a539e597996976d0afb6aa3062e954188

Cheers,
-- 
Bill. <ballombe at debian.org>

Imagine a large red swirl here. 



More information about the Pkg-gnupg-maint mailing list