Skip to content

Git password authentication deprecated #23219

Discussion options

You must be logged in to vote

The documentation you linked (Caching your GitHub credentials in Git) describes how to change the timeout, but the RAM cache will never exist past something like a reboot. That’s a security feature.

For long term storage, use a password manager (I like KeePassXC, personally).

Technically Git also has the “store” credential helper, but note the warning there: ⚠️

Using this helper will store your passwords unencrypted on disk, protected only by filesystem permissions. If this is not an acceptable security tradeoff, try git-credential-cache[1], or find a helper that integrates with secure storage provided by your operating system.

Which means in most cases it’s a bad idea, maybe with the e…

Replies: 5 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants