News for hackers. Stuff that matters.
Re:A way to exclude sensitive files issue still open for Ope... by tmp10423288442 on Sunday June 28, 2026 @01:19PM (#48709414)
> If you fail to prevent a private key from being added to your repository, you can reverse this and purge it from the blobs and reflog as if it never happened.

Only if you’re absolutely sure that it’s never been pushed to a public repository. I would treat a push of a private key to GitHub as a much higher emergency than it being sent to OpenAI (or even being accidentally used in a Google search), since there are bots that actively scan GitHub for private keys, such that your private key might be found within a few minutes of push.

There are no comments on this comment yet.