Git Credential Management - allow to change (or delete) passwords (Windows, TortoiseGit)

4,621 views
Skip to first unread message

Lukas

unread,
Aug 16, 2016, 6:21:00 AM8/16/16
to tortoisegit-users
We want to introduce Git to our company and decided to use TortoiseGit (as TortoiseSVN is already in use).

We already noticed there are huge differences between TortoiseSVN and TortoiseGit in saving credentials.
In short: To save credentials TortoiseGit uses Git for Windows and Git for Windows uses the chosen credential helper (eg. wincred).

The credential helper saves the credentials in the credential manager of the windows control panel once and for all so you never have to enter your password again.

Sounds great and ready to roll-out but there is a case that causes trouble: What if there are wrong credentials in the credential manager? This could be caused by a mistyped password or even a changed password. Our tests have shown that if there are already wrong credentials in the manager, TortoiseGit (indeed Git for Windows) will just use these and fail.

In our opinion the program should ask for the correct (or new) password, if there is a wrong one in the credential store and replace it.

As far as I see we have now two possibilities:

  1. We provide the users a manual, how to delete the credentials using the windows credential manager (which IS a solution but the preferred)

  2. I ask you if you know another credential helper, that lets the user easily change their Passwords (That gets integrated with the TortoiseGit GUI)

I'd choose the second one so please help me with your genius!

Thank You & Best Regards
Lukas


Sven Strickroth

unread,
Aug 18, 2016, 8:50:38 AM8/18/16
to tortoise...@googlegroups.com
Hi,

Am 16.08.2016 um 12:21 schrieb Lukas:
> In our opinion the program should ask for the correct (or new) password,
> if there is a wrong one in the credential store and replace it.

I also noticed several similar reports. I opened an issue on GitHub:
https://github.com/Microsoft/Git-Credential-Manager-for-Windows/issues/277,
also see http://stackoverflow.com/q/39016768/3906760.

--
Best regards,
Sven Strickroth
PGP key id F5A9D4C4 @ any key-server
Reply all
Reply to author
Forward
0 new messages