rust-hwi icon indicating copy to clipboard operation
rust-hwi copied to clipboard

Add missing commands

Open danielabrozzoni opened this issue 3 years ago • 4 comments

At the moment, this crate only supports some HWI commands. We are missing: Optional arguments:

  • [x] --debug (#23)
  • [x] --version
  • [ ] --interactive
  • [x] --expert

Commands:

  • [x] setup
  • [x] wipe (#25)
  • [x] restore
  • [ ] backup
  • [ ] promptpin
  • [x] togglepassphrase (#24)
  • [ ] sendpin
  • [x] installudevrules

This issue shouldn't be tackled in one giant PR. Instead, please, open one PR each new command/argument you add.

danielabrozzoni avatar Feb 19 '22 13:02 danielabrozzoni

Hi @danielabrozzoni, is there documentation I can refer to, for the expected functionality of wipe (or other commands too)?

fireballpoint1 avatar Mar 13 '22 12:03 fireballpoint1

Sure :) You should look at the HWI docs: https://hwi.readthedocs.io/en/latest/

I'd also suggest to install some hardware wallet simulator and try out the various commands yourself using the hwi cli, as described in my link above :)

danielabrozzoni avatar Mar 13 '22 14:03 danielabrozzoni

How should I tackle --interactive ? Also I think togglepassphrase is the easiest one to add currently

anishagg17 avatar Jun 01 '22 06:06 anishagg17

How should I tackle --interactive ?

Eh, I'm not really sure. I'd start with playing around with hwi to understand how it's used...

Also I think togglepassphrase is the easiest one to add currently

Cool! Leave a comment under this issue if you want to work on it :)

danielabrozzoni avatar Jun 01 '22 12:06 danielabrozzoni