Closed FrankC01 closed 1 year ago
A regression in pysui with SUI 0.26.0.
Using sui client new-address
to generate an secp256r1 key works with all signing in pysui however; the pysui creation of same key type fails on signing.
secp256r1 still failing intermittently on signing complaining that the s
value must be small.
pysui
is using a crypto library (ecdsa) that is conformant, however in debugging I see the s
value is sometimes much larger than the acceptable range defined by MystenLabs.
Having conversations with MystenLabs on this issue.
Finally have this fixed in the next release of pysui (0.15.0) which will be posted along with sui 0.28.1 release... soon!
As per https://github.com/MystenLabs/sui/pull/7423 Changes to secp256/k/r1 signing includes dropping the recovery byte
v