summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2015-01-28 14:26:52 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2015-01-28 14:26:52 +0100
commit4ebecb91c609d8c48a10a81aadc3f08186478fb3 (patch)
treeea0a21741f77aea7154e760221e545b9efda65db
parented24e9cdf3f3c4e3e74f6203b9ea52d9677d1ee6 (diff)
downloadpass-4ebecb91c609d8c48a10a81aadc3f08186478fb3.tar.gz
pass-4ebecb91c609d8c48a10a81aadc3f08186478fb3.tar.bz2
pass-4ebecb91c609d8c48a10a81aadc3f08186478fb3.zip
Take into account use in tests
Diffstat (limited to '')
-rwxr-xr-xtests/t0300-reencryption.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/t0300-reencryption.sh b/tests/t0300-reencryption.sh
index 96da41b..afa80df 100755
--- a/tests/t0300-reencryption.sh
+++ b/tests/t0300-reencryption.sh
@@ -7,7 +7,7 @@ cd "$(dirname "$0")"
INITIAL_PASSWORD="will this password live? a big question indeed..."
canonicalize_gpg_keys() {
- $GPG --list-keys --keyid-format long "$@" | sed -n 's/sub *.*\/\([A-F0-9]\{16\}\) .*/\1/p' | sort -u
+ $GPG --list-keys --keyid-format long --list-options show-usage "$@" | sed -n 's/sub *.*\/\([A-F0-9]\{16\}\) .*\[[A-Z]\{0,2\}E[A-Z]\{0,2\}\].*/\1/p' | 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 | sort -u