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

Why are signatures incompatible with other BIP-340 libraries? #15

Closed
fiatjaf opened this issue Jan 10, 2021 · 1 comment
Closed

Why are signatures incompatible with other BIP-340 libraries? #15

fiatjaf opened this issue Jan 10, 2021 · 1 comment

Comments

@fiatjaf
Copy link

fiatjaf commented Jan 10, 2021

For BIP-340 signatures I see you're using the test vector provided with the BIP and everything is ok, but https://github.com/fiatjaf/schnorr and https://github.com/guggero/bip-schnorr are also passing these same tests, but weirdly the signatures of these two are compatible, but they are not compatible with the signatures produced by this library.

Is there something wrong here? I don't understand. It could be that I am using the libraries wrong too, of course.

@fiatjaf
Copy link
Author

fiatjaf commented Jan 10, 2021

Nevermind, I was using the key in the place of the message and vice-versa.

@fiatjaf fiatjaf closed this as completed Jan 10, 2021
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