aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2022-09-22 11:57:33 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2022-09-22 12:26:16 +0200
commitdddca73694d1ecc2381cde6c02a9d1466cf0ab41 (patch)
treeb9cd9ee8f82646c16581190a305ca610a14bb463
parentemacs: Add command password-store-generate-no-symbols (diff)
downloadpassword-store-master.tar.xz
password-store-master.zip
tests: Replace short OpenPGP keyids with fingerprintsHEADmaster
Short 32-bit OpenPGP key ids are easily spoofed, so their use is strongly discouraged. The test suite uses short key ids to refer to test keys. This prevents the OpenPGP implementations from rejecting short key ids, and is a bad example for other developers to follow. This patch replaces all short key ids with fingerprints.
-rw-r--r--tests/gnupg/gpg.conf6
-rw-r--r--tests/setup.sh10
2 files changed, 8 insertions, 8 deletions
diff --git a/tests/gnupg/gpg.conf b/tests/gnupg/gpg.conf
index 60ece49..67daa58 100644
--- a/tests/gnupg/gpg.conf
+++ b/tests/gnupg/gpg.conf
@@ -1,3 +1,3 @@
-group group1 = E4691410 D774A374
-group group2 = E4691410
-group big group = CF90C77B D774A374 EB7D54A8 E4691410 39E5020C
+group group1 = 9378267629F989A0E96677B7976DD3D6E4691410 70BD448330ACF0653645B8F2B4DDBFF0D774A374
+group group2 = 9378267629F989A0E96677B7976DD3D6E4691410
+group big group = D4C78DB7920E1E27F5416B81CC9DB947CF90C77B 70BD448330ACF0653645B8F2B4DDBFF0D774A374 62EBE74BE834C2EC71E6414595C4B715EB7D54A8 9378267629F989A0E96677B7976DD3D6E4691410 4D2AFBDE67C60F5999D143AFA6E073D439E5020C
diff --git a/tests/setup.sh b/tests/setup.sh
index 20dd7ea..058ce0a 100644
--- a/tests/setup.sh
+++ b/tests/setup.sh
@@ -57,8 +57,8 @@ command -v gpg2 &>/dev/null && GPG="gpg2"
# We don't want any currently running agent to conflict.
unset GPG_AGENT_INFO
-KEY1="CF90C77B" # pass test key 1
-KEY2="D774A374" # pass test key 2
-KEY3="EB7D54A8" # pass test key 3
-KEY4="E4691410" # pass test key 4
-KEY5="39E5020C" # pass test key 5
+KEY1="D4C78DB7920E1E27F5416B81CC9DB947CF90C77B" # pass test key 1
+KEY2="70BD448330ACF0653645B8F2B4DDBFF0D774A374" # pass test key 2
+KEY3="62EBE74BE834C2EC71E6414595C4B715EB7D54A8" # pass test key 3
+KEY4="9378267629F989A0E96677B7976DD3D6E4691410" # pass test key 4
+KEY5="4D2AFBDE67C60F5999D143AFA6E073D439E5020C" # pass test key 5