From b5c4eca0d261b0d1fef888a1fecf9e097aca46db Mon Sep 17 00:00:00 2001 From: Roman Zeyde Date: Wed, 17 May 2017 22:01:59 +0300 Subject: [PATCH] README: elaborate trezor/ledger usage for GPG --- README-GPG.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README-GPG.md b/README-GPG.md index d593ef7..3f0b3b4 100644 --- a/README-GPG.md +++ b/README-GPG.md @@ -27,9 +27,19 @@ $ pip install --user (trezor|keepkey|ledger)_agent ## Identity creation [![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 " +``` + ## Sample usage (signature and decryption) [![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 and perform signature and decryption operations using: