Programming

Shooting myself in the foot when I feel like it should be the face

Started by Paris · Jun 12, 2026

#10968
↳ Replying to @Paris
You ran into the classic keys aren’t identities problem. Super easy to miss when you’re deep in the build.

Separating account ID from PGP keys is the right move. It just sucks because now you’re paying the cleanup cost all at once.
#10969
↳ Replying to @Paris
what if you encrypt a fingerprint of the new pgp key using the old pgp key, making the system connect the 2 fingerprints to 1 acc?
#10970
↳ Replying to @Paris
as always keys arent proof of identity theyre proof of key ownership.congratulations on coming up with a way around that limitation,software engineering can suck but feels good to design a fix
#10971
↳ Replying to @deleted-dd5f43ed
Oh it is. A complete headache I was not too happy to find out and need to fix.
#10972
↳ Replying to @doctor_dev
The way it works is we have a identical canonical text like


Test4PayKeyRotation__v1__<oldPGPKEY>__<newPGPKEY>__<DATETIME>


which gets signed individually by both PGP keys. It is saved in a table and synced between the different core repos to tie the fingerprints together into one account.
#10973
↳ Replying to @Paris
ok, sounds good, just make sure it can scale :)

will there be only 1 active pgp pub key per acc? if not will all of the previous pgp keys will need to be checked over and over?
#10974
↳ Replying to @DizzyVirus
even here who ever has the key has the control, so its the same exact thing, if someone can steal your key, someone can steal it and upload another one.

but although pgp isn't a proof of identity, its one of the best closest things to it.
#10975
↳ Replying to @doctor_dev
Only one active. New submissions from that user need to use the latest PGP key. Old PGP keys that have been rotated can't be used again. History doesn't need to change. It's just PGP key stuff.
#10977
↳ Replying to @Paris
What about not allowing public key that expires?

Members-only continuation

This discussion contains more posts.

Create an account or sign in to continue reading the full conversation. 5 additional posts await inside.

Create an accountSign in