Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .deny.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,8 @@ allow-git = [
"https://github.com/jplatte/const_panic",
# A patch override for the bindings: https://github.com/smol-rs/async-compat/pull/22
"https://github.com/element-hq/async-compat",
"https://github.com/mozilla/uniffi-rs"
"https://github.com/mozilla/uniffi-rs",
# Pinned one commit past 3.1.1 for the unreleased guess-magnitude
# overflow fix, needed by the bindings' password strength estimation.
"https://github.com/shssoichiro/zxcvbn-rs",
]
54 changes: 48 additions & 6 deletions 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 Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ wasm-bindgen-test = { version = "0.3.55", default-features = false, features = [
web-sys = { version = "0.3.82", default-features = false }
wiremock = { version = "0.6.5", default-features = false }
zeroize = { version = "1.8.2", default-features = false }
zxcvbn = { git = "https://github.com/shssoichiro/zxcvbn-rs", rev = "4e8e784b23541d118800df84feedf8160879d1af", default-features = false }

matrix-sdk = { path = "crates/matrix-sdk", version = "0.18.0", default-features = false }
matrix-sdk-base = { path = "crates/matrix-sdk-base", version = "0.18.0" }
Expand Down
1 change: 1 addition & 0 deletions bindings/matrix-sdk-ffi/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ tracing-subscriber = { workspace = true, features = ["env-filter"] }
url.workspace = true
uuid = { version = "1.4.1", default-features = false, features = ["std", "v4"] }
zeroize.workspace = true
zxcvbn.workspace = true
oauth2.workspace = true

[target.'cfg(target_family = "wasm")'.dependencies]
Expand Down
1 change: 1 addition & 0 deletions bindings/matrix-sdk-ffi/changelog.d/6708.feature.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add `PasswordStrengthEstimator` to the FFI layer, exposing password strength estimation via the zxcvbn algorithm with caller-configurable ranking thresholds.
1 change: 1 addition & 0 deletions bindings/matrix-sdk-ffi/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ mod identity_status_change;
mod live_locations_observer;
mod notification;
mod notification_settings;
mod password_strength;
mod platform;
mod qr_code;
mod room;
Expand Down
Loading
Loading