-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1. `SecretData` implements `Zeroize` and `ZeroizeOnDrop` for the password and hashed password 2. `SecureKey` provides a safe wrapper around `Key` with: - Thread-safe storage of key bytes using `Arc<Mutex<Vec<u8>>>` - Thread-safe storage of key bytes using `Arc<Mutex<Vec<u8>>>` - Automatic zeroization through `Drop` - Safe dereferencing to the underlying `Key` 3. User-provided passwords are zeroized after verification 4. All sensitive data is properly cleaned up when dropped
- Loading branch information
Showing
10 changed files
with
185 additions
and
46 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,15 @@ | ||
[package] | ||
name = "dead-man-switch-tui" | ||
edition = "2021" | ||
version = "0.4.2" | ||
version = "0.5.0" | ||
authors = ["Jose Storopoli <[email protected]>"] | ||
description = "A simple no-BS Dead Man's Switch Tui Interface" | ||
license = "AGPL-3.0-only" | ||
readme = "../../README.md" | ||
|
||
[dependencies] | ||
dead-man-switch = { version = "0.4.2", path = "../dead-man-switch" } | ||
dead-man-switch.workspace = true | ||
|
||
thiserror = "2" | ||
ratatui = "0.28" | ||
crossterm = "0.28" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,17 @@ | ||
[package] | ||
name = "dead-man-switch-web" | ||
edition = "2021" | ||
version = "0.4.2" | ||
version = "0.5.0" | ||
authors = ["Jose Storopoli <[email protected]>"] | ||
description = "A simple no-BS Dead Man's Switch Web Interface" | ||
license = "AGPL-3.0-only" | ||
readme = "../../README.md" | ||
|
||
[dependencies] | ||
dead-man-switch = { version = "0.4.2", path = "../dead-man-switch" } | ||
dead-man-switch.workspace = true | ||
|
||
zeroize.workspace = true | ||
|
||
anyhow = "1.0.92" | ||
askama = "0.12.1" | ||
axum = "0.7.9" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
[package] | ||
name = "dead-man-switch" | ||
edition = "2021" | ||
version = "0.4.2" | ||
version = "0.5.0" | ||
authors = ["Jose Storopoli <[email protected]>"] | ||
description = "A simple no-BS Dead Man's Switch" | ||
license = "AGPL-3.0-only" | ||
|
@@ -16,3 +16,4 @@ lettre = { version = "0.11", features = ["rustls-tls", "builder"] } | |
lettre_email = "0.9" | ||
mime_guess = "2" | ||
chrono = "0.4" | ||
zeroize.workspace = true |
Oops, something went wrong.