Clear text password displayed in "author" column
Answered
I am using pycharm, upsource and gogs for VCS. When I choose to look at the VCS history in pycharm, the window shows, among other things, an author column that displays my username. When I hover over the column, my password is displayed in clear text "myusername <myclearpassword>".
Is this a bug? or is there something I can do to fix it?
Thank you
Please sign in to leave a comment.
Seems like you accidently entered a password when IDE prompted you to enter user.name and user.email for git. As a result, the password is treated as email.
You will see exactly the same output if you run git log in console.
What you can do here is to rewrite author for the problematic commits. This can be achieved in the several ways. For example, you could use interactive rebase, or special script.
See for details:
https://help.github.com/articles/changing-author-info/
http://stackoverflow.com/questions/750172/change-the-author-and-committer-name-and-e-mail-of-multiple-commits-in-git
http://stackoverflow.com/questions/3042437/change-commit-author-at-one-specific-commit
Eek! Ok. I'll give those a try! Thank you
The same problem for two of my colleagues who use pycharm. They use the newest version of pycharm. What is the solution?
The solution is to
1. Correct git config - make sure user.name is set correctly. Seems currently a password is set as the user name. Check both global config
2. Rewrite history to change the author of problematic commits. See the links in the post above.