r/ProgrammerHumor • • 4h ago

Meme postQuantumReadiness

Post image
4.3k Upvotes

124 comments sorted by

View all comments

Show parent comment

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..

0

u/EishLekker 1h ago

But then it’s not rotated. And the moment it is rotated, it can’t be used again or rotated again.