Skip to content

Refactors blind signing logic and improves utilities#62

Merged
chcmedeiros merged 2 commits intomasterfrom
improvements
Apr 20, 2026
Merged

Refactors blind signing logic and improves utilities#62
chcmedeiros merged 2 commits intomasterfrom
improvements

Conversation

@chcmedeiros
Copy link
Copy Markdown
Collaborator

Centralizes blind signing helper functions (is_blindsign_enabled, toggle_blindsign) into a new common module. This eliminates code duplication across different UI frameworks (BAGL and NBGL) and improves maintainability.

Adds input validation and safety checks to the bytes_to_hex_display utility function, ensuring it handles null or empty inputs gracefully.

Bumps the application's patch version to reflect these changes and improvements.

- Move duplicated blind signing functions from UI-specific files into a shared `menu_common.c`.
- Add NULL and length checks to `bytes_to_hex_display` to prevent potential crashes.
@chcmedeiros chcmedeiros merged commit 048e4c8 into master Apr 20, 2026
51 checks passed
@chcmedeiros chcmedeiros deleted the improvements branch April 20, 2026 13:44
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.

2 participants