Red Hat Bugzilla – Bug 171877
rpmbuild --sign does not ask for pin or uses gpg-agent
Last modified: 2007-11-30 17:11:16 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050513 Galeon/1.3.21
Description of problem:
I use a smartcard for storing my gpg-keys.
When signing something I need to enter a pin instead of a passphrase.
rpmbuild --sign just asks for the passphrase. This clearly fails. It never asks for the pin.
Therefore I tried to use gpg-agent but rpmbuild does not honor gpg-agent. Even when using:
%_gpgbin "/usr/bin/gpg --use-agent"
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. use gpg-keys stored on smartcard protected by pin
2. rpmbuild -ba --sign <package>
3. Asked for passphrase would expect pin or agent
Actual Results: Asked for passphrase
Expected Results: Asked for pin or start pinentry program
*** This bug has been marked as a duplicate of 128771 ***