News for hackers. Stuff that matters.
Re:Show HN: Send encrypted secrets from the command line by mkagenius on Thursday January 10, 2019 @12:35PM (#18875876)
On a side note, PSA: do not commit your AWS keys into github. Also, now you have the ability to make your repos private. Head over and do it now.
Re:Show HN: Send encrypted secrets from the command line by paulfurley on Thursday January 10, 2019 @12:42PM (#18875982)
Ha! Yeah. I must admit I've accidentally committed a Github access token before. It was in a `secrets.sh` file which I mistakenly thought was in `.gitignore` and carelessly added to a WIP commit.

Github was amazing, they detected it, saw that it was valid, and revoked the token. Big love.

On private repos: it would be a sad, sad thing if all those half-baked pet projects went away, there's an awful lot of valuable random stuff in public repos.

Re:Show HN: Send encrypted secrets from the command line by 0xb100db1ade on Thursday January 10, 2019 @12:57PM (#18876149)
Also PSA: if you ever decide to make said repo public, `git push --force` does not make the old commits unaccessible; doing so is not a secure way to remove secrets from a git remote before making it public