mirror of
https://github.com/chatmail/core.git
synced 2026-10-01 18:50:39 +03:00
Make pk_decrypt synchronous
This commit is contained in:
+1
-1
@@ -215,7 +215,7 @@ async fn decrypt_part(
|
||||
|
||||
if has_decrypted_pgp_armor(&data) {
|
||||
let (plain, ret_valid_signatures) =
|
||||
pgp::pk_decrypt(data, private_keyring, &public_keyring_for_validate).await?;
|
||||
pgp::pk_decrypt(data, private_keyring, &public_keyring_for_validate)?;
|
||||
|
||||
// Check for detached signatures.
|
||||
// If decrypted part is a multipart/signed, then there is a detached signature.
|
||||
|
||||
Reference in New Issue
Block a user