feat: v1.7.13

This commit is contained in:
2024-06-16 10:37:40 +08:00
parent f74a81d4ca
commit 598dbc38c7
4 changed files with 7 additions and 5 deletions

View File

@@ -51,8 +51,8 @@ pub fn gpg_encrypt(key_id: &str, message: &[u8]) -> XResult<String> {
let gpg_encrypt_result = cmd
.args([
"-e", "-a", "--no-comment",
"-r", &key_id,
"--comment", &format!("tiny-encrypt-v{} - {}", env!("CARGO_PKG_VERSION"), &key_id)
"-r", key_id,
"--comment", &format!("tiny-encrypt-v{} - {}", env!("CARGO_PKG_VERSION"), key_id)
])
.stdin(Stdio::piped())
.stdout(Stdio::piped())