No clippy warnings anymore!

This commit is contained in:
Hocuri
2025-08-07 16:52:28 +02:00
parent 5da6ca1ec4
commit 3d5e97eced
5 changed files with 25 additions and 18 deletions

View File

@@ -56,8 +56,8 @@ impl EncryptHelper {
println!(
"\nEncrypting pk:\n{}\n",
str::from_utf8(&raw_message).unwrap()
);
String::from_utf8_lossy(&raw_message)
); // TODO
let ctext = pgp::pk_encrypt(raw_message, keyring, Some(sign_key), compress).await?;
@@ -80,8 +80,8 @@ impl EncryptHelper {
println!(
"\nEncrypting symm:\n{}\n",
str::from_utf8(&raw_message).unwrap()
);
String::from_utf8_lossy(&raw_message)
); // TODO
let ctext = pgp::encrypt_for_broadcast(raw_message, passphrase, sign_key, compress).await?;