diff options
author | Justus Winter <justus@sequoia-pgp.org> | 2019-04-09 13:08:20 +0200 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2019-04-09 13:08:20 +0200 |
commit | 7c92d7381408b375d158dd3aedfa61d340ed3750 (patch) | |
tree | 1fe1a0ff202930700e9817ebb1d67b281217ece1 /openpgp/examples/decrypt-with.rs | |
parent | b372fdb81fbff4bfca997b4d271aedc6026c158c (diff) |
openpgp: Guard signature verifications with a time.
- In the streaming verifier and decryptor, check that
signatures (and binding signatures) are valid at the given time.
- Fixes #247.
Diffstat (limited to 'openpgp/examples/decrypt-with.rs')
-rw-r--r-- | openpgp/examples/decrypt-with.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openpgp/examples/decrypt-with.rs b/openpgp/examples/decrypt-with.rs index 3828e47f..908b8650 100644 --- a/openpgp/examples/decrypt-with.rs +++ b/openpgp/examples/decrypt-with.rs @@ -36,7 +36,7 @@ pub fn main() { // Now, create a decryptor with a helper using the given TPKs. let mut decryptor = - Decryptor::from_reader(io::stdin(), Helper::new(tpks)).unwrap(); + Decryptor::from_reader(io::stdin(), Helper::new(tpks), None).unwrap(); // Finally, stream the decrypted data to stdout. io::copy(&mut decryptor, &mut io::stdout()) |