refactor: make signing key non-optional for pk_encrypt

This commit is contained in:
link2xt
2025-12-01 01:16:01 +00:00
committed by l
parent 1ec3f45dc1
commit 5fb118e5a3
4 changed files with 30 additions and 44 deletions
+1 -1
View File
@@ -57,7 +57,7 @@ impl EncryptHelper {
let ctext = pgp::pk_encrypt(
raw_message,
keyring,
Some(sign_key),
sign_key,
compress,
anonymous_recipients,
)