"Save Password" breaks Git authentication since 12.5
See original GitHub issueApache NetBeans version
Latest release
What happened
With NetBeans 12.4 I could save the password for remote Git repos without problems.
With 12.5+ authentication fails when leaving “Save Password” checked and succeeds when it is unchecked.
Commandline Git works fine, I have git config credential.helper
set to store
.
I am not sure, but NetBeans 12.4 seems to have been using KWalletManager to store the passwords and that doesn’t seem to work any more with NetBeans 12.5+.
How to reproduce
Since this is probably related to KWalletManager, this may only be reproducible on KDE/Plasma desktops.
- Try to Git -> Remote -> Pull from Upstream an existing project that worked with 12.4
- “Specify Git repository location” dialog appears
- Check “Save Password” and enter the (correct) password Result: “Specify Git repository location” dialog appears again
- Uncheck “Save Password” and enter the (correct) password Result: pull succeeds
Did this work correctly in an earlier version?
- This used to work!
Operating System
Kubuntu 20.04 LTS
JDK
openjdk version “11.0.13” 2021-10-19
Apache NetBeans packaging
Apache NetBeans binary zip
Anything else
No response
Are you willing to submit a pull request?
- Yes I am willing to submit a PR!
Code of Conduct
- I agree to follow the Apache Software Foundation’s Code of Conduct
Issue Analytics
- State:
- Created 2 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
Git keeps prompting me for a password - Stack Overflow
Sometimes the connection between SSH and the passphrases stored in the keychain can break. Run ssh-add -K or ssh-add ~/.
Read more >7.14 Git Tools - Credential Storage
Here we tell git-credential-store to save some credentials: the username “bob” and the password “s3cre7” are to be used when https://mygithost is accessed....
Read more >Credential prompt does not save credentials to store #476
Open Windows Credential Manager. The easiest method is [Start] -> Type "cred" -> Click on "Credential Manager" tile. · Click "Windows Credentials ......
Read more >How to Fix Git Always Asking For User Credentials For HTTP ...
To prevent Git from asking for your username and password, you can enter the login credentials in the URL as shown. $ sudo...
Read more >Solved: Git Credential Manager for Windows Popups
Solved: I keep getting popups for "Git Credential Manager for Windows" whenever SourceTree is running. Pretty sure the credentials for all.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I have tested this build on openSUSE 15.3 and I can also say that passwords are saved (ie: proxy password) without having to install gnome-keyring. Thanks Matthias!
@gitdode could you test this build: https://doppel-helix.eu/NetBeans-dev-dev-95d19747200936da808116322d7b6b677e6a534d-release.zip
It should improve the situation in that regard, that the build should automatically detect, that libsecret can’t be used on your system. I reproduced your problem (rename gnome-keyring, kill the running instance), but it would be great if you could give it a try.