SeedSigner / seedsigner

Use an air-gapped Raspberry Pi Zero to sign for Bitcoin transactions! (and do other cool stuff)
MIT License
720 stars 168 forks source link

[Bugfix] Message Signing TextDoesNotFitException on long no whitespace messages #576

Closed newtonick closed 3 months ago

newtonick commented 4 months ago

Description

Closes issue #550

Current message signing feature requires entire message to be made visible in the SeedSigner GUI without exception. This PR changes this behavior and would allow messages without whitespace and that do not fit in a single line to still be signed.

An alternative solution to this PR would be to improve handling text without whitespace and allow the text to wrap (virtual line breaks). This solution would require larger development effort over allowing text overflow.

This pull request is categorized as a:

Checklist

If you modified or added functionality/workflow, did you add new unit tests?

I have tested this PR on the following platforms/os:

Note: Keep your changes limited in scope; if you uncover other issues or improvements along the way, ideally submit those as a separate PR. The more complicated the PR the harder to review, test, and merge.