WIP: Start with decryption, and a test for it. Next TODO: SQL table migartion.

This commit is contained in:
Hocuri
2025-07-07 17:41:31 +02:00
parent 7cf42a43e7
commit f10f65333b
6 changed files with 94 additions and 52 deletions

View File

@@ -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)
}