Skip to content

Commit

Permalink
Added rs based enc lib
Browse files Browse the repository at this point in the history
  • Loading branch information
ThaddeusTreloar committed Jul 9, 2023
1 parent d7a48a1 commit 90489c6
Show file tree
Hide file tree
Showing 7 changed files with 760 additions and 135 deletions.
208 changes: 208 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,7 @@ tokio = { version = "1.21.2", features = ["full"] }
clap = { version = "4.0.18", features = ["derive"] }
zapf = { git = "https://github.com/Speykious/zapf", rev = "4608ab5db49be659a2018ad8826334bb78719b31" }
openssl = { version = "0.10.42", features = ["vendored"] }
rpassword = "7.1.0"
rpassword = "7.1.0"
aes-gcm = "0.10.1"
chacha20poly1305 = "0.10.1"
chacha20 = "0.9.0"
1 change: 1 addition & 0 deletions old
Submodule old added at 846b9b
2 changes: 1 addition & 1 deletion src/bin/zap.rs
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ impl Command {
if let Some(enc) = encryption {
match enc {
EncryptionType::Password => {
pass = Some(get_password_confirm(256)?);
pass = Some(vec![0u8;10]);//Some(get_password_confirm(256)?);
},
// Unimplemented
EncryptionType::Key => {
Expand Down
Loading

0 comments on commit 90489c6

Please sign in to comment.