View previous topic :: View next topic |
Author |
Message |
TheMachinesTeacher n00b
Joined: 09 Sep 2017 Posts: 48 Location: Somewhere over there
|
Posted: Sun Oct 01, 2017 5:09 pm Post subject: [Solved] Make Kwallet not try to manage git authentication |
|
|
In KDE Plasma, is there a way to make git not try to use the kwallet to authenticate when you are pushing? When I do it, it gives a bunch of D-Bus errors related to the kwalletd service not being registered, and then eventually pops up a window asking for my password. I don't even want to use the wallet, so that is why it is not registered. Is it advisable to just unmerge the wallet if I don't want to use it?
Last edited by TheMachinesTeacher on Sun Oct 01, 2017 6:26 pm; edited 1 time in total |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30838 Location: here
|
|
Back to top |
|
|
asturm Developer
Joined: 05 Apr 2007 Posts: 8933
|
|
Back to top |
|
|
TheMachinesTeacher n00b
Joined: 09 Sep 2017 Posts: 48 Location: Somewhere over there
|
Posted: Sun Oct 01, 2017 6:08 pm Post subject: |
|
|
That stackoverflow post wanted me to use KWalletManager, which I don't have installed and don't intend to install. The other solutions on that post were recommended the same thing as the Disabling_KWallet part of the wiki. The wiki solution also did not solve the problem, even after a reboot, although, now it doesn't give D-Bus errors, which I suppose is good.
What is says now is:
Code: |
Pass a valid window to KWallet::Wallet::openWallet().
The wallet service was disabled by the user
User disabled the wallet system so returning 0 here.
|
And it still shows the window asking for me to give it my credentials. Any more ideas? There isn't a USE flag for git to install without support for the wallet, otherwise that is what I would do. Maybe there is a git config files somewhere? I am going to go searching. |
|
Back to top |
|
|
TheMachinesTeacher n00b
Joined: 09 Sep 2017 Posts: 48 Location: Somewhere over there
|
Posted: Sun Oct 01, 2017 6:26 pm Post subject: |
|
|
After searching the web, and finding that a lot of the solutions are for previous versions of KDE or that I do not have the files they are talking about, I did find a solution.
There is an environment variable called SSH_ASKPASS that the default for it is /usr/bin/ksshaskpass. When you set the variable to an empty string with Code: | export SSH_ASKPASS="" | , git won't try to use kwallet, even if you aren't ssh'd in! Strange behavior.
And just to make sure, I can in fact still SSH to my box still, if somebody reading this incorrectly thought that disabling that variable would disable ssh login via password. |
|
Back to top |
|
|
|