From 7c92d7381408b375d158dd3aedfa61d340ed3750 Mon Sep 17 00:00:00 2001 From: Justus Winter Date: Tue, 9 Apr 2019 13:08:20 +0200 Subject: 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. --- tool/src/commands/decrypt.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tool/src/commands/decrypt.rs') diff --git a/tool/src/commands/decrypt.rs b/tool/src/commands/decrypt.rs index 50dae859..8bdb6c95 100644 --- a/tool/src/commands/decrypt.rs +++ b/tool/src/commands/decrypt.rs @@ -207,7 +207,7 @@ pub fn decrypt(ctx: &Context, store: &mut store::Store, -> Result<()> { let helper = Helper::new(ctx, store, signatures, tpks, secrets, dump_session_key, dump, hex); - let mut decryptor = Decryptor::from_reader(input, helper) + let mut decryptor = Decryptor::from_reader(input, helper, None) .context("Decryption failed")?; io::copy(&mut decryptor, output) -- cgit v1.2.3