-
Notifications
You must be signed in to change notification settings - Fork 375
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
[gnokey] verify
not functioning as intended
#2272
Comments
verify
not functioning as intended
IDK exactly what was wrong, but the reproduce steps is miss-typed somewhere. I think it should be
there is no a.tx file in current dir. Lets dive deeper into |
Just a quick look: |
Thanks for looking into this. The signature is that way in the file, as you can see. Not really sure why it has an R, I'm no expert on this. I assume this has something to do with how we use Amino to marshall & unmarshall data |
To @leohhhn : Like this:
Since I dont know where to get that string, then I print it out from I think this is not an bug, just need to make the command usage clearer. |
@thinhnx-var is right, the signature needs to be Not an issue 👍 |
@leohhhn let's make sure |
I've added the documentation and mentioned that |
Description
After using
gnokey
sign to get a signature on acall
transaction, I tried verifying the signature with theverify
subcommand:file.tx
contains the following data, signed by thedev
key:gnokey
errors out withencoding/hex: invalid byte: U+0052 'R'
. Not sure if I am using this command wrongly or is it the parsing broken.I tried running the command without the quotes around the signature as well, same result.
The signature is valid as the transaction goes through to the network normally.
Steps to reproduce:
gnokey verify
like stated in the top of the issue.Smells like amino? 😄
The text was updated successfully, but these errors were encountered: