refactor: Rename to symm_encrypt_message()

This commit is contained in:
Hocuri
2025-08-16 18:54:57 +02:00
parent 9b49386bc8
commit f66f6f3e92
4 changed files with 10 additions and 11 deletions

View File

@@ -98,7 +98,7 @@ pub async fn render_setup_file(context: &Context, passphrase: &str) -> Result<St
true => Some(("Autocrypt-Prefer-Encrypt", "mutual")),
};
let private_key_asc = private_key.to_asc(ac_headers);
let encr = pgp::symm_encrypt(passphrase, private_key_asc.into_bytes())
let encr = pgp::symm_encrypt_setup_file(passphrase, private_key_asc.into_bytes())
.await?
.replace('\n', "\r\n");