unisat-wallet / wallet-sdk

ISC License
43 stars 26 forks source link

Wallet SDK 使用的是旧版的tiny-secp256k1版本,签名有问题 #9

Open SephirothLT opened 4 months ago

SephirothLT commented 4 months ago

UNISAT Wallet SDK 使用的是旧版的tiny-secp256k1版本,签名有问题。当前使用的v2.2.1版本签名会输出不同结果如果auxRand32为空的话,详见此链接:https://github.com/bitcoinjs/tiny-secp256k1/issues/118 但是看到项目之前是2.2.3 降级为2.2.1是为了兼容:https://github.com/unisat-wallet/wallet-sdk/commit/56dbb3a2882944f1da099665ee585aeb6f0e2ab5

请问怎么处理?是使用新版的签名还是使用旧版的签名? @huanniangstudio

SephirothLT commented 4 months ago

https://github.com/paulmillr/noble-curves/issues/61