mirror of
https://github.com/bitwarden/clients.git
synced 2026-11-16 07:03:29 +00:00
* Update sdk-internal to 0.2.0-main.1202 * Implement PIN length storage in JsWasmStateBridge sdk-internal 0.2.0-main.1202 adds required set/get/clear_pin_length members to WasmStateBridge (bitwarden/sdk-internal#1708). The SDK stores the PIN's character count unencrypted so a lock screen can read it while locked, so it is backed by a new PIN_DISK state key that clears on logout. * Try the PIN as soon as it is fully typed Unlocking with a PIN needed a press of Unlock, or Enter, after typing it. The SDK now stores the PIN's length through the state bridge, and the lock screen submits the PIN as soon as that many characters are typed. A wrong PIN of that length counts as an attempt, as if Unlock was pressed. The form's submit handler restarted on every submit rather than ignoring one while the last ran, so the automatic try plus an Enter cost two of the five allowed attempts. A submit while the PIN is being tried is now ignored. The length is stored unencrypted, since the lock screen reads it while locked. --------- Co-authored-by: bw-ghapp[bot] <178206702+bw-ghapp[bot]@users.noreply.github.com>
Key management UI
This lib represents the public API of the Key management team at Bitwarden. Modules are imported using @bitwarden/key-management-ui.