Incomplete message display in handeSignPersonalMessage
yhql opened this issue · 1 comments
yhql commented
Description
When signing a personal message, for example with EIP191, a buffer of 100 characters is used to store as much of the incoming message as possible (or 256 on NanoX with the EIP191 PR
app-ethereum/src/shared_context.h
Lines 173 to 177 in fb677fc
Your environment
Not relevant
Steps to reproduce
Simply look at the examples: this is the last part of the message defined here that is displayed on Nano S
https://github.com/LedgerHQ/app-ethereum/blob/fb677fc187ec88f05880af431edaa571d97a421d/tests/snapshots/nanos_eip191_opensea/00005.png
Proposed solution
Use the 100-chars buffer to store the last previously reviewed messages, udating it with every newly received message part.
apaillier-ledger commented
Implemented in version 1.9.20.