♻️ Refactor smartcard backend and update PGP decryption dependencies
This commit is contained in:
+3
-3
@@ -12,7 +12,7 @@ repository = "https://git.hatter.ink/hatter/tiny-encrypt-rs"
|
||||
default = ["decrypt", "macos", "smartcard"]
|
||||
full-features = ["decrypt", "macos", "smartcard"]
|
||||
decrypt = ["smartcard"]
|
||||
smartcard = ["openpgp-card", "openpgp-card-pcsc", "yubikey"]
|
||||
smartcard = ["openpgp-card", "card-backend-pcsc", "yubikey"]
|
||||
macos = ["security-framework"]
|
||||
|
||||
[dependencies]
|
||||
@@ -25,8 +25,7 @@ flate2 = "1.0"
|
||||
fs-set-times = "0.20"
|
||||
hex = "0.4"
|
||||
indicatif = "0.18"
|
||||
openpgp-card = { version = "0.3", optional = true }
|
||||
openpgp-card-pcsc = { version = "0.3", optional = true }
|
||||
openpgp-card = { version = "0.6", optional = true }
|
||||
p256 = { version = "0.13", features = ["pem", "ecdh", "pkcs8"] }
|
||||
p384 = { version = "0.13", features = ["pem", "ecdh", "pkcs8"] }
|
||||
rand = "0.8"
|
||||
@@ -57,6 +56,7 @@ external-command-rs = "0.1"
|
||||
percent-encoding = "2.3"
|
||||
ml-kem = { version = "0.2.1", features = ["zeroize"] }
|
||||
zeroizing-alloc = "0.1.0"
|
||||
card-backend-pcsc = { version = "0.5.1", optional = true }
|
||||
|
||||
[profile.release]
|
||||
codegen-units = 1
|
||||
|
||||
Reference in New Issue
Block a user