fcd56716261ee3308258d4a8196ac49f8171bdc0
gpg: handle KEYINFO request See https://git.gnupg.org/cgi-bin/gitweb.cgi?p=gnupg.git;a=blob;f=agent/command.c;h=9522f898997e95207d59122d056f0f0be03ccecb;hb=6bee88dd067e03e7767ceacf6a849d9ba38cc11d#l1027 for more details.
Using TREZOR as a hardware SSH/GPG agent
See SatoshiLabs' blog posts about this feature:
- TREZOR Firmware 1.3.4 enables SSH login
- TREZOR Firmware 1.3.6 — GPG Signing, SSH Login Updates and Advanced Transaction Features for Segwit
Installation
First, make sure that the latest trezorlib Python package is installed correctly (at least v0.6.6):
$ apt-get install python-dev libusb-1.0-0-dev libudev-dev
$ pip install Cython trezor
$ pip install -U setuptools
Then, install the latest trezor_agent package:
$ pip install trezor_agent
Finally, verify that you are running the latest TREZOR firmware version (at least v1.4.0):
$ trezorctl get_features | head
vendor: "bitcointrezor.com"
major_version: 1
minor_version: 4
patch_version: 0
...
If you have an error regarding protobuf imports (after installing it), please see this issue.
Usage
For SSH, see the following instructions.
For GPG, see the following instructions.
Questions, suggestions and discussions are welcome:
Troubleshooting
If there is an import problem with the installed protobuf package,
see this issue for fixing it.
Description
Languages
Python
99.9%