diff options
author | Neal H. Walfield <neal@pep.foundation> | 2022-11-11 09:32:25 +0100 |
---|---|---|
committer | Neal H. Walfield <neal@pep.foundation> | 2022-11-11 21:01:46 +0100 |
commit | 53474e58493cc10a9e021fde5ca1048a86859f2b (patch) | |
tree | 38bf36070d7aa5fb87d0e790809bad1003f5c5f2 /openpgp/tests | |
parent | 813f3f00a967eea210641103b5e64e0d31299ae6 (diff) |
openpgp: Add support for verifying v3 signatures.
- RFC 4880 explicitly allows the use of v3 signatures, but adds:
> Implementations SHOULD accept V3 signatures. Implementations
> SHOULD generate V4 signatures.
- In practice, rpm-based distributions are generating v3 signatures,
and it will be awhile before we can actually stop supporting them.
https://bugzilla.redhat.com/show_bug.cgi?id=2141686#c20
- Add support for parsing, verifying, and serializing v3
signatures (but not v3 certificates, and not generating v3
signatures!).
Diffstat (limited to 'openpgp/tests')
-rw-r--r-- | openpgp/tests/data/messages/a-cypherpunks-manifesto.txt.dennis-simon-anton-v3.sig | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/openpgp/tests/data/messages/a-cypherpunks-manifesto.txt.dennis-simon-anton-v3.sig b/openpgp/tests/data/messages/a-cypherpunks-manifesto.txt.dennis-simon-anton-v3.sig new file mode 100644 index 00000000..74aeacb5 --- /dev/null +++ b/openpgp/tests/data/messages/a-cypherpunks-manifesto.txt.dennis-simon-anton-v3.sig @@ -0,0 +1,6 @@ +-----BEGIN PGP SIGNATURE----- + +iFcDBQBjbp26R2BrGOPUXOkRCA2HAP0W6tT+3ZcqPSXPW001c6melvasBwqxOF+J +Rl+x1aevOgD+IbFwMNAX7A0QmHbPKHRSciK00Eha0FUXcZzS/Lo04cM= +=q6BQ +-----END PGP SIGNATURE----- |