8000 PM-10740: Configure PIN key after biometrics unlock if require unlocking with MP by matt-livefront · Pull Request #927 · bitwarden/ios · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

PM-10740: Configure PIN key after biometrics unlock if require unlocking with MP #927

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 16, 2024

Conversation

matt-livefront
Copy link
Collaborator
@matt-livefront matt-livefront commented Sep 13, 2024

🎟️ Tracking

PM-10740

📔 Objective

This fixes an issue where the user has PIN unlock enabled, but it's toggled off in the app's settings.

The following conditions need to be true for this:

  • PIN unlock is enabled and MP is required upon app restart.
  • Biometrics unlock is also enabled.

When the app restarts, unlocking with biometrics instead of MP causes the PIN unlock toggle to be turned off. When unlocking with biometrics, we weren't deriving the user's pin key and storing it in memory so it could be used to unlock the user's vault with their PIN.

⏰ Reminders before review

  • Contributor guidelines followed
  • All formatters and local linters executed and passed
  • Written new unit and / or integration tests where applicable
  • Protected functional changes with optionality (feature flags)
  • Used internationalization (i18n) for all UI strings
  • CI builds passed
  • Communicated to DevOps any deployment requirements
  • Updated any necessary documentation (Confluence, contributing docs) or informed the documentation team

🦮 Reviewer guidelines

  • 👍 (:+1:) or similar for great changes
  • 📝 (:memo:) or ℹ️ (:information_source:) for notes or general info
  • ❓ (:question:) for questions
  • 🤔 (:thinking:) or 💭 (:thought_balloon:) for more open inquiry that's not quite a confirmed issue and could potentially benefit from discussion
  • 🎨 (:art:) for suggestions / improvements
  • ❌ (:x:) or ⚠️ (:warning:) for more significant problems or concerns needing attention
  • 🌱 (:seedling:) or ♻️ (:recycle:) for future improvements or indications of technical debt
  • ⛏ (:pick:) for minor or nitpick changes

Copy link
codecov bot commented Sep 13, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.67%. Comparing base (7abd57a) to head (7255811).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #927      +/-   ##
==========================================
+ Coverage   88.66%   88.67%   +0.01%     
==========================================
  Files         622      622              
  Lines       39307    39323      +16     
==========================================
+ Hits        34850    34870      +20     
+ Misses       4457     4453       -4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

Logo
Checkmarx One – Scan Summary & Detailsbbab8327-b20a-4603-8927-3b5c87eb26bc

No New Or Fixed Issues Found

@matt-livefront matt-livefront merged commit 67d35f1 into main Sep 16, 2024
8 checks passed
@matt-livefront matt-livefront deleted the matt/PM-10740-pin-unlock-toggled-off branch September 16, 2024 14:10
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.

2 participants
0