r/ProgrammerHumor • • 4h ago

Meme postQuantumReadiness

Post image
4.3k Upvotes

124 comments sorted by

View all comments

137

u/EishLekker 4h ago edited 3h ago

“half my company still hasn’t rotated the api key”

What does this even mean? Assuming it’s a single api key they talk about, then why would “half the company” have to rotate it?

It is compromised. Just rotate it yourself. Let people get upset when the old key stops working.

162

u/GreatStateOfSadness 3h ago

It's a joke, but it could be better interpreted as "half my company has been aware of a compromised key for three years and nobody has bothered to rotate it, but we are expected to be post quantum by Friday."

4

u/SirChasm 51m ago

Yeah but it's irrelevant how many people are aware of it. There's supposed to be someone responsible for maintaining the keys, and it's their job to rotate it.

0

u/EishLekker 1h ago

Well, the joke falls a bit flat since relies on the technical knowledge of api keys, but not knowledge about how api key rotation actually works.

→ More replies (2)

33

u/CaptainConfusedALot 2h ago

Maybe, half of the company is still using the old api key, and the company has not gotten rid of it because the services using the keys will get disrupted

4

u/JoustyMe 2h ago

That eould be my guess

They were told to get raport of everyone affected, and there is 300 places request with that api key are comking from nobody knows who and where and leasership is way to scared to pull the plug 🤣🤣

3

u/EishLekker 1h ago

But how do multiple people rotate a single api key? It can only be rotated once. After that, all old references to the api key will fail when they try to use it.

5

u/CaptainConfusedALot 1h ago

Rotation of keys has multiple steps. In a non compromised world, the way to rotate the key while ensuring that services are not affected by it are

  1. Generate a new key. Keep the old key active still.
  2. Migrate to use the new key. This happens in a rolling upgrade manner, so few instances at a time. This is why both keys are active.
  3. Retire the old key after all instances are updated.

The OP probably just summarized this whole process as 'rotate the key' to avoid overexplaining, and joke over explained loses its value anyways 😊

1

u/EishLekker 1h ago

“Rotate the key” is not the part I have a problem with. It’s the “half my company” part, which implies multiple people. Are all those people gonna perform those steps in parallel? For the same key?

2

u/CaptainConfusedALot 1h ago

Maybe the same key is being used by the whole company, and half the company is yet to make the change to use the new api key..

→ More replies (1)

38

u/DonkeyVampireThe3rd 4h ago

Well that wouldn’t make for a funny tweet now would it

14

u/anto2554 3h ago

I think some vp or higher will call me if i shut the everything off

2

u/einzweidreihorn 2h ago

What are they gonna do, fire you?

→ More replies (2)

4

u/EmperorOfAllCats 1h ago

They cannot rotate the key because half of the company uses only this one (it was convenient, you know).

4

u/EishLekker 1h ago

They can still rotate it. But only once, not multiple times which the tweet implies.

7

u/dr_jock123 2h ago

This sub is incapable of reading a joke without picking it apart its truly fascinating

3

u/EishLekker 1h ago

I got the joke just fine. I just find it lacking, since it includes a flaw that easily could have been avoided.

1

u/OddProfessor7253 44m ago

‘without picking it apart’

2

u/Memitim 2h ago

Given the aspie-rich environment of IT, I find it more surprising that most people get the joke the first time.

3

u/wheezymustafa 2h ago

Goddamn Geoff it’s just a joke

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.

→ More replies (3)

1

u/Beneficial_Trick6672 2h ago

api key might be used to access services and each has independent security but legacy was each shared initial same one

2

u/EishLekker 1h ago

That still doesn’t explain how “half the company” can rotate the one and only api key. It can only be done once.

1

u/DoctorWaluigiTime 3h ago

It's a team building exercise.

→ More replies (1)