sequoia-sq/tests/data/messages/signed-by-only-sha1.pgp
Jens Reimann 4f73627020
Add a global option, --policy-as-of, to select a crypto policy.
- When working with older messages, it may be necessary to use a
    different cryptographic policy.  Add an option, `--policy-as-of`, to
    select the cryptographic policy that was in effect at the specified
    time.

  - Fixes #123.

Co-authored-by: Neal H. Walfield <neal@sequoia-pgp.org>
2024-10-31 15:08:55 +01:00

121 lines
7.4 KiB
Plaintext

-----BEGIN PGP MESSAGE-----
xA0DAAoBa4eC1VsZ6TIBy9NsYgAAAAAAQSBDeXBoZXJwdW5rJ3MgTWFuaWZlc3Rv
CmJ5IEVyaWMgSHVnaGVzCgpQcml2YWN5IGlzIG5lY2Vzc2FyeSBmb3IgYW4gb3Bl
biBzb2NpZXR5IGluIHRoZSBlbGVjdHJvbmljCmFnZS4gUHJpdmFjeSBpcyBub3Qg
c2VjcmVjeS4gQSBwcml2YXRlIG1hdHRlciBpcyBzb21ldGhpbmcgb25lIGRvZXNu
J3QKd2FudCB0aGUgd2hvbGUgd29ybGQgdG8ga25vdywgYnV0IGEgc2VjcmV0IG1h
dHRlciBpcyBzb21ldGhpbmcgb25lCmRvZXNuJ3Qgd2FudCBhbnlib2R5IHRvIGtu
b3cuIFByaXZhY3kgaXMgdGhlIHBvd2VyIHRvIHNlbGVjdGl2ZWx5CnJldmVhbCBv
bmVzZWxmIHRvIHRoZSB3b3JsZC4KCklmIHR3byBwYXJ0aWVzIGhhdmUgc29tZSBz
b3J0IG9mIGRlYWxpbmdzLCB0aGVuIGVhY2ggaGFzIGEgbWVtb3J5IG9mCnRoZWly
IGludGVyYWN0aW9uLiBFYWNoIHBhcnR5IGNhbiBzcGVhayBhYm91dCB0aGVpciBv
d24gbWVtb3J5IG9mCnRoaXM7IGhvdyBjb3VsZCBhbnlvbmUgcHJldmVudCBpdD8g
T25lIGNvdWxkIHBhc3MgbGF3cyBhZ2FpbnN0IGl0LCBidXQKdGhlIGZyZWVkb20g
b2Ygc3BlZWNoLCBldmVuIG1vcmUgd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