Use secrecy crate for storing CachedPin
The `SecretVec` type automatically handles zeroing and may prevent accidental exposure of the cached PIN via `Debug`.
This commit is contained in:
@@ -25,6 +25,7 @@ hmac = "0.7"
|
||||
log = "0.4"
|
||||
pbkdf2 = "0.3"
|
||||
pcsc = "2"
|
||||
secrecy = "0.5"
|
||||
sha-1 = "0.8"
|
||||
subtle = "2"
|
||||
zeroize = "1"
|
||||
|
||||
Reference in New Issue
Block a user