-
Notifications
You must be signed in to change notification settings - Fork 152
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AttributeError: 'Namespace' object has no attribute 'run' #14
Comments
Thanks for reporting this issue!
This way, you can update your |
BTW, could you please run |
I see that you are using Python 3. |
Regarding #11, my environment is basically Ubuntu + those commands inside venv.
I tried installing with the given instructions from source, but the error remains. edit: Also tried to install the develop version of the python-trezor package |
Thanks for the reply! The error you are getting is indeed not descriptive - I will fix it out. |
BTW, Python 3 GPG support may be broken now... |
Please take a look on the latest version decd3dd. |
It seems that you are not using the correct TREZOR firmware for this feature - currently, a custom firmware version needs to be built (see here for an example build). |
It's getting late here - so let's continue tomorrow :) |
Yeah, I'll see tomorrow, I'll test the custom version then and see if it works. |
With the newest firmware release, Key Creation works flawless with one exception: Creating a subkey yields this:
I wish my python-fu was good enough to fix it. Signing works perfect. |
Great to hear :) |
Thanks a lot for fixing things! I can work with this from here I think and see if I can somehow sign the subkey myself. |
Please try the latest version, it should support creating GPG subkeys with Python 3. |
It looks like the subkey creation is somehow using the wrong key id for signing and the gpg agent dislikes that a lot.
|
Could you please run |
Empty. I cleared the key storage and created a new master key, then ran
Running the subkey creation again yields again an empty output. Verbose output yields this:
If I'm missing anything I'll check tomorrow. |
Are you trying to add a TREZOR-based subkey to a TREZOR-based primary key? |
Ah, ok. Yeah, tried to do that. Guess the issue can be closed then, probably got confused somewhere in the readme and skipped the crucial bit of text... Thanks a lot for your help! |
You're welcome :) |
Installed trezor-agent as per readme, then as per readme for the gpg module on a clean Ubuntu 16 VM.
I'm not quite sure what I broke but the ssh-agent works fine.
The text was updated successfully, but these errors were encountered: