Open ondralukes opened 3 years ago
I'm sure this is the case as I had the same issue using onlykey-agent (which is a fork). Had copied a command which had some weird enclosing back quotes around my email address rather than normal quotation symbols. Got the same error as you until I corrected it which suggested the symbol wasn't supported. Still, would be better to get a more accurate error message.
-- BVS
the problem is here: https://github.com/romanz/trezor-agent/blob/master/libagent/gpg/__init__.py#L132
and the immediate fix is this:
if os.path.exists(homedir) and not args.subkey:
this is most probably fixed by this currently pending PR: https://github.com/romanz/trezor-agent/pull/358
Hi, I'm trying to add new trezor-based subkey to my keyring, but
trezor-gpg init
fails with messagegpg: error reading key: No secret key
.This is my keyring:
And this is output of
trezor-gpg init "Ondřej Lukeš <mail@ondralukes.cz>" --subkey -v
:I think it might be an issue with character encoding, because, as you can see in the output, my name sometimes appears as
Ondřej Lukeš
and sometimes asOnd\xc5\x99ej Luke\xc5\xa1
.