[pacman-dev] [PATCH] pacman-key: compatibility with gnupg-2.1

Allan McRae allan at archlinux.org
Fri Nov 21 10:56:20 UTC 2014


From: Tobias Powalowski <tpowa at archlinux.org>

GnuPG 2.1 no longer allow empty passphrases by default.

Signed-off-by: Allan McRae <allan at archlinux.org>
---
 scripts/pacman-key.sh.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/scripts/pacman-key.sh.in b/scripts/pacman-key.sh.in
index ba8d02e..5ba0ad8 100644
--- a/scripts/pacman-key.sh.in
+++ b/scripts/pacman-key.sh.in
@@ -151,6 +151,7 @@ Key-Usage: sign
 Name-Real: Pacman Keyring Master Key
 Name-Email: pacman at localhost
 Expire-Date: 0
+%no-protection
 %commit
 %echo Done
 EOF
-- 
2.1.3


More information about the pacman-dev mailing list