mirror of
https://github.com/chatmail/core.git
synced 2026-04-24 17:06:28 +03:00
WIP: Start with decryption, and a test for it. Next TODO: SQL table migartion.
This commit is contained in:
@@ -73,8 +73,7 @@ impl EncryptHelper {
|
||||
let cursor = Cursor::new(&mut raw_message);
|
||||
mail_to_encrypt.clone().write_part(cursor).ok();
|
||||
|
||||
let ctext =
|
||||
pgp::encrypt_for_broadcast(raw_message, passphrase, Some(sign_key), compress).await?;
|
||||
let ctext = pgp::encrypt_for_broadcast(raw_message, passphrase, sign_key, compress).await?;
|
||||
|
||||
Ok(ctext)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user