-
Notifications
You must be signed in to change notification settings - Fork 1.3k
feat(auth): add configuration profiles for account switching #289
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
Closed
joeVenner
wants to merge
33
commits into
googleworkspace:main
from
joeVenner:feat/configuration-profiles
Closed
Changes from 29 commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
c321815
feat(auth): add configuration profiles for account switching
joeVenner ceb9579
fix(auth): centralize base_dir resolution and fix arg parsing
joeVenner 60bb1aa
fix(auth): prevent path traversal and centralize profile resolution
joeVenner 1cbd74b
fix(auth): handle file removal errors during profile switch
joeVenner 4147995
refactor(auth): deduplicate profile logic and paths
joeVenner 1ea183c
fix(auth): prevent path traversal from disk active_profile
joeVenner fba0899
Update src/auth_commands.rs
joeVenner 32f5525
fix(auth): resolve profile parsing compiler error and simplify iteration
joeVenner 2a07ceb
fix(auth): prevent empty profile names in validation
joeVenner ed48063
fix(auth): secure cross-platform profile names and parsing
joeVenner 2f62a9d
fix(auth): secure configuration config env vars from path traversal a…
joeVenner e7bf8d9
fix(cli): prevent subcommands from being parsed as profile names
joeVenner 2cdcb80
fix(cli): allow profile names to match service names
joeVenner 311351a
fix(cli): resolve --help regression and async auth file system I/O
joeVenner 1218c18
fix(auth): make config path security check cross-platform
joeVenner a440634
fix(cli): resolve --api-version parsing regression
joeVenner fb44e06
fix(auth): prevent symlink traversal and enforce lowercase profiles
joeVenner 014a653
fix(auth): secure config symlink TOCTOU vulnerability
joeVenner 257e085
fix(auth): secure path configuration fallback from dot-dot traversals
joeVenner 62656fa
fix(auth): reject profile names starting with a hyphen
joeVenner 8cea731
refactor: tokio async migration and clap --profile integration
joeVenner 576b035
fix(auth): secure TOCTOU vulnerability and replace blocking exists calls
joeVenner 9a97916
fix(auth): replace remaining std::fs blocking operations with tokio::…
joeVenner d6d7e71
fix(auth): handle non-existent GOOGLE_WORKSPACE_CLI_CONFIG_DIR gracef…
joeVenner 558af1d
fix(auth): safely modify unix permissions reading metadata prior to r…
joeVenner 87f738e
fix(async): replace remaining std::fs blocking I/O calls with tokio::…
joeVenner 0a4f5a2
fix(auth): add missing parent check to config path validation and sta…
joeVenner ea2e600
fix(security): address TOCTOU canonical parent symlink vulnerability …
joeVenner dd45838
refactor: extract duplicated security checks, simplify async I/O toke…
joeVenner a8a4620
fix(security): resolve TOCTOU config directory race condition via pro…
joeVenner fca3f35
fix(cli): replace thread-unsafe std::env::set_var with OnceLock for p…
joeVenner d8f2ab1
refactor: replace static RwLock cache with idiomatic tokio::sync::Onc…
joeVenner 7238c0d
fix(security): resolve final sync I/O traces across async credential …
joeVenner 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
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.