-
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
gpg: signing failed: End of file #455
Comments
@SlugFiller could you please take a look? |
At a glance, it seems to be trying to run On Windows,
If there is no |
Looking at it more carefully, there's indeed a bug. The cause is in p.add_argument('--daemon', default=False, action='store_true',
help='daemonize the agent')
p.add_argument('--pin-entry-binary', type=str, default='pinentry',
help='path to PIN entry UI helper')
p.add_argument('--passphrase-entry-binary', type=str, default='pinentry',
help='path to passphrase entry UI helper')
p.add_argument('--cache-expiry-seconds', type=float, default=float('inf'),
help='expire passphrase from cache after this duration')
args, _ = p.parse_known_args() Needs to be changed to this: p.add_argument('--daemon', default=False, action='store_true',
help='daemonize the agent')
p.add_argument('--pin-entry-binary', type=str, default=argparse.SUPPRESS,
help='path to PIN entry UI helper')
p.add_argument('--passphrase-entry-binary', type=str, default=argparse.SUPPRESS,
help='path to passphrase entry UI helper')
p.add_argument('--cache-expiry-seconds', type=float, default=argparse.SUPPRESS,
help='expire passphrase from cache after this duration')
args, _ = p.parse_known_args() I'll add this fix to my GPG PR, since I'm in the process of rebasing and retesting it anyway. |
Can confirm; that code is what causes the error. For now, I've manually edited that relevant file. |
On windows, when I try to use trezor-agent, I get the following error:
When the command window opens, it lasts for about 5 seconds before throwing the following error (yes, I ran it about 10 times until I was able to get a screenshot after it errored before it closed.)
The text was updated successfully, but these errors were encountered: