summaryrefslogtreecommitdiffstats
path: root/sqv/tests/wrong-key-flags.rs
diff options
context:
space:
mode:
authorNeal H. Walfield <neal@pep.foundation>2020-06-29 16:56:55 +0200
committerNeal H. Walfield <neal@pep.foundation>2020-06-29 18:28:05 +0200
commit92c5a1612995201afbcd1b9b5b6d749cf1b2d6a7 (patch)
tree2d54c8654d014bc40e1b3a1c9a1d73d501739435 /sqv/tests/wrong-key-flags.rs
parentcd01d146546afb04fcbe493a2fa5d81077d646f4 (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.rs3
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()