-
Notifications
You must be signed in to change notification settings - Fork 182
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
TextDoesNotFitException when trying to sign very long messages. #550
Comments
Can you provide some additional information to help us recreate this error? Which coordinator are you using or how are you getting the message to SeedSigner? Can you give an example message with all private information replaced with some character (like x)? |
Hi. I used Sparrow Wallet's sign message dialog, the message is passed through a QR code.
x's obscuring the actual BOLT12 invoice characters. |
Thank you. I was able to recreate the issue. Python backend full error output:
Looks like this error might be raised intentionally. I've not used message signing much and I would have not expected a use case with no whitespace at all. seedsigner/src/seedsigner/gui/components.py Line 1397 in adbf5bc
|
This one line change in the code would allow signing to continue, but the entire content of the message would not be visible.
|
While text flows off the screen, this is working for me. |
OCEAN mining pool have just announced lightning payouts (https://ocean.xyz/docs/lightning).
The instructions require to sign a message containing a BOLT12 lightning invoice which is usually a very long string of characters with no white spaces.
When trying to sign he message with Seedsigner version 0.7.0 i get on screen an error:
It seems that the exception is raised not because the device is not able to sign the message, but instead because it is unable to display it on screen.
The text was updated successfully, but these errors were encountered: