Page MenuHomePhabricator

[Cashtab] [p5 match wif to address] Update private messaging decryption wif extraction approach
AbandonedPublic

Authored by emack on Aug 27 2022, 08:14.

Details

Reviewers
bytesofman
Group Reviewers
Restricted Project
Summary

Depends on D11886

As per T2599, this is part of a stacked diff to sign utxos for non-eToken txs by matching wit to address.

This diff:

  • adds a getUtxoWif helper function to extract the WIF for a given UTXO
  • changes the cashtab messaging decryption logic to use getUtxosWif to obtain the funding wif rather than relying on the soon to be deprecated .wif attribute of an XEC utxo object
Test Plan

npm test
send and receive encrypted messages

Diff Detail

Repository
rABC Bitcoin ABC
Branch
sendXecMatchWifToAddr
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 19882
Build 39476: Build Diffcashtab-tests
Build 39475: arc lint + arc unit

Event Timeline

emack requested review of this revision.Aug 27 2022, 08:14

Diff looks good. However, I am not able to arc patch this. I think needs a rebase given the changes to part 4.

This revision now requires changes to proceed.Aug 30 2022, 17:04
This revision is now accepted and ready to land.Aug 31 2022, 16:30

Due to mixed arcanist version issues, this stack landed in full when p1 landed

Please abandon

This revision now requires changes to proceed.Sep 20 2022, 21:26