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

Verification of signatures created by keys generated not in SDK are not successful #144

Closed
rkharisov opened this issue Sep 16, 2021 · 1 comment
Labels

Comments

@rkharisov
Copy link
Contributor

Precondition: keypair generated not in SDK, for example with command docker run soramitsu/ed25519-keypair, and signature for some message created with the keypair

Current behaviour: signature verification is not successful

Expected behaviour: signature verification is successful

@rkharisov rkharisov changed the title Signatures created by keys generated not in SDK are not verified Verification of signatures created by keys generated not in SDK are not successful Sep 16, 2021
@rkharisov
Copy link
Contributor Author

rkharisov commented Nov 2, 2021

Found out what keys created by docker run soramitsu/ed25519-keypair are not compatible with Iroha2 and signature is not verified. Look's like keypair generation mechanism is differ then expected by SDK and Iroha2. Therefore SDK works as expected and no changes required

P.S. Internally image soramitsu/ed25519-keypair run script derived from this repository

P.P.S For proper keypair generation possible to use this command docker run hyperledger/iroha2:crypto-cli-dev

Feel free to reopen issue if required

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

No branches or pull requests

1 participant