-
Notifications
You must be signed in to change notification settings - Fork 927
Expand supported credential types for import #6030
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
Conversation
| ), | ||
| CredentialTypes.CREDENTIAL_TYPE_TOTP, | ||
| CredentialTypes.CREDENTIAL_TYPE_WIFI, | ||
| ).toList(), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why change it to a set if we are just changing it back?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unintentional. Good catch. Thank you.
9501af1 to
deedd94
Compare
|
Great job! No new security vulnerabilities introduced in this pull request |
This commit expands the set of supported credential types for the "Import from another app" feature. The following credential types have been added to the import sources: - `CREDENTIAL_TYPE_API_KEY` - `CREDENTIAL_TYPE_CUSTOM_FIELDS` - `CREDENTIAL_TYPE_DRIVERS_LICENSE` - `CREDENTIAL_TYPE_IDENTITY_DOCUMENT` - `CREDENTIAL_TYPE_NOTE` - `CREDENTIAL_TYPE_PASSPORT` - `CREDENTIAL_TYPE_PERSON_NAME` - `CREDENTIAL_TYPE_WIFI` These changes are reflected in the `CredentialExchangeRegistryManager` and the `ImportItemsViewModel`, along with their corresponding test files to ensure the new types are correctly handled.
deedd94 to
bf9a1b0
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #6030 +/- ##
==========================================
- Coverage 84.73% 84.72% -0.01%
==========================================
Files 722 722
Lines 54686 54717 +31
Branches 7577 7583 +6
==========================================
+ Hits 46336 46358 +22
- Misses 5699 5706 +7
- Partials 2651 2653 +2 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|

🎟️ Tracking
N/A
📔 Objective
This commit expands the set of supported credential types for the "Import from another app" feature.
The following credential types have been added to the import sources:
CREDENTIAL_TYPE_API_KEYCREDENTIAL_TYPE_CUSTOM_FIELDSCREDENTIAL_TYPE_DRIVERS_LICENSECREDENTIAL_TYPE_IDENTITY_DOCUMENTCREDENTIAL_TYPE_NOTECREDENTIAL_TYPE_PASSPORTCREDENTIAL_TYPE_PERSON_NAMECREDENTIAL_TYPE_WIFIThese changes are reflected in the
CredentialExchangeRegistryManagerand theImportItemsViewModel, along with their corresponding test files to ensure the new types are correctly handled.⏰ Reminders before review
🦮 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