Repository navigation
feat: add OS keyring support for session tokens #307
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
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
0bc801c
Pass CLI login tokens via CODER_SESSION_TOKEN instead of --token
fioan89 a5488c8
chore: add UTs for the token env
fioan89 bba2fbc
Replace zt-exec with internal process runner
fioan89 ad43762
chore: fix broken UTs
fioan89 c9008c0
chore: fix broken UT on Windows
fioan89 6d264b1
chore: more UTs for the new process runner
fioan89 be793d9
Keep CLI and API auth on the same persisted token
fioan89 d164f81
Add opt-in keyring-backed CLI auth for supported platforms
fioan89 a715f68
warn the user when keyring is enabled but not supported
fioan89 6cd4e6d
Hide the keyring setting on unsupported operating systems
fioan89 7ae1d31
Update the ssh config as soon as useKeyring setting changed
fioan89 5d5d21e
Merge branch 'main' into store-session-token-into-os-keyring
fioan89 1616c37
Warn user that OS keyring is not supported
fioan89 cf073b1
chore: also sanitize `--token=value`
fioan89 1e9d6ca
chore: update README
fioan89 7f86439
Merge branch 'main' into store-session-token-into-os-keyring
fioan89 f9b872b
chore: remove outdated UTs
fioan89 28e1834
Merge branch 'main' into store-session-token-into-os-keyring
fioan89 7d1c2bf
Merge branch 'main' into store-session-token-into-os-keyring
fioan89 d10872e
Merge remote-tracking branch 'origin/main' into store-session-token-i…
fioan89 b8dd0c1
Wait for killed processes to exit before returning from the process r…
fioan89 cd2873f
Redact credential headers and improve child process cleanup
fioan89 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
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.
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.
Uh oh!
There was an error while loading. Please reload this page.