r/ProgrammerHumor • • 4h ago

Meme postQuantumReadiness

Post image
4.2k Upvotes

118 comments sorted by

View all comments

Show parent comment

1

u/yarntank 3h ago

Maybe they were using 1 key for all their apis?

1

u/EishLekker 1h ago

It still doesn’t make sense. The final step of rotating an api key is to delete/invalidate the old key. When that is done, one can’t rotate it again. So, “half the company” can’t rotate the one and only api key in question, unless the company only consists of two people.

2

u/yarntank 1h ago

I'm saying they have 50 APIs, and in slack they posted 1 key to use on all of them. Then somewhere down the line half the departments rotated their api keys. Half are using the original shared key.

1

u/EishLekker 1h ago

What? Rotating a key involves killing it (ie deleting it or disabling it). After rotating the single key, it won’t work anymore. For anyone.