3 ms·
That's an interesting point though, if you made the mistake of publishing a private key at some point and force-pushed your repo to remove it you expect it to b
by Sytten 8y ago
That's an interesting point though, if you made the mistake of publishing a private key at some point and force-pushed your repo to remove it you expect it to be gone from the system, but it's not.
I wonder if you could actually retrieve it from the cloned repo. Is it hidden somewhere in git?
EDIT: The cloned repos seems good, but following this post: https://stackoverflow.com/questions/3973994/how-can-i-recover-from-an-erronous-git-push-f-origin-master https://stackoverflow.com/questions/3973994/how-can-i-recove... you can easily find some "lost" commit and retrieve secrets. I checked with one of my repo and I realized I had compromised information...