practical-revault icon indicating copy to clipboard operation
practical-revault copied to clipboard

Watchtowers policy configuration, setup and update

Open darosior opened this issue 5 years ago • 3 comments

We still have not settled on this..

darosior avatar Oct 21 '20 08:10 darosior

This is tightly related to the ceremony and the setup.

darosior avatar Nov 13 '20 15:11 darosior

After discussion IRL with @JSwambo and @kloaec , the process the more aligned with a decent UX for stakeholders and futures extensions of the protocol (watchtower rental) is to:

  • Add a "change policy" tab to the GUI (cc @edouardparis )
  • Get a policy configuration file out of a nice interface (checkboxes?)
  • Sign this file using the Bitcoin HM (this assumes to be able to read the content of the file on the HM screen) and probably a custom pk (maybe m/0/0/)
  • Send it through the Noise KK channel with the watchtower
  • The WT verifies the signature (since it has the xpub) and changes its policy on-the-fly

darosior avatar Nov 15 '20 11:11 darosior

Marking as settled as it seems to be the best solution but needs some re-hashing imo

darosior avatar Nov 22 '20 16:11 darosior