Re:Auth0 JWT Auth Bypass: Case-Sensitive Blacklisting Is Har...
by XMPPwocky on Thursday April 16, 2020 @04:50PM
(#22893404)
And to be clear, these are not "oh, an adaptive chosen plaintext attack and 2^56 compute may be able to forge signatures" bugs.
These are real, exploitable, and many of the fixes probably won't be backported.
Most of them.
You're either using gnupg or you're using some custom PGP implementation.
A custom PGP implementation has far more footguns than a restricted JWT implementation.
Gnupg is a deeply terrifying codebase- for example, did you know you're not supposed to use the exit code of gpg --verify? You must parse statusfd, too, or many bugs will let you spoof signatures. (Bugs found as recently as this year).
I'd encourage anybody considering using gnupg for anything to read mainproc.c and see if they understand what's going on.