feat: v1.3.0, support init-piv

This commit is contained in:
2023-12-09 21:56:00 +08:00
parent af7bf60869
commit 993f10ba71
11 changed files with 190 additions and 14 deletions

View File

@@ -1,6 +1,6 @@
[package]
name = "tiny-encrypt"
version = "1.2.2"
version = "1.3.0"
edition = "2021"
license = "MIT"
description = "A simple and tiny file encrypt tool"
@@ -10,7 +10,8 @@ repository = "https://git.hatter.ink/hatter/tiny-encrypt-rs"
[features]
default = ["decrypt", "macos", "secure-enclave"]
decrypt = ["openpgp-card", "openpgp-card-pcsc", "yubikey"]
decrypt = ["smartcard"]
smartcard = ["openpgp-card", "openpgp-card-pcsc", "yubikey"]
macos = ["security-framework"]
secure-enclave = ["macos", "swift-rs"]
@@ -44,6 +45,7 @@ x509-parser = "0.15"
yubikey = { version = "0.8", features = ["untested"], optional = true }
zeroize = "1.7"
swift-rs = { path = "swift-rs", optional = true }
spki = "0.7.3"
[build-dependencies]
swift-rs = { path = "swift-rs", features = ["build"], optional = true }