8000 [PM-8828] Fido2 autofill without user interaction by fedemkr · Pull Request #744 · bitwarden/ios · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[PM-8828] Fido2 autofill without user interaction #744

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

Conversation

fedemkr
Copy link
Member
@fedemkr fedemkr commented Jul 17, 2024

🎟️ Tracking

PM-8828

📔 Objective

Perform autofill without user interaction. For this we need the next conditions to happen:

  • User verification preference = discouraged
  • Vault timeout = Never
  • Open the Autofill extension from the OS bottom sheet selecting one of the credentials

Notes:

Fido2DebugginReportBuilder: I added this to have a common place where I can add objects of the Fido2 flow to ease the debugging when an error or something unexpected occurs. I haven't added unit tests for this given that I only use it on Debug and I'll remove it as soon as I have all flows working. Same to the places where this is called.

📸 Screenshots

Fido2.Autofill.without.User.interaction.mov

⏰ 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

@fedemkr fedemkr requested review from matt-livefront and a team July 17, 2024 22:29
Copy link
codecov bot commented Jul 17, 2024

Codecov Report

Attention: Patch coverage is 83.61582% with 29 lines in your changes missing coverage. Please review.

Project coverage is 88.18%. Comparing base (81d62a3) to head (c294056).

Files Patch % Lines
...llExtension/CredentialProviderViewController.swift 0.00% 25 Missing ⚠️
...nShared/UI/Platform/Application/AppProcessor.swift 96.42% 2 Missing ⚠️
.../Autofill/Services/AutofillCredentialService.swift 93.33% 1 Missing ⚠️
.../Autofill/Utilities/Fido2UserInterfaceHelper.swift 50.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #744      +/-   ##
==========================================
- Coverage   88.21%   88.18%   -0.03%     
==========================================
  Files         573      575       +2     
  Lines       28571    28734     +163     
==========================================
+ Hits        25203    25339     +136     
- Misses       3368     3395      +27     

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

8000
Copy link
Contributor
github-actions bot commented Jul 17, 2024

Logo
Checkmarx One – Scan Summary & Details78b7fa59-91f5-43a7-9032-7760a2c12346

No New Or Fixed Issues Found

fedemkr added 2 commits July 17, 2024 19:52
…InCurrentSession to hasBeenUnlockedInteractively
…' into mobiletf/pm-8828/fido2-autofill-without-user-interaction
@fedemkr fedemkr changed the base branch from main to mobiletf/pm-8361/fido2-has-unlocked-current-transaction July 17, 2024 22:53
Base automatically changed from mobiletf/pm-8361/fido2-has-unlocked-current-transaction to main July 18, 2024 18:17
@fedemkr fedemkr requested a review from KatherineInCode July 18, 2024 18:56
Copy link
Collaborator
@matt-livefront matt-livefront left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@fedemkr fedemkr merged commit 8eccee5 into main Jul 19, 2024
8 checks passed
@fedemkr fedemkr deleted the mobiletf/pm-8828/fido2-autofill-without-user-interaction branch July 19, 2024 14:56
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.

3 participants
0