gpg tries to access files outside of build tree during checks
Closed, ResolvedPublic


echo '#!/bin/sh' >./gpg_dearmor
echo "../g10/gpg --no-options --no-greeting \

--no-secmem-warning --batch --dearmor" >>./gpg_dearmor

chmod 755 ./gpg_dearmor
./gpg_dearmor > ./pubring.gpg < ./pubring.asc
gpg: keyblock resource
`/var/tmp/portage/app-crypt/gnupg-1.4.13/homedir/.gnupg/secring.gpg': file open
gpg: keyblock resource
`/var/tmp/portage/app-crypt/gnupg-1.4.13/homedir/.gnupg/pubring.gpg': file open


External Link
1.4 master
alonbl set External Link to
alonbl added a subscriber: alonbl.
alonbl set Version to 1.4 master.May 13 2013, 9:37 PM
werner added a subscriber: werner.May 15 2013, 10:46 AM

Actually, gpg should not open the keyfiles at all. Well, unless you have enabled
the SELinux hacks. In that case we better register the keyfiles. The fix seems
to be harmless and thus it makes sense to apply it.

Fix will go into 2.0.21. Thanks.

werner closed this task as Resolved.
werner claimed this task.