Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bb-cli/docs/bb-auth-local-testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ Expected result:
- kgoose validates the state cookie, exchanges the Auth0 code server-side, and redirects to the CLI loopback callback with a one-time exchange code
- the CLI exchanges that code through kgoose and stores the returned session credential

By default, the CLI stores browser auth sessions in the OS keyring. For local debugging without touching keyring state, use the `BB_AUTH_STORAGE=file` command above.
By default, the CLI stores browser auth sessions in the OS keyring on macOS. On Windows and Linux the default is a JSON file, `<bb home>/auth-sessions.json`, protected by file permissions rather than a keyring (mode 0600 on Unix; on Windows the file's ACL is reset so only the current user has access). Writes replace the file atomically and are serialized across the desktop app and the CLI through a sibling `auth-sessions.json.lock`. For local debugging without touching the default store on any platform, use the `BB_AUTH_STORAGE=file` command above.

## Test In Staging

Expand Down
2 changes: 1 addition & 1 deletion crates/builderbot-auth/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "builderbot-auth"
version = "0.1.0"
edition = "2021"
rust-version = "1.88.0"
rust-version = "1.89.0"

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤖 P1 · Align the CLI Rust minimum (blocking)

The authentication crate now requires Rust 1.89, while the bb CLI package that depends on it still declares Rust 1.88. Building the CLI with its advertised minimum compiler will fail during dependency resolution even though CI passes on newer toolchains.

User effect: Contributors and packaging environments using the CLI's documented minimum Rust version will be unable to build bb.

Recommended fix: Raise the bb CLI package's declared minimum Rust version to at least 1.89, or implement locking without increasing the authentication crate's minimum.

Test: Add or update the minimum-supported-Rust validation so the CLI and its path dependencies are checked with the declared compiler version.

license = "Apache-2.0"
publish = false

Expand Down
Loading