Re:Show HN: I built an open source event-management system
by pr0tocol_7 on Monday May 14, 2018 @12:05PM
(#17066631)
made a little tool to catch these things https://github.com/zricethezav/gitleaks. working on a CI version of it right now as well. gotta protect those credentials.
edit: ci version here - https://github.com/zricethezav/gitleaks-ci. work in progress, trying to add readme and instructions tonight. Also if anyone is interested in making gitleaks-ci into a paid github app... hmu
Re:Show HN: I built an open source event-management system
by ezekg on Wednesday May 16, 2018 @12:51PM
(#17083960)
This is very cool! I built something very similar about a year back [0] -- yours looks like it supports some things that mine doesn't but that I've been wanting to add, such as providing the commit hash of the offending commit, which isn't something mine does due to the git diff parsing package I'm using.
Re:Show HN: I built an open source event-management system
by rsyring on Monday May 14, 2018 @08:38AM
(#17064877)
If anyone wants to keep secrets in a repo, git-crypt is your friend:
Re:Show HN: I built an open source event-management system
by Selfcommit on Monday May 14, 2018 @09:43AM
(#17065421)
BlackBox is also great for this purpose:
Re:Show HN: I built an open source event-management system
by rasjani on Tuesday May 15, 2018 @04:48AM
(#17072549)
Albeit I havent made any effort to try to fix it - its a bit hard to compile on Windows.
Re:Show HN: I built an open source event-management system
by iyanuashiri on Monday May 14, 2018 @09:07AM
(#17065120)
Thanks. Checking it out
Re:Show HN: I built an open source event-management system
by solox3 on Monday May 14, 2018 @10:39AM
(#17065906)
Old commits are still showing the credentials. Recommend following this guide to erase your .env from all commits.
https://help.github.com/articles/removing-sensitive-data-fro...
Re:Show HN: I built an open source event-management system
by krageon on Monday May 14, 2018 @10:51AM
(#17066022)
It's too late now in any case. Removing them is cute, but in terms of security credentials can only be rotated now. Removing them doesn't help when someone has already pulled that history previously.
Re:Show HN: I built an open source event-management system
by bausshf on Tuesday May 15, 2018 @05:03AM
(#17072626)
You should still do it for future references
Re:Show HN: I built an open source event-management system
by tschellenbach on Monday May 14, 2018 @11:22AM
(#17066252)
Founder of Stream here. I recommend that you rotate your API credentials. It's easy to do that in the dashboard.
Re:Show HN: I built an open source event-management system
by iyanuashiri on Monday May 14, 2018 @09:06AM
(#17065116)
Thank you for this. I will do that ASAP
Re:Show HN: I built an open source event-management system
by dwightgunning on Monday May 14, 2018 @11:26AM
(#17066285)
Just a heads up (since I work at getstream.io) that you can easily and quickly rotate the Stream app key/secret via the dashboard.
Feel free to contact our support or myself directly - [email protected] - if you need a hand.
Re:Show HN: I built an open source event-management system
by mynewtb on Monday May 14, 2018 @11:54AM
(#17066535)
Do you have no process ready to rotate a user's exposed credentials? It's what I would expect from any service provider once they become aware of an exposure.
Re:Show HN: I built an open source event-management system
by patrickbolle on Monday May 14, 2018 @12:04PM
(#17066623)
Isn't this exactly what he explained? The user has a easy toggle on their dashboard to rotate credentials - and if he needs a hand with it, contact their support for some help.
Re:Show HN: I built an open source event-management system
by detaro on Monday May 14, 2018 @12:09PM
(#17066667)
I think the parents question was why they wait for the customer to do something instead of blocking/rotating the compromised credentials once they became aware of their existence.
E.g. I remember reading that Amazon even scans Github for AWS credentials proactively now, since this happened all the time.
Re:Show HN: I built an open source event-management system
by badestrand on Monday May 14, 2018 @05:02PM
(#17069425)
Obviously they don't want to break their customer's production system without asking.
Edit: oh and some database credentials & getstream.io api credentials