8000 [PM-8863] Fido2 credential creation by fedemkr · Pull Request #679 · bitwarden/ios · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[PM-8863] Fido2 credential creation #679

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 39 commits into from
Jul 11, 2024
Merged

Conversation

fedemkr
Copy link
Member
@fedemkr fedemkr commented Jun 19, 2024

🎟️ Tracking

PM-8863

📔 Objective

Create Fido2 credentials using Autofill extension going through adding a customizable cipher.

Note: Create Fido2 credential selecting a cipher from the list and creating a new pre-filled cipher automatically will be done in subsequent PRs. This also applies to connecting user verification with Fido2 credential creation.

📸 Screenshots

Fido2.creation.iOS.native.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 and others added 18 commits June 10, 2024 19:37
Co-authored-by: Katherine Bertelsen <kbertelsen@bitwarden.com>
…owViewTests.swift

Co-authored-by: Katherine Bertelsen <kbertelsen@bitwarden.com>
Co-authored-by: Katherine Bertelsen <kbertelsen@bitwarden.com>
…atorialTestRunner and go back mainFido2Credential to how it was to consider the case where the array is empty.
…m-8533/improve-autofill-cipher-ui

# Conflicts:
#	BitwardenShared/UI/Platform/Application/Support/Localizations/en.lproj/Localizable.strings
Copy link
Contributor
github-actions bot commented Jun 19, 2024

Logo
Checkmarx One – Scan Summary & Detailsf9bfd1ee-1cf9-4ddd-a3ac-91c3e733c298

No New Or Fixed Issues Found

Copy link
Contributor
github-actions bot commented Jun 19, 2024
5 Warnings
⚠️ Ignoring duplicate libraries: '-lbitwarden_uniffi'
⚠️ BitwardenAutoFillExtension/CredentialProviderContext/CredentialProviderContext+Extensions.swift has less than 80% code coverage
⚠️ BitwardenAutoFillExtension/CredentialProviderContext/CredentialProviderContext.swift has less than 80% code coverage
⚠️ BitwardenAutoFillExtension/CredentialProviderViewController.swift has less than 80% code coverage
⚠️ BitwardenShared/Core/Vault/Services/Fido2CredentialStoreService.swift has less than 80% code coverage
6 Messages
📖 BitwardenActionExtensionTests: Executed 0 tests, with 0 failures (0 expected) in 0 (0.002) seconds
📖 BitwardenAutoFillExtensionTests: Executed 0 tests, with 0 failures (0 expected) in 0 (0.001) seconds
📖 BitwardenShareExtensionTests: Executed 0 tests, with 0 failures (0 expected) in 0 (0.001) seconds
📖 BitwardenSharedTests: Executed 3254 tests, with 12 failures (0 expected) in 99.869 (101.661) seconds
📖 BitwardenTests: Executed 4 tests, with 0 failures (0 expected) in 0.439 (0.467) seconds
📖 NetworkingTests: Executed 26 tests, with 0 failures (0 expected) in 0.071 (0.083) seconds

Bitwarden code coverage

Total coverage: 86.07%

File Coverage
BitwardenAutoFillExtension/CredentialProviderContext/CredentialProviderContext+Extensions.swift 0.00%
BitwardenAutoFillExtension/CredentialProviderContext/CredentialProviderContext.swift 0.00%
BitwardenAutoFillExtension/CredentialProviderViewController.swift 0.00%
BitwardenShared/Core/Platform/Extensions/Array+Extensions.swift 100.00%
BitwardenShared/Core/Vault/Services/Fido2CredentialStoreService.swift 0.00%

Powered by Slather

Generated by 🚫 Danger

Base automatically changed from mobiletf/pm-8533/improve-autofill-cipher-ui to main June 25, 2024 19:34
Copy link
codecov bot commented Jul 1, 2024

Codecov Report

Attention: Patch coverage is 91.90031% with 26 lines in your changes missing coverage. Please review.

Project coverage is 88.07%. Comparing base (7d5aaad) to head (636b29e).

Files Patch % Lines
...llExtension/CredentialProviderViewController.swift 0.00% 25 Missing ⚠️
...ault/AutofillList/VaultAutofillListProcessor.swift 98.80% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #679      +/-   ##
==========================================
+ Coverage   87.95%   88.07%   +0.12%     
==========================================
  Files         563      572       +9     
  Lines       28194    28470     +276     
==========================================
+ Hits        24798    25076     +278     
+ Misses       3396     3394       -2     

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

@fedemkr fedemkr requested review from matt-livefront and a team July 3, 2024 22:33
fedemkr added 5 commits July 3, 2024 19:35
… extension and use just the interface implementation.
…for SDK update on picked credential for creation.

# Conflicts:
#	BitwardenShared/Core/Platform/Services/ServiceContainer.swift
#	BitwardenShared/UI/Vault/Vault/AutofillList/VaultAutofillListProcessor.swift
#	BitwardenShared/UI/Vault/VaultItem/AddEditItem/AddEditItemProcessor.swift
#	BitwardenShared/UI/Vault/VaultItem/VaultItemCoordinator.swift
fedemkr added 5 commits July 9, 2024 16:43
…and move Fido2DebuggingUtils descriptions to extensions with CustomDebugStringConvertible
…refactored a bit the code to improve it and added unit tests. Also pre-filled the add item view when in Fido2 creation flow.
@fedemkr fedemkr marked this pull request as ready for review July 10, 2024 22:10
@fedemkr fedemkr requested a review from matt-livefront July 10, 2024 22:10
@fedemkr fedemkr requested a review from matt-livefront July 11, 2024 17:57
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 great!

@fedemkr fedemkr merged commit 9714072 into main Jul 11, 2024
8 checks passed
@fedemkr fedemkr deleted the mobiletf/pm-8863/fido2-creation branch July 11, 2024 20:18
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