News for hackers. Stuff that matters.
Re:Hell Is Overconfident Developers Writing Encryption Code by EE84M3i on Saturday February 01, 2025 @12:32AM (#42895937)
Now it's possible for someone to ask the server to sign a blob that they only know the hash of. Is that an issue in your threat model? No idea.
Re:Hell Is Overconfident Developers Writing Encryption Code by magicalhippo on Saturday February 01, 2025 @06:24AM (#42897584)
I feel threat modelling is the really difficult part in gluing together known-good crypto parts into a solution.

I've glued together crypto library calls a few times, and I've implemented RFCs when I've done so, like HKDF[1].

But that isn't enough if the solution I've chosen can easily be thwarted by some aspect I didn't even consider. No point in having a secure door lock if there's an open window in the back.

[1]: https://www.rfc-editor.org/rfc/rfc5869