summaryrefslogtreecommitdiff
path: root/Cargo.lock
diff options
context:
space:
mode:
authorThomas Mühlbacher <tmuehlbacher@posteo.net>2024-05-30 21:42:38 +0200
committerThomas Mühlbacher <tmuehlbacher@posteo.net>2024-05-30 22:26:06 +0200
commit22495e0d31e5a440fe58039941a2f916aee6c89f (patch)
tree763149408b7dd7481f7d5ad79a3c2b88d2e5b250 /Cargo.lock
parent25bce91b4bdcc37d063ba22081007c1ef76355d6 (diff)
feat: rewrite key.rs
- Introduce `KeyHandle` and `Passphrase` types - Refactor the functions into associated functions - Add `zeroizing` crate to handle passphrase memory safely Signed-off-by: Thomas Mühlbacher <tmuehlbacher@posteo.net>
Diffstat (limited to 'Cargo.lock')
-rw-r--r--Cargo.lock21
1 files changed, 21 insertions, 0 deletions
diff --git a/Cargo.lock b/Cargo.lock
index 61e55c83..11b3bd5f 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -90,6 +90,7 @@ dependencies = [
"strum_macros",
"udev",
"uuid",
+ "zeroize",
]
[[package]]
@@ -773,3 +774,23 @@ name = "windows_x86_64_msvc"
version = "0.52.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "dff9641d1cd4be8d1a070daf9e3773c5f67e78b4d9d42263020c057706765c04"
+
+[[package]]
+name = "zeroize"
+version = "1.8.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ced3678a2879b30306d323f4542626697a464a97c0a07c9aebf7ebca65cd4dde"
+dependencies = [
+ "zeroize_derive",
+]
+
+[[package]]
+name = "zeroize_derive"
+version = "1.4.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ce36e65b0d2999d2aafac989fb249189a141aee1f53c612c1f37d72631959f69"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn",
+]