Skip to content

Clear biometric auth cache when removing profiles#22691

Open
KaannKara wants to merge 1 commit into
status-im:developfrom
KaannKara:codex/clear-biometric-cache-21842
Open

Clear biometric auth cache when removing profiles#22691
KaannKara wants to merge 1 commit into
status-im:developfrom
KaannKara:codex/clear-biometric-cache-21842

Conversation

@KaannKara
Copy link
Copy Markdown

Summary

  • clear saved keychain auth credentials after a profile is removed
  • prevents restoring the same key-uid from reusing a stale biometric auth method
  • add unit coverage for the profile-removal success path

Fixes #21842

Testing

  • git diff --check
  • JAVA_HOME=/opt/homebrew/opt/openjdk@17/libexec/openjdk.jdk/Contents/Home SHADOW_NS_REGEXP='^status-im.contexts.onboarding.events-test$' SHADOW_OUTPUT_TO=target/onboarding_events_test/test.js TARGET=clojure corepack yarn shadow-cljs compile mocks && corepack yarn shadow-cljs compile test
  • node --require ./test-resources/override.js target/onboarding_events_test/test.js (blocked locally: missing lib/binding/status_nodejs_addon.node; requires status-go-library/native binding)
  • make test-unit (blocked locally: status-go-library Nix setup failed at sha256sum on macOS)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Biometry is ON by default after user restore his profile and skip biometrics step

1 participant