注册并分享邀请链接,可获得视频播放与邀请奖励。

Mark Karpelès
@MagicalTux
Tech first / / / Press inquiries: contact@magicaltux.net / Opinions are my own
加入 February 2009
158 正在关注    41.4K 粉丝
As part of the rebranding Yoroi→SecondFi, the app was fully revamped and version bumped from 7.x.x to 10.x.x. The code was moved from its old cryptoxide (no commits in 4 years) version to a pure-JS based on noble/curves. The signature code for ed25519 in there is fine, but the prefix which was supposed to be passed is lost in the adapter. It's being passed, but never assigned in the adapter, so an empty prefix is passed to hashDomainToScalar() resulting in the nonce being the transaction itself only.
显示更多