Conversation

Charlotte 🦝 therian

gross cryptography
Show content

The 3DS uses PKCS #1 v1.5 padding in their signature verification code. specifically they support type 2 padding, which is only meant to be used for RSA-OEAP or RSA-PSS not for RSA signing.

This makes it much easier to brute force a valid signature, since instead of the padding being all 00s or all FFs, it can be any non-zero value.

It is used as part of sighax but i propose an alternative name: messy padding

0
1
8