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

Cannot verify signed message #5

Open
kevacoin-project opened this issue Jan 28, 2020 · 1 comment
Open

Cannot verify signed message #5

kevacoin-project opened this issue Jan 28, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@kevacoin-project
Copy link
Owner

Steps to reproduce:

  1. Dump the private key:
    kevacoin-cli dumpprivkey <V_pub_key>

  2. Sign a message with private key:
    `kevacoin-cli signmessagewithprivkey M_priv_key "test_message"

  3. Verify the message:
    kevacoin-cli verifymessage <V_pub_key> <signed_msg> test_message

Step 3 returns an error message:

error code: -3
error message:
Address does not refer to key
@kevacoin-project kevacoin-project added the enhancement New feature or request label Jan 28, 2020
@kevacoin-project
Copy link
Owner Author

kevacoin-project commented Jan 28, 2020

This is a known issue in Bitcoin-core:
bitcoin#10542

Kevacoin by default uses SegWit address, but SegWit address does not support message signing/verification yet.

There is a PR to solve this issue, but it has not been merged into Bitcoin-core yet:
bitcoin#16440

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

No branches or pull requests

1 participant