diff options
author | Justus Winter <justus@sequoia-pgp.org> | 2020-03-10 11:44:51 +0100 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2020-03-10 11:44:51 +0100 |
commit | b715ff5818341f99241d706f9db7f344f1e2924c (patch) | |
tree | 54b52984435c77f4fa752898c78ccc270ac6ec5f /openpgp/tests | |
parent | 7b3d251025dfbe8c22be3e7456cae4af009d5696 (diff) |
openpgp: Fix keygrip computation.
- If we strip the opaque encoding marker, preserve any leading
zeros.
- Fixes #439.
Diffstat (limited to 'openpgp/tests')
-rw-r--r-- | openpgp/tests/data/keys/keygrip-issue-439.pgp | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/openpgp/tests/data/keys/keygrip-issue-439.pgp b/openpgp/tests/data/keys/keygrip-issue-439.pgp new file mode 100644 index 00000000..77fabe1a --- /dev/null +++ b/openpgp/tests/data/keys/keygrip-issue-439.pgp @@ -0,0 +1,20 @@ +-----BEGIN PGP PUBLIC KEY BLOCK----- +Comment: 597B 1FEA 9F1B 91F6 749E 8A24 652C C528 EBDA 1B20 +Comment: someone@example.org + +xjMEXmdlURYJKwYBBAHaRw8BAQdAcTqgXpNXOpcVvOKLTk96xTaI94yKFQCmsg8H +BEE2GavCfgQfFgoAMAIeAQKbAQWCXmdlURYhBFl7H+qfG5H2dJ6KJGUsxSjr2hsg +CRBlLMUo69obIAIVCgAAZjoBAN3J3fcR/17Vf3sV4boT148dWBAWy93G+QayJw20 +MeTZAP9toojynXk7gsVIDvymiy0ZXd0xMdcrt7nIZqilfcRkC80Tc29tZW9uZUBl +eGFtcGxlLm9yZ8J+BBMWCgAwAh4BApsBBYJeZ2VRAhUKFiEEWXsf6p8bkfZ0nook +ZSzFKOvaGyAJEGUsxSjr2hsgAAA1KwEAwIvRcmPbcxP5zUsdp1JYqVfJ8ZkbSL7j +l3Nkgqh1M4UA/AoQ23Sp5EeaWBvLDxsuOfEyckW7eCYASUrDt8AiTdgFzjMEXmdl +URYJKwYBBAHaRw8BAQdAAD1jpsGaBevW1oKrkH0cWX3T5kG9fCw8tBlGpqO9CtLC +wDUEGBYKADAFgl5nZVECHgECmwICFQoWIQRZex/qnxuR9nSeiiRlLMUo69obIAkQ +ZSzFKOvaGyAAd3agBBkWCgAnBYJeZ2VRFiEEcUfrLFSK74fkJblUPvmGf3BztokJ +ED75hn9wc7aJAADRZgD+L9FJ+DRoisSSG/Xq9HtayrvshN6OAUo5cJPNe/5yK4EA +/1yDWKsBnPq3IqgIQha25sX29VyYH1QVN+O5Uyh0E2IIvcYA/2WC7piUoxuTFas7 +Sagq7TzQ5TCw59Oi16N7jF4Bs0HTAQCDSlVsT8+JQsVMEiz/5UtVCYbtPVp54StW +axr5TiWcBQ== +=o84l +-----END PGP PUBLIC KEY BLOCK----- |