Cryptanalysis of a code-based full-time signature
Cryptanalyzes the SHMWW code-based Lyubashevsky-style signature: set-bit bias in signatures leaks private-key columns, letting an attacker recover the key from about 10 signatures.
Schemes: SHMWW, Lyubashevsky framework, Dilithium, CFS, Wave, Durandal, Stern identification
Findings (quotes checked against the source text)
-
The SHMWW code-based signature leaks key structure through a strong bias in set bits of signatures, enabling full key recovery from few signatures.
The existence of two types of columns leads to a strong bias in the distribution of set bits in produced signatures.
-
Key recovery succeeds with as few as 10 signatures, so SHMWW is secure at best for one-time use.
In light of our results, the SHMWW scheme can only be considered secure for one-time usage (at best)
-
Hamming-metric code-based Lyubashevsky adaptations remain hard; prior attempts were broken or left open.
In the end, the problem of adapting the Lyubashevsky protocol through a decoding problem in the Hamming metric (which has been studied for decades and is now well-understood) is still open.
-
Hash-and-sign code-based schemes like Wave need very large public keys and slow signing, while Fiat-Shamir code-based signatures are long.
However, Wave still requires a public key of over 3 megabytes for 128 bits of classical security, and signing times of about 0.3 seconds.
Numbers (as extracted, not quote-checked)
- Signatures needed for successful key recovery (Para-1 and Para-2, experimental): as few as 10 signatures
- Wave public key size at 128-bit classical security: over 3 megabytes
- Wave signing time: about 0.3 seconds
- Signatures for N* at confidence 0.9 (Para-1 / Para-2): 250 / 264
For builders
Do not adopt code-based Lyubashevsky-style signatures without checking for signature-distribution leakage; this paper is a cautionary case, not a candidate for a PQ chain.
Limits
Attack applies only to the SHMWW scheme and its parameter sets; it does not break lattice schemes such as Dilithium or hash-based schemes.
Topics: sig-other cryptanalysis survey