diff options
author | Justus Winter <justus@sequoia-pgp.org> | 2022-09-22 11:57:33 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2022-09-22 12:26:16 +0200 |
commit | dddca73694d1ecc2381cde6c02a9d1466cf0ab41 (patch) | |
tree | b9cd9ee8f82646c16581190a305ca610a14bb463 /tests/setup.sh | |
parent | 47f8d950c58949733862813f29856480a9e232c7 (diff) | |
download | pass-dddca73694d1ecc2381cde6c02a9d1466cf0ab41.tar.zst |
tests: Replace short OpenPGP keyids with fingerprints
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.
Diffstat (limited to 'tests/setup.sh')
-rw-r--r-- | tests/setup.sh | 10 |
1 files changed, 5 insertions, 5 deletions
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 |