Skip to content

Remove debian package dependencies#1506

Merged
vcheung-stripe merged 2 commits intomasterfrom
vcheung-20260323-linux-prompt
Mar 23, 2026
Merged

Remove debian package dependencies#1506
vcheung-stripe merged 2 commits intomasterfrom
vcheung-20260323-linux-prompt

Conversation

@vcheung-stripe
Copy link
Copy Markdown
Collaborator

@vcheung-stripe vcheung-stripe commented Mar 23, 2026

Summary

This removes dependencies from the debian package that we included for managing keys. We previously included this for projects but we now have a path forward for removing this. In order to do so, we implement a fallback to store keys in an encrypted file if you are on WSL, while continuing to default to the Secret Service API on other Linux systems.

Confirmed on WSL.

vcheung-stripe and others added 2 commits March 23, 2026 13:01
…assword

On non-WSL Linux, prefer the Secret Service backend (gnome-keyring/KWallet)
with the file backend as a fallback. On WSL, use only the file backend with
a deterministic password derived from the machine ID via HMAC-SHA256, so the
user is never prompted for a password in a headless environment.

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
Committed-By-Agent: claude
The CLI no longer requires these system packages since WSL uses a
file-backed keyring and non-WSL Linux falls back to file if the secret
service is unavailable.

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
Committed-By-Agent: claude
@vcheung-stripe vcheung-stripe requested a review from a team as a code owner March 23, 2026 20:06
@vcheung-stripe vcheung-stripe merged commit 739560f into master Mar 23, 2026
24 checks passed
@vcheung-stripe vcheung-stripe deleted the vcheung-20260323-linux-prompt branch March 23, 2026 20:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants