A pinentry for GPG with Trezor
Project description
# Trezor-style PIN entry for GPG
This is an alternate PIN entry for use with [trezor-agent](https://github.com/romanz/trezor-agent/) or for people with number-only PINs. It displays a grid of unlabeled buttons and supports configurable keyboard mappings, by default allowing entry via these keys:
` w e r u i o 7 8 9 s d f j k l 4 5 6 x c v m , . 1 2 3 `
### Installation
Run pip install trezor-gpg-pinentry-tk
Find where it’s installed with by running which trezor-gpg-pinentry-tk
Add this line to $GPGHOME/gpg-agent.conf: pinentry-program /path/to/trezor-gpg-pinentry-tk
Run echo RELOADAGENT | gpg-connect-agent or restart your computer
### Configuration
Set these environment variables on your gpg-agent daemon, by overriding /usr/lib/systemd/user/gpg-agent.service for example.
PINENTRY_TREZOR_LOG_PATH = /path/to/log/file. Enable logging and write logs to /path/to/log/file
PINENTRY_TREZOR_DONT_FLASH = 1. Don’t show which keypad button was pressed when using the keyboard.
PINENTRY_TREZOR_KEYSET = 123456789. Use this letter grid for keyboard entry.
PINENTRY_TREZOR_DONT_EXPLAIN = 1. Don’t explain or show the grid when entering via TTY.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file trezor-gpg-pinentry-tk-0.0.3.tar.gz
.
File metadata
- Download URL: trezor-gpg-pinentry-tk-0.0.3.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 68d9a9c14bd9b6307523f176dd200bdaf0f232ce86600dde9e828df69e1d43f2 |
|
MD5 | b011da95989476c1dc6ee2d507b99214 |
|
BLAKE2b-256 | 0525f42957875b896b757b3a5c73d5e95287cf42d18eb148dca37e1f09495dd5 |