refactor: make signing key non-optional for pk_encrypt

This commit is contained in:
link2xt
2025-11-30 05:25:39 +00:00
committed by l
parent 1ec3f45dc1
commit 5fb118e5a3
4 changed files with 30 additions and 44 deletions

View File

@@ -57,7 +57,7 @@ impl EncryptHelper {
let ctext = pgp::pk_encrypt(
raw_message,
keyring,
Some(sign_key),
sign_key,
compress,
anonymous_recipients,
)