README: elaborate trezor/ledger usage for GPG

nistp521
Roman Zeyde 7 years ago
parent 8aa08d0862
commit b5c4eca0d2
No known key found for this signature in database
GPG Key ID: 87CAE5FA46917CBB

@ -27,9 +27,19 @@ $ pip install --user (trezor|keepkey|ledger)_agent
## Identity creation ## Identity creation
[![asciicast](https://asciinema.org/a/90416.png)](https://asciinema.org/a/90416) [![asciicast](https://asciinema.org/a/90416.png)](https://asciinema.org/a/90416)
In order to use specific device type for GPG indentity creation, use either command:
```
$ DEVICE=(trezor,ledger) ./scripts/gpg-init "John Doe <john@doe.bit>"
```
## Sample usage (signature and decryption) ## Sample usage (signature and decryption)
[![asciicast](https://asciinema.org/a/120441.png)](https://asciinema.org/a/120441) [![asciicast](https://asciinema.org/a/120441.png)](https://asciinema.org/a/120441)
In order to use specific device type for GPG operations, set the following environment variable to either:
```
$ export GNUPGHOME=~/.gnupg/{trezor,ledger}
```
You can use GNU Privacy Assistant (GPA) in order to inspect the created keys You can use GNU Privacy Assistant (GPA) in order to inspect the created keys
and perform signature and decryption operations using: and perform signature and decryption operations using:

Loading…
Cancel
Save