Re: [PATCH 1/2] KEYS: fix signature length passed to KEYCTL_PKEY_VERIFY

From: Florian Bauckholt

Date: Wed Nov 18 2026 - 18:19:01 EST


On 11/17/26 14:21, Rodolfo Giometti wrote:
> The test suite of craf (https://github.com/giometti/crypto-afalg,
> test3008) hits this with RSA too: it cuts a genuine 256-byte RSA-2048
> PKCS#1 signature to 255 bytes and expects the verify to fail.
>
> Maybe it is worth saying so in the commit message, since this is going
> to stable?


Yes, I'll add it to v2 and link to your report.

> I'll send my Tested-by once test3008 has run 2000 times on a kernel
> with your patch applied.

Thanks. v2 is rebased but the code change is the same.

Florian