Skip to content

Commands to implement for the cktap-cli #16

@notmandatory

Description

@notmandatory

For higher level CLI commands we should be able to generally replicate the python cli commands, except only enable the commands and options appropriate for the card type the user connects to. I excluded the commands from the cktap --help output that aren't needed to exercise the lib commands. We can also skip the multi-card commands like list.

shared:

  • status: Show status of card
  • certs: Check this card was made by Coinkite: Verifies a certificate...
  • cvc: input spending code (CVC) when required.
  • wait: 15 second wait after card is locked due to CVC entered wrong 3 times.
  • url: Get website URL used for NFC verification, and optionally open it

satscard only:

  • address: Show current deposit address.
  • read: Show the slot public key.
  • new: pick a new private key for a fresh slot.
  • unseal: Unseal current slot and reveal private key.
  • derive: verify derived address from chain code.
  • dump: Show state of slot number indicated.
  • sign: Add signature to a PSBT (if possible).

tapsigner or satschip only:

  • read: Read the pubkey .
  • init: Initialize a new card.
  • derive: Change the subkey derivation path to use (shows xpub).
  • backup: Backup private key from card into AES-128-CTR encrypted file.
  • change: Change the CVC code (PIN code).
  • xpub: Show the xpub in use.
  • sign: Add signature to a PSBT (if possible).

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions