Open
Description
I tried following the instructions here and found that I could not use gpg. According to the instructions, all I have to do is initialize a key and set the GNUPGHOME
env var. The instructions further read "The agent is automatically started if it isn't running when you run any gpg command." However, when I tried to use gpg I always got a message like:
timothy@yoga:~/foo[master] > echo "hi" | gpg2 --sign
gpg: Warning: not using 'Timothy Hobbs <timothy@hobbs.cz>' as default key: No secret key
gpg: all values passed to '--default-key' ignored
gpg: no default secret key: No secret key
gpg: signing failed: No secret key
After cding to the directory .gnupg/trezor
and running the command ./run-agent.sh
, I was able to use gpg as expected.
Here is my version information:
timothy@yoga:~/foo[master] > trezor-gpg --version
trezor-agent=0.9.2 libagent=0.11.2
timothy@yoga:~/foo[master] > gpg2 --version
gpg (GnuPG) 2.1.18
libgcrypt 1.7.6-beta
Copyright (C) 2017 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Home: /home/timothy/.gnupg/trezor
Supported algorithms:
Pubkey: RSA, ELG, DSA, ECDH, ECDSA, EDDSA
Cipher: IDEA, 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH,
CAMELLIA128, CAMELLIA192, CAMELLIA256
Hash: SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224
Compression: Uncompressed, ZIP, ZLIB, BZIP2
Activity