-
Notifications
You must be signed in to change notification settings - Fork 866
[PM-11886] Update handling of unprivileged apps and improve error messaging #4694
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
SaintPatrck
merged 13 commits into
main
from
PM-11886/update-origin-for-unprivileged-apps
Feb 12, 2025
Merged
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
dd31e4f
[PM-11886] Update handling of unprivileged apps and improve error mesโฆ
SaintPatrck 962de84
Skip tests for now
SaintPatrck 4cc3bf3
Log UV and generic error references for better tracing
SaintPatrck d9601b3
Write passkey logs to disk and copy to clipboard from settings > about
SaintPatrck 2b355f7
Log `fido2GetCredentialsRequest` in `VaultItemListingViewModel`
SaintPatrck b89eaf0
More passkey-related logging for debugging
SaintPatrck 3448fe7
Log exceptions when decoding passkey attestation or assertion options
SaintPatrck 17f2236
Fix tests
SaintPatrck 95e1bfd
Check for GetCreds request when dismissing FIDO2 dialog
SaintPatrck 6be3fc3
Make `transports` optional in `PublicKeyCredentialDescriptor`
SaintPatrck d7f4826
Merge remote-tracking branch 'origin/main' into PM-11886/update-origiโฆ
SaintPatrck 96a985b
Cleanup and remove debugging logs
SaintPatrck 232c642
Uncomment test
SaintPatrck File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
package com.x8bit.bitwarden.data.autofill.fido2.model | ||
|
||
import com.x8bit.bitwarden.ui.platform.base.util.Text | ||
|
||
/** | ||
* Represents possible outcomes of a FIDO 2 credential assertion request. | ||
*/ | ||
|
@@ -13,5 +15,5 @@ sealed class Fido2CredentialAssertionResult { | |
/** | ||
* Indicates there was an error and the assertion was not successful. | ||
*/ | ||
data object Error : Fido2CredentialAssertionResult() | ||
data class Error(val message: Text) : Fido2CredentialAssertionResult() | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. You can't have this in the data package |
||
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
You should not have a
Text
inside the data package, that is aui
only class