Skip to content
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

PAT storage on Linux #218

Open
steffen-stell opened this issue Jun 23, 2023 · 1 comment
Open

PAT storage on Linux #218

steffen-stell opened this issue Jun 23, 2023 · 1 comment

Comments

@steffen-stell
Copy link

Chapter 9.5.3 gives the appearance that git cache or .Renviron are the only PAT storage options on Linux. But there are two better options as can be seen in the documentation: the freedesktop.org Secret Service API and
GPG/pass compatible files.

On Gnome-based systems Gnome Keyring uses the freedesktop.org Secret Service API. A simple setup guide can be found here. The equivalent on KDE should be KWallet, as far as I am aware. I think you are not even limited to these options, for example you can also set up KeePassXC for secret service integration.

It would be nice to at least mention these options to prevent people from using the less secure .Renviron option.

@rstub
Copy link

rstub commented Jul 12, 2024

In addition there is https://github.com/hickford/git-credential-oauth, which even works in headless environments when the device flow is used.

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

No branches or pull requests

2 participants