entropyxyz / cli

CLI utility to ease interactions with an Entropy network.
GNU Affero General Public License v3.0
5 stars 0 forks source link

Attempting to sign a message with line break in it fails. #117

Open johnnymatthews opened 2 weeks ago

johnnymatthews commented 2 weeks ago

This issue stems from a post from a community member.

It looks like the CLI is freaking out if a user enters a message to be signed that contains a line-break. Here's the error that the user got:

? Please choose how you would like to input your message to sign: Text Input
? Enter the message you wish to sign (this will open your default editor): Received
msg to be signed: "hello
"
msg to be signed: "hello
"
request failed 500, Internal Server Error fetch: http://3.84.209.123:3001/user/sign_tx FULLRESPONSE: Runtime error: Runtime(Error::InvalidSignatureRequest("Failed to parse auxilary_data: invalid type: null, expected struct AuxData at line 1 column 4"))
request failed 500, Internal Server Error fetch: http://3.84.209.123:3001/user/sign_tx FULLRESPONSE: Invalid Signer: Invalid Signer in Signing group
rh0delta commented 2 weeks ago

related to https://github.com/entropyxyz/entropy-core/issues/890