mirror of
https://github.com/status-im/keycard-cli.git
synced 2025-03-01 04:10:33 +00:00
add README table of contents
This commit is contained in:
parent
5b9dc3a4d9
commit
1c6700c165
35
README.md
35
README.md
@ -2,6 +2,14 @@
|
|||||||
|
|
||||||
`keycard-cli` is a command line tool to manage [Status Keycards](https://github.com/status-im/status-keycard).
|
`keycard-cli` is a command line tool to manage [Status Keycards](https://github.com/status-im/status-keycard).
|
||||||
|
|
||||||
|
* [Dependencies](#dependencies)
|
||||||
|
* [Installation](#intallation)
|
||||||
|
* [Card info](#card-info)
|
||||||
|
* [Keycard applet installation](#keycard-applet-installation)
|
||||||
|
* [Card initialization](#card-initialization)
|
||||||
|
* [Deleting the applet](#deleting-the-applet)
|
||||||
|
* [Keycard shell](#keycard-shell)
|
||||||
|
|
||||||
## Dependencies
|
## Dependencies
|
||||||
|
|
||||||
To install `keycard-cli` you need `go` in your system.
|
To install `keycard-cli` you need `go` in your system.
|
||||||
@ -19,17 +27,6 @@ Check your `$GOPATH` with `go env`.
|
|||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
### Install the keycard applet
|
|
||||||
|
|
||||||
The install command will install an applet to the card.
|
|
||||||
You can download the status `cap` file from the [status-im/status-keycard releases page](https://github.com/status-im/status-keycard/releases).
|
|
||||||
|
|
||||||
```bash
|
|
||||||
keycard install -l debug -a PATH_TO_CAP_FILE
|
|
||||||
```
|
|
||||||
|
|
||||||
In case the applet is already installed and you want to force a new installation you can pass the `-f` flag.
|
|
||||||
|
|
||||||
### Card info
|
### Card info
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
@ -47,6 +44,17 @@ Version: 0x
|
|||||||
AvailableSlots: 0x
|
AvailableSlots: 0x
|
||||||
KeyUID: 0x
|
KeyUID: 0x
|
||||||
```
|
```
|
||||||
|
### Keycard applet installation
|
||||||
|
|
||||||
|
The `install` command will install an applet to the card.
|
||||||
|
You can download the status `cap` file from the [status-im/status-keycard releases page](https://github.com/status-im/status-keycard/releases).
|
||||||
|
|
||||||
|
```bash
|
||||||
|
keycard install -l debug -a PATH_TO_CAP_FILE
|
||||||
|
```
|
||||||
|
|
||||||
|
In case the applet is already installed and you want to force a new installation you can pass the `-f` flag.
|
||||||
|
|
||||||
|
|
||||||
### Card initialization
|
### Card initialization
|
||||||
|
|
||||||
@ -63,10 +71,13 @@ PUK 123456789012
|
|||||||
Pairing password: RandomPairingPassword
|
Pairing password: RandomPairingPassword
|
||||||
```
|
```
|
||||||
|
|
||||||
### Deleting the applet from the card
|
### Deleting the applet
|
||||||
|
|
||||||
:warning: **WARNING! This command will remove the applet and all the keys from the card.** :warning:
|
:warning: **WARNING! This command will remove the applet and all the keys from the card.** :warning:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
keycard delete -l debug
|
keycard delete -l debug
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Keycard shell
|
||||||
|
TODO
|
||||||
|
Loading…
x
Reference in New Issue
Block a user