mirror of
https://github.com/romanz/amodem.git
synced 2026-04-20 13:16:42 +08:00
README: elaborate trezor/ledger usage for GPG
This commit is contained in:
@@ -27,9 +27,19 @@ $ pip install --user (trezor|keepkey|ledger)_agent
|
|||||||
## Identity creation
|
## Identity creation
|
||||||
[](https://asciinema.org/a/90416)
|
[](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)
|
||||||
[](https://asciinema.org/a/120441)
|
[](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:
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user