Skip to content
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

Weird BadSignature exception #989

Closed
tuxxy opened this issue May 18, 2019 · 2 comments
Closed

Weird BadSignature exception #989

tuxxy opened this issue May 18, 2019 · 2 comments
Labels
Bug 🐛 Broken functionality

Comments

@tuxxy
Copy link
Contributor

tuxxy commented May 18, 2019

May 18 18:05:57 isogeny nucypher[8173]:     result = inContext.theWork()
May 18 18:05:57 isogeny nucypher[8173]:   File "/usr/local/lib/python3.7/dist-packages/twisted/python/threadpool.py", line 266, in <lambda>
May 18 18:05:57 isogeny nucypher[8173]:     inContext.theWork = lambda: context.call(ctx, func, *args, **kw)
May 18 18:05:57 isogeny nucypher[8173]:   File "/usr/local/lib/python3.7/dist-packages/twisted/python/context.py", line 122, in callWithContext
May 18 18:05:57 isogeny nucypher[8173]:     return self.currentContext().callWithContext(ctx, func, *args, **kw)
May 18 18:05:57 isogeny nucypher[8173]:   File "/usr/local/lib/python3.7/dist-packages/twisted/python/context.py", line 85, in callWithContext
May 18 18:05:57 isogeny nucypher[8173]:     return func(*args,**kw)
May 18 18:05:57 isogeny nucypher[8173]:   File "/home/tux/nucypher/nucypher/network/server.py", line 174, in learn_about_announced_nodes
May 18 18:05:57 isogeny nucypher[8173]:     certificate_filepath=certificate_filepath)
May 18 18:05:57 isogeny nucypher[8173]:   File "/home/tux/nucypher/nucypher/network/nodes.py", line 966, in verify_node
May 18 18:05:57 isogeny nucypher[8173]:     self.validate_metadata(accept_federated_only)  # This is both the stamp and interface check.
May 18 18:05:57 isogeny nucypher[8173]:   File "/home/tux/nucypher/nucypher/network/nodes.py", line 944, in validate_metadata
May 18 18:05:57 isogeny nucypher[8173]:     self.stamp_is_valid()
May 18 18:05:57 isogeny nucypher[8173]:   File "/home/tux/nucypher/nucypher/network/nodes.py", line 923, in stamp_is_valid
May 18 18:05:57 isogeny nucypher[8173]:     if self._stamp_has_valid_wallet_signature():
May 18 18:05:57 isogeny nucypher[8173]:   File "/home/tux/nucypher/nucypher/network/nodes.py", line 913, in _stamp_has_valid_wallet_signature
May 18 18:05:57 isogeny nucypher[8173]:     signature = EthSignature(signature_bytes)
May 18 18:05:57 isogeny nucypher[8173]:   File "/usr/local/lib/python3.7/dist-packages/eth_keys/datatypes.py", line 265, in __init__
May 18 18:05:57 isogeny nucypher[8173]:     raise BadSignature(str(err))
May 18 18:05:57 isogeny nucypher[8173]: eth_keys.exceptions.BadSignature: Value 27 is not less than or equal to 1
@tuxxy tuxxy added the Bug 🐛 Broken functionality label May 18, 2019
@jMyles
Copy link
Contributor

jMyles commented May 19, 2019

@tuxxy: Can you post the value of signature_bytes?

@KPrasch
Copy link
Member

KPrasch commented Jun 5, 2019

Fixed in #951

@KPrasch KPrasch closed this as completed Jun 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug 🐛 Broken functionality
Projects
None yet
Development

No branches or pull requests

3 participants