Private keys committed to Github repositories
11–20 of 31 posts
Re: Private keys committed to Github repositories
#12No, this is people committing their private keys to a Github repository. Github is not at fault. edit: submitter has since updated the title, was: "Github giving away your private key"
I would say it's shared responsability. Yes commiting private data is stupid, and the other hand, just testing the new sesarch by trying to search for rsa key could Have Avoided this. Anyway, as usual the main problem exist between the chair and the keyboard.
Re: Private keys committed to Github repositories
#13Re: Private keys committed to Github repositories
#14Re: Private keys committed to Github repositories
#15Re: Private keys committed to Github repositories
#16 https://github.com/search?q=%40user-name-here+path%3A.ssh%2Fid_rsa&type=Code&ref=searchresultsRe: Private keys committed to Github repositories
#17Re: Private keys committed to Github repositories
#18lolwat?
private keys are private. these people -know- that they are pushing a git repo to a very public site. as such, they should recognize that * is going to be visible in their dotfiles repo. it's not git or github's fault that users are doin it wrong!
Re: Private keys committed to Github repositories
#19No, this is people committing their private keys to a Github repository. Github is not at fault. edit: submitter has since updated the title, was: "Github giving away your private key"
Seriously. It looks like people have added their private keys to (public!!!) repos, and voila, a search allows others to find that.
Now he doesn't log in to my server. Just sends me a zip-file that I unpack and test. sigh.
Re: Private keys committed to Github repositories
#20for those saying that github or git should have a default rule preventing private keys from being committed, I say: lolwat? private keys are private. these people -know- that they are pushing a git repo to a very public site. as such, they should recognize that * is going to be visible in their dotfiles repo. it's not git or github's fault that users are doin it wrong!
Adding a default .gitignore file with some sensible defaults has no negative trade offs. If you really do want to commit your .ssh folder, just remove that line from your .gitignore.
I will admit that adding .DS_Store, while convenient, might be impractical since git is meant to be platform agnostic, and they probably don't want to start adding all sorts of platform-specific files.