News for hackers. Stuff that matters.
Re:GitHub commit search: “remove password” by shimo5037 on Wednesday February 15, 2017 @10:19AM (#13652551)
It can be slightly more complex than that if you use a package manager to publish your work. I once accidentally leaked a password due to having both a .gitignore and an .npmignore, and forgetting to include my .env file in the latter. Fortunately, I realized what had happened almost immediately and was able to change the password. Now I tend to `tar tf` everything before publishing.
Re:GitHub commit search: “remove password” by matt_kantor on Thursday February 16, 2017 @01:14PM (#13662157)
Because of issues like this I tend to set up my deploy scripts to first `git clone` into a temporary directory, then do the rest of the work from there.
Re:GitHub commit search: “remove password” by gkya on Wednesday February 15, 2017 @01:51PM (#13654355)
I believe that it's better to not have that kind of sensitive files be dotfiles.