Hello community, here is the log from the commit of package password-store for openSUSE:Factory checked in at 2017-03-21 22:51:09 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/password-store (Old) and /work/SRC/openSUSE:Factory/.password-store.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "password-store" Tue Mar 21 22:51:09 2017 rev:5 rq:481393 version:1.7 Changes: -------- --- /work/SRC/openSUSE:Factory/password-store/password-store.changes 2017-03-16 09:51:50.427196686 +0100 +++ /work/SRC/openSUSE:Factory/.password-store.new/password-store.changes 2017-03-21 22:51:09.825086800 +0100 @@ -1,0 +2,6 @@ +Mon Mar 20 14:59:28 UTC 2017 - wer...@suse.de + +- Update password-store-gpg-2.1.patch to upstream version done + by Andreas Stieger + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ password-store.spec ++++++ --- /var/tmp/diff_new_pack.6Kb42w/_old 2017-03-21 22:51:10.448998597 +0100 +++ /var/tmp/diff_new_pack.6Kb42w/_new 2017-03-21 22:51:10.452998031 +0100 @@ -63,7 +63,7 @@ %prep %setup -q -%patch0 -p0 +%patch0 -p1 %build ++++++ password-store-gpg-2.1.patch ++++++ --- /var/tmp/diff_new_pack.6Kb42w/_old 2017-03-21 22:51:10.476994638 +0100 +++ /var/tmp/diff_new_pack.6Kb42w/_new 2017-03-21 22:51:10.476994638 +0100 @@ -1,27 +1,47 @@ +From 8723d8e8192683891904aff321446b0fac37d1ad Mon Sep 17 00:00:00 2001 +From: Andreas Stieger <astie...@suse.com> +Date: Fri, 10 Mar 2017 15:43:26 +0100 +Subject: [PATCH] Fix compatibility with GnuPG 2.2.19 + +GnuPG 2.2.19 added a warning when no command was given. + +* src/password-store.sh (reencrypt_path): Add --decrypt to --list-only +* tests/t0300-reencryption.sh (gpg_keys_from_encrypted_file): same + +https://bugs.gnupg.org/gnupg/msg9873 +http://git.gnupg.org/cgi-bin/gitweb.cgi?p=gnupg.git;a=commit;h=810adfd47801fc01e45fb71af9f05c91f7890cdb +https://bugzilla.suse.com/show_bug.cgi?id=1028867 --- - src/password-store.sh | 2 +- - tests/t0300-reencryption.sh | 2 +- + src/password-store.sh | 2 +- + tests/t0300-reencryption.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) ---- src/password-store.sh -+++ src/password-store.sh 2017-03-10 13:12:47.313755888 +0000 +diff --git a/src/password-store.sh b/src/password-store.sh +index 1ab6fb5..bad8d4f 100755 +--- a/src/password-store.sh ++++ b/src/password-store.sh @@ -125,7 +125,7 @@ reencrypt_path() { done gpg_keys="$($GPG $PASSWORD_STORE_GPG_OPTS --list-keys --with-colons "${GPG_RECIPIENTS[@]}" | sed -n 's/sub:[^:]*:[^:]*:[^:]*:\([^:]*\):[^:]*:[^:]*:[^:]*:[^:]*:[^:]*:[^:]*:[a-zA-Z]*e[a-zA-Z]*:.*/\1/p' | LC_ALL=C sort -u)" fi - current_keys="$($GPG $PASSWORD_STORE_GPG_OPTS -v --no-secmem-warning --no-permission-warning --list-only --keyid-format long "$passfile" 2>&1 | cut -d ' ' -f 5 | LC_ALL=C sort -u)" -+ current_keys="$($GPG $PASSWORD_STORE_GPG_OPTS --no-secmem-warning --no-permission-warning --list-packets --list-only --keyid-format long "$passfile" | sed -n '/^:pubkey/{ s/.*keyid //p }' | LC_ALL=C sort -u)" ++ current_keys="$($GPG $PASSWORD_STORE_GPG_OPTS -v --no-secmem-warning --no-permission-warning --decrypt --list-only --keyid-format long "$passfile" 2>&1 | cut -d ' ' -f 5 | LC_ALL=C sort -u)" if [[ $gpg_keys != "$current_keys" ]]; then echo "$passfile_display: reencrypting to ${gpg_keys//$'\n'/ }" ---- tests/t0300-reencryption.sh -+++ tests/t0300-reencryption.sh 2017-03-10 13:18:48.386924255 +0000 +diff --git a/tests/t0300-reencryption.sh b/tests/t0300-reencryption.sh +index 9d46580..6d5811d 100755 +--- a/tests/t0300-reencryption.sh ++++ b/tests/t0300-reencryption.sh @@ -10,7 +10,7 @@ canonicalize_gpg_keys() { $GPG --list-keys --with-colons "$@" | sed -n 's/sub:[^:]*:[^:]*:[^:]*:\([^:]*\):[^:]*:[^:]*:[^:]*:[^:]*:[^:]*:[^:]*:[a-zA-Z]*e[a-zA-Z]*:.*/\1/p' | LC_ALL=C sort -u } gpg_keys_from_encrypted_file() { - $GPG -v --no-secmem-warning --no-permission-warning --list-only --keyid-format long "$1" 2>&1 | cut -d ' ' -f 5 | LC_ALL=C sort -u -+ $GPG --no-secmem-warning --no-permission-warning --list-packets --list-only --keyid-format long "$1" | sed -n '/^:pubkey/{ s/.*keyid //p }' | LC_ALL=C sort -u ++ $GPG -v --no-secmem-warning --no-permission-warning --decrypt --list-only --keyid-format long "$1" 2>&1 | cut -d ' ' -f 5 | LC_ALL=C sort -u } gpg_keys_from_group() { local output="$($GPG --list-config --with-colons | sed -n "s/^cfg:group:$1:\\(.*\\)/\\1/p" | head -n 1)" +-- +2.12.0 +