diff options
Diffstat (limited to 'sq/src/commands/decrypt.rs')
-rw-r--r-- | sq/src/commands/decrypt.rs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sq/src/commands/decrypt.rs b/sq/src/commands/decrypt.rs index 07adabe6..a2d24514 100644 --- a/sq/src/commands/decrypt.rs +++ b/sq/src/commands/decrypt.rs @@ -275,7 +275,8 @@ impl<'a> DecryptionHelper for Helper<'a> { } pub fn decrypt(ctx: &Context, policy: &dyn Policy, mapping: &mut store::Mapping, - input: &mut dyn io::Read, output: &mut dyn io::Write, + input: &mut (dyn io::Read + Sync + Send), + output: &mut dyn io::Write, signatures: usize, certs: Vec<Cert>, secrets: Vec<Cert>, dump_session_key: bool, dump: bool, hex: bool) @@ -299,7 +300,8 @@ pub fn decrypt(ctx: &Context, policy: &dyn Policy, mapping: &mut store::Mapping, pub fn decrypt_unwrap(ctx: &Context, policy: &dyn Policy, mapping: &mut store::Mapping, - input: &mut dyn io::Read, output: &mut dyn io::Write, + input: &mut (dyn io::Read + Sync + Send), + output: &mut dyn io::Write, secrets: Vec<Cert>, dump_session_key: bool) -> Result<()> { |