Reputation: 21399
We have a new corporate password complexity/length policy and ever since changing to that policy I can't use git to talk to GitHub Enterprise from the command line or from the IDEs that depend on the CLI version (such as Visual Studio and NetBeans). However, I can use GitHub Desktop to do my git tasks just fine.
The CLI and IDE always prompt me for my password, but then reject me with a standard "fatal: Authentication failed for..." message. Same password in GitHub Desktop works fine.
Our new passwords are 25 characters minimum, is there a limitation on how long of passwords that git CLI supports?
Upvotes: 1
Views: 190
Reputation: 1328152
Is there a limitation on how long of passwords that git CLI supports?
No that I know of.
The CLI and IDE always prompt me for my password, but then reject me.
Check from the CLI:
git remote -v
)git config credential.helper
: it could have cached the old credentials.Check and see if 2 factor authentication is turned on. If so, create a personal access token. Use that in place of the password.
Upvotes: 1