]> git.pld-linux.org Git - packages/rpm.git/blob - rpm-gpg-pinentry.patch
- from gpg manual for --passphrase-fd option: "Since Version 2.1 the --pinentry-mode...
[packages/rpm.git] / rpm-gpg-pinentry.patch
1 diff -ruN rpm-5.4.15.orig/macros/macros rpm-5.4.15/macros/macros
2 --- rpm-5.4.15.orig/macros/macros       2014-08-17 14:02:20.000000000 +0200
3 +++ rpm-5.4.15/macros/macros    2018-09-24 15:46:44.323052200 +0200
4 @@ -519,7 +519,7 @@
5  #      signing and verification.
6  #
7  %__gpg_check_password_cmd      %{__gpg} \
8 -       gpg --batch --no-verbose --passphrase-fd 3 -u "%{_gpg_name}" -so -
9 +       gpg --batch --pinentry-mode loopback --no-verbose --passphrase-fd 3 -u "%{_gpg_name}" -so -
10  #%__pgp_check_password_cmd     %{__pgp} \
11  #      pgp +batchmode=on +verbose=0 "%{_pgp_name}" -sf
12  #%__pgp5_check_password_cmd    %{__pgp} \
13 diff -ruN rpm-5.4.15.orig/macros/macros.in rpm-5.4.15/macros/macros.in
14 --- rpm-5.4.15.orig/macros/macros.in    2014-08-09 00:40:40.000000000 +0200
15 +++ rpm-5.4.15/macros/macros.in 2018-09-24 15:46:34.807097580 +0200
16 @@ -519,7 +519,7 @@
17  #      signing and verification.
18  #
19  %__gpg_check_password_cmd      %{__gpg} \
20 -       gpg --batch --no-verbose --passphrase-fd 3 -u "%{_gpg_name}" -so -
21 +       gpg --batch --pinentry-mode loopback --no-verbose --passphrase-fd 3 -u "%{_gpg_name}" -so -
22  #%__pgp_check_password_cmd     %{__pgp} \
23  #      pgp +batchmode=on +verbose=0 "%{_pgp_name}" -sf
24  #%__pgp5_check_password_cmd    %{__pgp} \
This page took 0.085048 seconds and 3 git commands to generate.