feat: secure enclave
This commit is contained in:
@@ -12,7 +12,7 @@ repository = "https://git.hatter.ink/hatter/tiny-encrypt-rs"
|
||||
default = ["decrypt", "macos", "secure-enclave"]
|
||||
decrypt = ["openpgp-card", "openpgp-card-pcsc", "yubikey"]
|
||||
macos = ["security-framework"]
|
||||
secure-enclave = ["macos"]
|
||||
secure-enclave = ["macos", "swift-rs"]
|
||||
|
||||
[dependencies]
|
||||
aes-gcm-stream = "0.2"
|
||||
@@ -43,6 +43,10 @@ x25519-dalek = { version = "2.0", features = ["static_secrets", "getrandom"] }
|
||||
x509-parser = "0.15"
|
||||
yubikey = { version = "0.8", features = ["untested"], optional = true }
|
||||
zeroize = "1.7"
|
||||
swift-rs = { path = "swift-rs", optional = true }
|
||||
|
||||
[build-dependencies]
|
||||
swift-rs = { path = "swift-rs", features = ["build"], optional = true }
|
||||
|
||||
[patch.crates-io]
|
||||
rust-crypto = { git = "https://github.com/jht5945/rust-crypto.git" }
|
||||
|
||||
Reference in New Issue
Block a user