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.
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
[PM-14863] Force unlock when keys are cleared / on first unlock and fix account switching behavior #11994
[PM-14863] Force unlock when keys are cleared / on first unlock and fix account switching behavior #11994
Changes from 2 commits
a4bb4ce
6497897
bedb4ff
81cb91f
3b178c5
3550fe1
4283970
6435845
41e25be
b9c5721
a7c9dfa
0cb0a43
b28ee8d
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Check warning on line 115 in apps/desktop/src/platform/main/main-ssh-agent.service.ts
Codecov / codecov/patch
apps/desktop/src/platform/main/main-ssh-agent.service.ts#L115
Check warning on line 117 in apps/desktop/src/platform/main/main-ssh-agent.service.ts
Codecov / codecov/patch
apps/desktop/src/platform/main/main-ssh-agent.service.ts#L117
Check warning on line 60 in apps/desktop/src/platform/preload.ts
Codecov / codecov/patch
apps/desktop/src/platform/preload.ts#L59-L60
Check warning on line 21 in apps/desktop/src/platform/services/ssh-agent.service.ts
Codecov / codecov/patch
apps/desktop/src/platform/services/ssh-agent.service.ts#L21
Check warning on line 57 in apps/desktop/src/platform/services/ssh-agent.service.ts
Codecov / codecov/patch
apps/desktop/src/platform/services/ssh-agent.service.ts#L57
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.
issue: I might be misunderstanding how this works, but my first thought is that we should use a proper message variable or message type to indicate this and not add hidden meaning to unrelated
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.
Yeah that makes sense. We are extending this for other information aswell (information about the ssh request in the future, and process information in #12065) so we need to extend this either way.
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.
6435845
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.
Nice! I get the feeling that we're gonna need to take a proper look at how to consolidate this with passkeys, but not in this PR :)
Check warning on line 124 in apps/desktop/src/platform/services/ssh-agent.service.ts
Codecov / codecov/patch
apps/desktop/src/platform/services/ssh-agent.service.ts#L122-L124
Check warning on line 128 in apps/desktop/src/platform/services/ssh-agent.service.ts
Codecov / codecov/patch
apps/desktop/src/platform/services/ssh-agent.service.ts#L127-L128
Check warning on line 135 in apps/desktop/src/platform/services/ssh-agent.service.ts
Codecov / codecov/patch
apps/desktop/src/platform/services/ssh-agent.service.ts#L134-L135
Check warning on line 148 in apps/desktop/src/platform/services/ssh-agent.service.ts
Codecov / codecov/patch
apps/desktop/src/platform/services/ssh-agent.service.ts#L148
Check warning on line 167 in apps/desktop/src/platform/services/ssh-agent.service.ts
Codecov / codecov/patch
apps/desktop/src/platform/services/ssh-agent.service.ts#L167
Check warning on line 171 in apps/desktop/src/platform/services/ssh-agent.service.ts
Codecov / codecov/patch
apps/desktop/src/platform/services/ssh-agent.service.ts#L170-L171
Check warning on line 173 in apps/desktop/src/platform/services/ssh-agent.service.ts
Codecov / codecov/patch
apps/desktop/src/platform/services/ssh-agent.service.ts#L173
Check warning on line 183 in apps/desktop/src/platform/services/ssh-agent.service.ts
Codecov / codecov/patch
apps/desktop/src/platform/services/ssh-agent.service.ts#L183