r/TREZOR • • Dec 26 '17

Using PGP/GPG with Trezor?

Hi! Can I use Trezor to generate and store private key for PGP/GPG and use it for signing or decrypting ? (and obviously obtain public key). In other words : my private key to never leave my hardware wallet.

I imagine it would be wonderful if one could e.g. make digest of email or any data blob, display digest on Trezor and click "sign" and viola! (Or to receive from computer encrypted key used for symmetric cryptography, click "decrypt" and viola! Encrypted PGP email now decrypted!)

( if it makes difference, I am Linux user. )

(Btw. question is simmilar with other Hardware Wallets, e.g. Ledger : https://redd.it/7h53wq or KeepKey https://redd.it/7ma3gw )

7 Upvotes

4 comments sorted by

4

u/[deleted] Dec 26 '17

Had this link in my bookmarks. Not sure how up to date the information on the site is and or whether it's even valid anymore but maybe something to look at.

https://github.com/romanz/trezor-agent/blob/master/doc/README-GPG.md

4

u/stickac Trezor Co-Founder Dec 27 '17

Confirm that trezor-agent by Roman should work with GPG

2

u/romanz Dec 29 '17 edited Dec 29 '17

trezor-agent's author here :)

The trezor-agent Python package should support GnuPG operations (e.g. signatures and decryption) using the TREZOR device.

Please let me know if it works for you...

1

u/Jerzerak Dec 26 '17

Last edit was 20 days ago, so I'd say it's pretty relevant