git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* credentials are being erased from credential manager via git credential-wincred erase command
@ 2016-04-13 18:49 O'Connell, Ken
  2016-04-13 19:12 ` Bryan Turner
  0 siblings, 1 reply; 3+ messages in thread
From: O'Connell, Ken @ 2016-04-13 18:49 UTC (permalink / raw)
  To: git@vger.kernel.org

Good afternoon,

My company setup wincred for management of our git/stash user credentials for our automated build scripts. It works great for days, sometimes a couple weeks. 
Then one day build haven't run and we discover the scripts are randomly found at a user prompt awaiting stash user credentials. 

We look at Windows Credential Manager store in Windows and find the Stash user credentials are erased from Credential Manager! 

We discovered via GIT_TRACE, that the command used to retrieve the credentials, is being followed up by a git command to erase the credentials. -not all the time, but seemingly in a random way.
Looking at the trace logs on one server, we see the following commands:
'git-remote-https' 'origin' https://stash-server/bla/bla/bla.git
'git-credential-wincred' 'get'
'git credential-wincred erase'

Do you have ideas on how to track down the root cause of why this command is running?  

Info:
Windows 7 machines
Git version 1.9.5-msysgit, and Git 2.7.4 windows (on one machine to see if upgrading helped) -it did not.
Stash version 3.11.2

Please let me know if I can get any more information to help diagnose.
Thanks,
-Ken

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-04-13 22:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-13 18:49 credentials are being erased from credential manager via git credential-wincred erase command O'Connell, Ken
2016-04-13 19:12 ` Bryan Turner
2016-04-13 22:00   ` Jeff King

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).