Page MenuHomePhabricator

[Cashtab] [p5 local msg verify] Support for verifying ecash signed msgs in xecjs-message verify
ClosedPublic

Authored by bytesofman on Nov 10 2022, 12:12.

Details

Summary

T2730

Depends on D12461

Modify the verify function to return true for messages signed with ecash prefix or bitcoin prefix

Test Plan
cd web/cashtab
npm start

In ElectrumABC, sign a message with ecash prefix
Run it through Verify
Notice in the dev log that newVerification is true, while verification is false

In cashtab, sign a message
Run it through verify
Notice that both approaches match

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

emack requested changes to this revision.Nov 13 2022, 14:04
emack added a subscriber: emack.

Upon signature verification success, I'm only seeing "Both signature verification methods return the same result" but no sign of newVerification or verification indicators in the logs.

image.png (128×331 px, 22 KB)

This revision now requires changes to proceed.Nov 13 2022, 14:04

Upon signature verification success, I'm only seeing "Both signature verification methods return the same result" but no sign of newVerification or verification indicators in the logs.

image.png (128×331 px, 22 KB)

This is expected behavior, the dev console only prints out the values if they are not the same

This revision is now accepted and ready to land.Nov 14 2022, 10:40