diff options
author | Justus Winter <justus@sequoia-pgp.org> | 2019-03-18 14:04:23 +0100 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2019-03-18 14:47:44 +0100 |
commit | 97cdc3062d88401dcc849c3f4e093a4f7b1b1226 (patch) | |
tree | 0859e06007b25e9cabbf4e9bfd7a2487ea2e8585 /tool/src | |
parent | 01db33b99244294702f0f58f06c6736becee28db (diff) |
openpgp: Make cipher algorithm configurable in streaming Encryptor.
- Fixes #208.
Diffstat (limited to 'tool/src')
-rw-r--r-- | tool/src/commands/mod.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tool/src/commands/mod.rs b/tool/src/commands/mod.rs index b5deb4a9..393bddcc 100644 --- a/tool/src/commands/mod.rs +++ b/tool/src/commands/mod.rs @@ -107,7 +107,8 @@ pub fn encrypt(store: &mut store::Store, let mut sink = Encryptor::new(message, &passwords_, &recipients, - EncryptionMode::AtRest) + EncryptionMode::AtRest, + None) .context("Failed to create encryptor")?; // Optionally sign message. |