-
Notifications
You must be signed in to change notification settings - Fork 381
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow gpg to get passphrase by itself.
Remove rpm asking for passphrase and then passing this passphrase to gpg via file descriptor (--passphrase-fd) but provide gpg with access to unredirected stdin to get passphrase directly from user. Remove also macro %__gpg_check_password_cmd because in this new signing scheme has no sense. rpm doesn't handle passphrase in any way, everything is done in gpg including checking of passphrase. We did this modification because of changes in gpg behavior. Since gpg-2.1 option "--passphrase-fd" doesn't work by default, only when it is explicitly allowed in gpg.conf. (rhbz:#1228234)
- Loading branch information
Lubos Kardos
committed
Jun 10, 2015
1 parent
6a8924b
commit 0bce5fc
Showing
5 changed files
with
23 additions
and
142 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters