by orf · 3y ago · 0 comments
These specific expressions may contain non-public information about the structure of the tokens.
But imagine we live in a world where companies are OK with exposing this information publicly and investing time in keeping the expressions up to date.
Now what? How do you report it to services whilst stopping abuse? Like, if the code isn’t public then all this is an endpoint to let anyone to disable another users (or companies) key without any explanation or recourse.
Pushing to GitHub is actually quite an elegant solution to these issues I think, even if I do think it is a bit too centralized.
I wouldn’t like to wake up to an email that says “your key has been disabled because someone anonymously reported is as leaked, sorry if this has broken your entire system”.
What do you do with this, outside of obviously quarantining and/or disabling the key? How was it leaked? What’s the context?
1. Are not malicious
2. Have access to a key
3. Are unable or unwilling to commit it to GitHub
It would be great if this stuff was public and available without a central authority. But after working on it for a while it seems like a fairly good compromise.
A few cycles ago [4] sudhirj pointed out that you could just use an actual URL as your secret key and have that be the URL you visit to revoke it, and I think that is genius.
[1] https://news.ycombinator.com/item?id=34009442
[2] https://news.ycombinator.com/item?id=31335081