Skip to content

Commit

Permalink
[PM-5346] Implement password strength (#489)
Browse files Browse the repository at this point in the history
Break up `password.rs` into a module for clarity. Implement password
strength along test cases that are replicated in the clients codebase.
  • Loading branch information
Hinton authored Jan 9, 2024
1 parent 37e4eaf commit 54b6759
Show file tree
Hide file tree
Showing 8 changed files with 455 additions and 247 deletions.
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"reqwest",
"schemars",
"uniffi",
"wordlist"
"wordlist",
"zxcvbn"
]
}
131 changes: 130 additions & 1 deletion Cargo.lock

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

1 change: 1 addition & 0 deletions crates/bitwarden/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ subtle = ">=2.5.0, <3.0"
thiserror = ">=1.0.40, <2.0"
uniffi = { version = "=0.25.2", optional = true, features = ["tokio"] }
uuid = { version = ">=1.3.3, <2.0", features = ["serde"] }
zxcvbn = ">= 2.2.2, <3.0"

[target.'cfg(all(not(target_os = "android"), not(target_arch="wasm32")))'.dependencies]
# By default, we use rustls as the TLS stack and rust-platform-verifier to support user-installed root certificates
Expand Down
Loading

0 comments on commit 54b6759

Please sign in to comment.