Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

If someone being able to download your source code repository is opening yourself up to attacks, you're doing something wrong. Either you are relying on security through obscurity, or you checked keys into git. Both horrible practices.


> you checked keys into git. Both horrible practices.

Hey! That's not very kind to disparage everyone using a text file in a git repo to manage their passwords/keys.

Putting keys into a git repo is fine! But be careful when publishing that repo, as something you thought was private could suddenly become public.


It still is a pretty bad practice though.


I would do it, if I was certain I could avoid accidentally publishing the repo. I'd never describe it as 'bad', as that's extremist & it's easy for someone who does this to misinterpret you as saying, "you are bad for doing this and not following best practices".


Do you give everyone complete access to your production code?


Yes? It’s under GPL, after all.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: