You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Review finding: bounded30 FORS+C index is 112 bits and the signature cap is wallet-local #261
The bounded30 profile's FORS+C omits one 16-bit tree (7 x 16 = 112 bits), and the 2^30 signature cap is a wallet-local call counter, not part of the signature.
Observed
SPX_FORS_TREES=8, SPX_FORS_SIG_TREES=7, SPX_FORS_HEIGHT=16. The wallet counter is not committed; signrawtransactionwithkey starts a fresh counter map per call. Two distinct messages with the same (tree, leaf) appear around 83k signatures; the post-FORS path is byte-identical.
Impact
The 128s label overstates the FORS index margin; a raw-key signer can exceed the cap, and repeated use of one leaf lowers the margin further.
Suggested fix
Persist a durable counter for raw-key signing; commit the counter or lower/rotate the cap for high-value keys; use a wider profile where the 112-bit margin matters.
Activity
doc: document bounded30 usage-dependent security margin and raw-key c…
djh58 commentedon Nov 2, 2026
Documented by #264 (merged into 1.x.x).