diff options
author | Neal H. Walfield <neal@pep.foundation> | 2020-06-29 16:56:55 +0200 |
---|---|---|
committer | Neal H. Walfield <neal@pep.foundation> | 2020-06-29 18:28:05 +0200 |
commit | 92c5a1612995201afbcd1b9b5b6d749cf1b2d6a7 (patch) | |
tree | 2d54c8654d014bc40e1b3a1c9a1d73d501739435 /sqv/tests/wrong-key-flags.rs | |
parent | cd01d146546afb04fcbe493a2fa5d81077d646f4 (diff) |
openpgp: Don't unnecessarily set signature subpackets.
- When using the `SignatureBuilder`, the signature creation time and
issuer subpackets will be correctly set by default.
- Don't do it explicitly.
Diffstat (limited to 'sqv/tests/wrong-key-flags.rs')
-rw-r--r-- | sqv/tests/wrong-key-flags.rs | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sqv/tests/wrong-key-flags.rs b/sqv/tests/wrong-key-flags.rs index 599725d2..222297c5 100644 --- a/sqv/tests/wrong-key-flags.rs +++ b/sqv/tests/wrong-key-flags.rs @@ -51,9 +51,6 @@ mod integration { // _ => unreachable!(), // }; // let mut b = signature::SignatureBuilder::new(SignatureType::Binary); -// b.set_signature_creation_time(time::now()).unwrap(); -// b.set_issuer_fingerprint(key.fingerprint()).unwrap(); -// b.set_issuer(key.fingerprint().into()).unwrap(); // b.sign_message( // &mut KeyPair::new(key.clone(), mpis.clone()).unwrap(), // HashAlgorithm::SHA512, b"Hello, World").unwrap() |