A command line tool and shell to manage keycards https://keycard.tech
Go to file
Andrea Franz 686709af55
fix Makefile
2019-03-21 12:26:17 +01:00
_assets add dockerfile 2019-03-21 11:01:15 +01:00
vendor show pub key after sign and update vendored keycard-go 2019-03-19 16:27:56 +01:00
.gitignore add .gitignore 2019-03-18 19:50:13 +01:00
Gopkg.lock show pub key after sign and update vendored keycard-go 2019-03-19 16:27:56 +01:00
Gopkg.toml show pub key after sign and update vendored keycard-go 2019-03-19 16:27:56 +01:00
LICENSE.md add LICENSE 2019-03-18 19:57:48 +01:00
Makefile fix Makefile 2019-03-21 12:26:17 +01:00
README.md Update README.md 2019-03-19 23:34:29 +01:00
initializer.go parse key path status 2019-03-15 16:09:38 +01:00
installer.go use identifiers.KeycardDefaultInstanceIndex 2019-03-11 12:56:22 +01:00
main.go interactive shell not allowed 2019-03-15 16:08:15 +01:00
shell.go fix sign output 2019-03-19 16:29:32 +01:00

README.md

keycard-cli

keycard-cli is a command line tool to manage Status Keycards.

Dependencies

To install keycard-cli you need go in your system.

MacOSX:

brew install go

Installation

go get -u github.com/status-im/keycard-cli

The executable will be installed in $GOPATH/bin. Check your $GOPATH with go env.

Usage

Card info

keycard info -l debug

The info command will print something like this:

Installed: true
Initialized: false
InstanceUID: 0x
PublicKey: 0x112233...
Version: 0x
AvailableSlots: 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.

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

keycard init -l debug

The init command initializes the card and generates the secrets needed to pair the card to a device.

PIN 123456
PUK 123456789012
Pairing password: RandomPairingPassword

Deleting the applet

⚠️ WARNING! This command will remove the applet and all the keys from the card. ⚠️

keycard delete -l debug

Keycard shell

TODO