diff options
author | Justus Winter <justus@sequoia-pgp.org> | 2023-07-06 18:24:59 +0200 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2023-07-06 20:22:58 +0200 |
commit | 9cde4b27309582715edc0692501a5df9d62c9f17 (patch) | |
tree | f909f071e9660316f94f04f41da5f6dac18630d5 /openpgp/tests | |
parent | 00a2fc56ed639ae0210e44f53ba4fe474fdb79c0 (diff) |
openpgp: Fix hashing v3 signatures.
- The high-level hashing functions are implemented on
SignatureFields (so that we can use them from the
SignatureBuilder). Unfortunately, when those functions invoke
SignatureFields::hash, the type encoding the packet version has
been erased.
- Recover the version at runtime and dispatch to the right hashing
function.
Diffstat (limited to 'openpgp/tests')
-rw-r--r-- | openpgp/tests/data/keys/pgp5-dsa-elg-v3-subkey-binding.pgp | bin | 0 -> 701 bytes |
1 files changed, 0 insertions, 0 deletions
diff --git a/openpgp/tests/data/keys/pgp5-dsa-elg-v3-subkey-binding.pgp b/openpgp/tests/data/keys/pgp5-dsa-elg-v3-subkey-binding.pgp Binary files differnew file mode 100644 index 00000000..7a51c1db --- /dev/null +++ b/openpgp/tests/data/keys/pgp5-dsa-elg-v3-subkey-binding.pgp |