Thursday, March 9, 2023

Trezor on Fedora with GPG

 HOWTO

 

Install Python Trezor libs on Fedora

sudo dnf install  python-trezor
Install using PIP
pip3 install setuptools wheel
pip3 install --upgrade setuptools
pip3 install trezor
python3 -m pip install trezor[hidapi]

Initialize GPG with key from Trezor

trezor-gpg init "DaVe dave@somemail.com" -vv
export GNUPGHOME=~/.gnupg/trezor
$ find ~/.gnupg/trezor/
/home/dave/.gnupg/trezor/
/home/dave/.gnupg/trezor/run-agent.sh
/home/dave/.gnupg/trezor/gpg.conf
/home/dave/.gnupg/trezor/env
/home/dave/.gnupg/trezor/pubkey.asc
/home/dave/.gnupg/trezor/pubring.kbx~
/home/dave/.gnupg/trezor/pubring.kbx
/home/dave/.gnupg/trezor/trustdb.gpg
/home/dave/.gnupg/trezor/gpg-agent.log
/home/dave/.gnupg/trezor/ownertrust.txt
/home/dave/.gnupg/trezor/random_seed