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

Problem with validating signatures interaction with ECDSA library #455

Open
brianoflondon opened this issue Feb 1, 2024 · 0 comments
Open

Comments

@brianoflondon
Copy link

Getting this error trying to authenticate in Python the response from a Hive Keychain signature

2024-02-01 11:07:57,758 ERROR    auth             120 : Traceback (most recent call last):
  File "/app/v4vapp_api_ext/routers/auth.py", line 93, in validate_hivekeychain_ans
    msgkey = verify_message(enc_msg, unhexlify(signature))
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/beemgraphenebase/ecdsasig.py", line 283, in verify_message
    pub = secp256k1.PublicKey(flags=ALL_FLAGS)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Assignees: @brianoflondon
Labels:
Milestone:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant