feat: desktop bridge login via Keeper Desktop (KC-1300)#2143
Draft
aaunario-keeper wants to merge 7 commits into
Draft
feat: desktop bridge login via Keeper Desktop (KC-1300)#2143aaunario-keeper wants to merge 7 commits into
aaunario-keeper wants to merge 7 commits into
Conversation
aaunario-keeper
commented
Jun 11, 2026
Contributor
- Add --via-desktop flag to top-level CLI and login command
- Auto-suppress startup login when first queued command is login --via-desktop
- Implement exchange_vault_token bridge relay + direct KA login_from_existing_session_token
- Auto-enroll device on fresh install (no config.json required)
- Register DEDK after bridge login for future persistent logins
- 12 unit tests covering bridge exchange, KA transport, auto-enrollment, error paths
* Fix kcm-import --output file permissions on Windows via utils.set_file_permissions * Fix flaky set_record_rotation body test: decrypt round-trip instead of first-byte check
- Add --via-desktop flag to top-level CLI and login command - Auto-suppress startup login when first queued command is login --via-desktop - Implement exchange_vault_token bridge relay + direct KA login_from_existing_session_token - Auto-enroll device on fresh install (no config.json required) - Register DEDK after bridge login for future persistent logins - 12 unit tests covering bridge exchange, KA transport, auto-enrollment, error paths
--new-login (force fresh auth) and --via-desktop (auth method) are orthogonal. Removed mutual exclusion from login_parser, __main__.py, and LoginCommand.execute. Also removes top_level_new_login from params since it only existed to enforce the now-removed restriction.
b11acff to
c6ec45e
Compare
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.