feat: v1.9.18

This commit is contained in:
2025-10-18 14:32:06 +08:00
parent a6397fc45a
commit 3708781390
3 changed files with 15 additions and 2 deletions

9
Cargo.lock generated
View File

@@ -2077,7 +2077,7 @@ dependencies = [
[[package]]
name = "tiny-encrypt"
version = "1.9.17"
version = "1.9.18"
dependencies = [
"aes-gcm-stream",
"base64 0.22.1",
@@ -2118,6 +2118,7 @@ dependencies = [
"x509-parser",
"yubikey",
"zeroize",
"zeroizing-alloc",
]
[[package]]
@@ -2688,3 +2689,9 @@ dependencies = [
"quote",
"syn",
]
[[package]]
name = "zeroizing-alloc"
version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ebff5e6b81c1c7dca2d0bd333b2006da48cb37dbcae5a8da888f31fcb3c19934"

View File

@@ -1,6 +1,6 @@
[package]
name = "tiny-encrypt"
version = "1.9.17"
version = "1.9.18"
edition = "2021"
license = "MIT"
description = "A simple and tiny file encrypt tool"
@@ -56,6 +56,7 @@ json5 = "0.4"
external-command-rs = "0.1"
percent-encoding = "2.3"
ml-kem = { version = "0.2.1", features = ["zeroize"] }
zeroizing-alloc = "0.1.0"
[profile.release]
codegen-units = 1

View File

@@ -13,6 +13,11 @@ use tiny_encrypt::CmdInitKeychain;
use tiny_encrypt::CmdInitPiv;
use tiny_encrypt::{init_tiny_encrypt_log, CmdConfig, CmdDirectDecrypt, CmdEncrypt, CmdInfo, CmdSimpleDecrypt, CmdSimpleEncrypt, CmdVersion};
use zeroizing_alloc::ZeroAlloc;
#[global_allocator]
static ALLOC: ZeroAlloc<std::alloc::System> = ZeroAlloc(std::alloc::System);
#[derive(Debug, Parser)]
#[command(name = "tiny-encrypt-rs")]
#[command(about = "A tiny encrypt client in Rust", long_about = None)]