DEV Community

Adam Sung Min Park
Adam Sung Min Park

Posted on

sEcuRitY BreAch (git-crypt)

Tell me you are new to coding without telling me you are new to coding:

Naive enough to put my DB credentials into my github PLAINTEXT.

I thought what could go wrong with my credentials when committing to the github without encrypting it, and today i learned how.
I was working on my project as always and suddenly my data seemed weird. When i checked my DB there were bunch of random data inserted into the column. It basically ruined all my data since i used the same database for all my other projects as well.
At first I thought it would be ok to expose my credentials online since i thought it would do me no harm and give them no gain.
Anyways, I just finished implementing git-crypt to hide all my credentials across my repos.
glad to learn something so important with such a little price.
Security is always going to be on top of my list now

TL;DR : "save" what you worked for

Top comments (0)