Skip to content

Fbe/message signing v1#168

Merged
fbeutin-ledger merged 3 commits intodevelopfrom
fbe/message_signing_v1
Mar 2, 2026
Merged

Fbe/message signing v1#168
fbeutin-ledger merged 3 commits intodevelopfrom
fbe/message_signing_v1

Conversation

@fbeutin-ledger
Copy link

No description provided.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR implements support for V1 offchain message signing by extending the message signing infrastructure to handle both V0 (with application domain and format byte) and V1 (without these fields) message formats.

Changes:

  • Added V1 offchain message format support alongside existing V0 format
  • Enhanced UI to show blind signing warnings for non-ASCII UTF-8 messages
  • Refactored Python test helpers to support blind signing navigation flows

Reviewed changes

Copilot reviewed 8 out of 1371 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
tests/python/navigation_helper.py Added blind signing navigation helpers and streamlined existing settings functions
tests/application_client/solana_cmd_builder.py Separated V0 and V1 message builders with distinct serialization logic
src/ui/sign_message_nbgl.c Renamed static variables to G_ prefix and added blind signing UI for non-ASCII messages
src/handle_sign_offchain_message.c Added V1 message validation and refactored UI setup to handle both versions
src/apdu.h Added message_text pointer to track message content offset
libsol/parser.c Implemented conditional parsing for V0 vs V1 header formats
libsol/include/sol/parser.h Added helper function to compute header length based on version
.github/copilot-instructions.md Updated testing and UI guidelines

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 8 out of 1371 changed files in this pull request and generated 8 comments.

Copy link

@yogh333 yogh333 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@fbeutin-ledger fbeutin-ledger merged commit 73afe1d into develop Mar 2, 2026
84 checks passed
@fbeutin-ledger fbeutin-ledger deleted the fbe/message_signing_v1 branch March 2, 2026 10:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants