Repository navigation
v2026.11.5
-
Empty sequences answer what their BIPs answer
(closes #447, closes #448, closes #449).ssa.batch_verifyandbatch_verify_answerTruefor an empty
batch, andassert_batch_as_validandassert_batch_as_valid_
return, as BIP340's BatchVerify does. All four raised
EccValueError.ssa_halfagg.verifyanswersTrue, andassert_as_validreturns,
for 32 zero bytes and no pairs, the aggregate of no signature, as
BIP458's verify vector 0 expects. Both raisedEccValueError.musig2.nonce_agg_varandfrost.nonce_agg_varraise
EccValueErrorfor an empty list, where BIP327 and BIP445 fail.
Both returned 66 zero bytes.musig2.key_agg_varraises anEccValueErrorthat names the empty
list, where its message was "not a multi_mult_var".
key_agg_and_tweak_var, andsession_valueson a session with no
public keys, raise it too.musig2.partial_sig_aggandpartial_sig_agg_adaptorraise
EccValueErrorfor apsigslist whose length differs from the
session's public keys. With none, they returned a signature, or a
pre-signature, whose s was the tweak term alone.
Act on it if you relied on the refusal to catch an empty batch or
aggregate built by mistake: check the length before verifying.Act on it if you pass musig2 or frost an empty list of keys or nonces,
ormusig2.partial_sig_aggorpartial_sig_agg_adaptorapsigslist
of another length: expectEccValueError. If you match
"not a multi_mult_var", match the new message. -
The
secp256k1extra asks forbtclib-secp256k1at 0.8.0.14 or
later (closes #383). Itsdsarefuses a signature whose r or s is
outside 1..n-1.Act on it if you pin
btclib-secp256k1below 0.8.0.14: drop the pin and
upgrade, aspip install --upgrade 'ecc[secp256k1]'does. A plain
pip installleaves an installedeccand its bindings where they are.
CHANGELOG.md's own v2026.11.5 section has the rest.