Hardware-based SSH/PGP agent
Go to file
2017-05-06 20:40:23 +03:00
agents setup: add Python 3.6 support 2017-05-01 21:37:32 +03:00
libagent ssh: remove unused git-related code 2017-05-06 20:40:23 +03:00
scripts Split the package into a shared library and separate per-device packages 2017-04-29 18:34:46 +03:00
.gitignore gitignore: sublime text project files 2016-07-26 17:57:34 +03:00
.pylintrc fix pylint warnings 2017-04-21 22:56:50 +03:00
.travis.yml Split the package into a shared library and separate per-device packages 2017-04-29 18:34:46 +03:00
LICENSE Initial commit 2015-06-06 17:42:48 +03:00
README-GPG.md README: password manager usage example 2017-03-28 21:21:35 +03:00
README-SSH.md README: add Hg demo 2016-11-08 21:45:42 +02:00
README.md README: update device-related info 2017-04-29 20:51:18 +03:00
setup.py setup: add Python 3.6 support 2017-05-01 21:37:32 +03:00
tox.ini Split the package into a shared library and separate per-device packages 2017-04-29 18:34:46 +03:00

Using TREZOR as a hardware SSH/GPG agent

Build Status Python Versions Package Version Development Status Downloads

See SatoshiLabs' blog posts about this feature:

Installation

Install the following packages:

$ apt-get install python-dev libusb-1.0-0-dev libudev-dev
$ pip install -U setuptools pip

Make sure you are running the latest firmware version on your hardware device. Currently the following firmware versions are supported:

TREZOR

Make sure that your udev rules are configured correctly. Then, install the latest trezor_agent package:

$ pip install trezor_agent

Or, directly from the latest source code:

$ git clone https://github.com/romanz/trezor-agent
$ pip install --user -e trezor-agent/agents/trezor

If you have an error regarding protobuf imports (after installing it), please see this issue.

KeepKey

Make sure that your udev rules are configured correctly. Then, install the latest keepkey_agent package:

$ pip install keepkey_agent

Or, directly from the latest source code:

$ git clone https://github.com/romanz/trezor-agent
$ pip install --user -e trezor-agent/agents/keepkey

Ledger Nano S

Make sure that your udev rules are configured correctly. Then, install the latest ledger_agent package:

$ pip install ledger_agent

Or, directly from the latest source code:

$ git clone https://github.com/romanz/trezor-agent
$ pip install --user -e trezor-agent/agents/ledger

Usage

For SSH, see the following instructions (for Windows support, see trezor-ssh-agent project (by Martin Lízner)).

For GPG, see the following instructions.

See here for PIN entering instructions.

Troubleshooting

If there is an import problem with the installed protobuf package, see this issue for fixing it.

Gitter

Questions, suggestions and discussions are welcome: Chat