# Hardware-based SSH/GPG agent
[![Build](https://github.com/romanz/trezor-agent/actions/workflows/ci.yml/badge.svg)](https://github.com/romanz/trezor-agent/actions)
[![Chat](https://badges.gitter.im/romanz/trezor-agent.svg)](https://gitter.im/romanz/trezor-agent)
This project allows you to use various hardware security devices to operate GPG and SSH. Instead of keeping your key on your computer and decrypting it with a passphrase when you want to use it, the key is generated and stored on the device and never reaches your computer. Read more about the design [here](doc/DESIGN.md).
You can do things like sign your emails, git commits, and software packages, manage your passwords (with [pass](https://www.passwordstore.org/) and [gopass](https://www.justwatch.com/gopass/), among others), authenticate web tunnels and file transfers, and more.
See the following blog posts about this tool:
- [TREZOR Firmware 1.3.4 enables SSH login](https://medium.com/@satoshilabs/trezor-firmware-1-3-4-enables-ssh-login-86a622d7e609)
- [TREZOR Firmware 1.3.6 — GPG Signing, SSH Login Updates and Advanced Transaction Features for Segwit](https://medium.com/@satoshilabs/trezor-firmware-1-3-6-20a7df6e692)
- [TREZOR Firmware 1.4.0 — GPG decryption support](https://www.reddit.com/r/TREZOR/comments/50h8r9/new_trezor_firmware_fidou2f_and_initial_ethereum/d7420q7/)
- [A Step by Step Guide to Securing your SSH Keys with the Ledger Nano S](https://thoughts.t37.net/a-step-by-step-guide-to-securing-your-ssh-keys-with-the-ledger-nano-s-92e58c64a005)
Currently [TREZOR One](https://trezor.io/), [TREZOR Model T](https://trezor.io/), [Keepkey](https://www.keepkey.com/), [Ledger Nano S](https://www.ledgerwallet.com/products/ledger-nano-s), and [OnlyKey](https://onlykey.io) are supported.
## Components
This repository contains source code for one library as well as
agents to interact with several different hardware devices:
* [`libagent`](https://pypi.org/project/libagent/): shared library
* [`trezor-agent`](https://pypi.org/project/trezor-agent/): Using Trezor as hardware-based SSH/PGP agent
* [`ledger_agent`](https://pypi.org/project/ledger_agent/): Using Ledger as hardware-based SSH/PGP agent
* [`jade_agent`](https://pypi.org/project/jade_agent/): Using Blockstream Jade as hardware-based SSH/PGP agent
* [`keepkey_agent`](https://pypi.org/project/keepkey_agent/): Using KeepKey as hardware-based SSH/PGP agent
* [`onlykey-agent`](https://pypi.org/project/onlykey-agent/): Using OnlyKey as hardware-based SSH/PGP agent
The [/releases](/releases) page on Github contains the `libagent`
releases.
## Documentation
* **Installation** instructions are [here](doc/INSTALL.md)
* **SSH** instructions and common use cases are [here](doc/README-SSH.md)
Note: If you're using Windows, see [trezor-ssh-agent](https://github.com/martin-lizner/trezor-ssh-agent) by Martin Lízner.
* **GPG** instructions and common use cases are [here](doc/README-GPG.md)
* Instructions to configure a Trezor-style **PIN entry** program are [here](doc/README-PINENTRY.md)
没有合适的资源?快使用搜索试试~ 我知道了~
基于硬件的 SSH/PGP 代理_python_代码_下载
共81个文件
py:55个
gpg:10个
md:8个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 143 浏览量
2022-07-04
17:55:08
上传
评论
收藏 922KB ZIP 举报
温馨提示
该项目允许您使用各种硬件安全设备来操作 GPG 和 SSH。与其将密钥保存在您的计算机上并在您想要使用它时使用密码对其进行解密,不如将密钥生成并存储在设备上,并且永远不会到达您的计算机。在此处阅读有关设计的更多信息。 您可以执行诸如签署电子邮件、git 提交和软件包、管理密码(使用pass和gopass等)、验证 Web 隧道和文件传输等操作。 请参阅以下有关此工具的博客文章: TREZOR 固件 1.3.4 启用 SSH 登录 TREZOR 固件 1.3.6 — GPG 签名、SSH 登录更新和隔离见证的高级交易功能 TREZOR 固件 1.4.0 — GPG 解密支持 使用 Ledger Nano S 保护 SSH 密钥的分步指南 更多详情、使用方法,请下载后阅读README.md文件
资源推荐
资源详情
资源评论
收起资源包目录
trezor-agent-master.zip (81个子文件)
trezor-agent-master
release.sh 117B
.pylintrc 282B
.github
workflows
ci.yml 525B
tox.ini 441B
libagent
server.py 4KB
gpg
encode.py 4KB
agent.py 9KB
tests
71B5A80A63FE12B0D74DABBFE4A883364AAF6E16.gpg 18KB
test_agent.py 451B
80615870F5BAD690333686D0F2AD85AC1E42B367.gpg 766KB
test_decode.py 2KB
114D3A028A34F56550D403F6DD9DAA354E9AAB78.gpg 1KB
__init__.py 28B
77E9D99CBB9B4C961370BAF9AD4DD89F17138874.gpg 190B
romanz-pubkey.gpg 626B
test_protocol.py 4KB
test_keyring.py 3KB
088F8EB2D57AF4D64C40A5EA90AC201D7BFE5D13.gpg 7KB
ABAF11C65A2970B130ABE3C479BE3E4300411886.gpg 56KB
A4EB142E5FC2C898BAEC2C9B2BA8930D2B320C62.gpg 409B
181D005503DBE3ADC43D142D6FC4ECF01E42B367.gpg 11KB
86E6792FC27BFD478860C11091F3B339B9A02A3D.gpg 20KB
client.py 2KB
__init__.py 13KB
decode.py 11KB
protocol.py 9KB
keyring.py 8KB
signify
__init__.py 4KB
tests
test_server.py 3KB
test_formats.py 5KB
__init__.py 35B
test_util.py 3KB
test_interface.py 240B
util.py 7KB
formats.py 8KB
__init__.py 70B
age
client.py 2KB
__init__.py 5KB
device
keepkey_defs.py 755B
trezor.py 6KB
fake_device.py 3KB
interface.py 4KB
keepkey.py 1KB
__init__.py 77B
jade.py 6KB
onlykey.py 16KB
onlykey_defs.py 137B
ui.py 5KB
trezor_defs.py 960B
ledger.py 4KB
ssh
tests
__init__.py 35B
test_protocol.py 7KB
test_client.py 5KB
client.py 3KB
__init__.py 11KB
protocol.py 6KB
LICENSE 7KB
agents
ledger
ledger_agent.py 256B
setup.py 1KB
fake
fake_device_agent.py 260B
setup.py 1KB
onlykey
onlykey_agent.py 253B
setup.py 1KB
keepkey
keepkey_agent.py 132B
setup.py 1KB
trezor
trezor_agent.py 316B
setup.py 2KB
jade
jade_agent.py 258B
setup.py 2KB
doc
README-NeoPG.md 1KB
README-PINENTRY.md 2KB
README-GPG.md 8KB
DESIGN.md 4KB
INSTALL.md 6KB
enigmail.md 1KB
README-SSH.md 8KB
setup.py 2KB
.gitignore 730B
README.md 3KB
.bumpversion.cfg 93B
contrib
neopg-trezor 587B
共 81 条
- 1
资源评论
快撑死的鱼
- 粉丝: 1w+
- 资源: 9156
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功