-
Notifications
You must be signed in to change notification settings - Fork 0
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
Feat/ldg 679 nano app prepare the codebase for nbgl devices #2
base: develop
Are you sure you want to change the base?
Feat/ldg 679 nano app prepare the codebase for nbgl devices #2
Conversation
- Separate the logic from the display - Add the structure for nbgl display - Add some github workflows
- Remove commented-out global UI state variables - Comment out unused UI preprocessing and display functions - Add NBGL menu implementation with app info and settings - Update version references in app configuration handler
// ux_state_t G_ux; | ||
// bolos_ux_params_t G_ux_params; |
Check notice
Code scanning / CodeQL
Commented-out code Note
@@ -19,7 +19,7 @@ | |||
#include "menu.h" | |||
#include "apdu_constants.h" | |||
|
|||
unsigned char G_io_seproxyhal_spi_buffer[IO_SEPROXYHAL_BUFFER_SIZE_B]; | |||
// unsigned char G_io_seproxyhal_spi_buffer[IO_SEPROXYHAL_BUFFER_SIZE_B]; |
Check notice
Code scanning / CodeQL
Commented-out code Note
// // override point, but nothing more to do | ||
// void io_seproxyhal_display(const bagl_element_t *element) { | ||
// io_seproxyhal_display_default((bagl_element_t*)element); | ||
// } |
Check notice
Code scanning / CodeQL
Commented-out code Note
// unsigned int ui_prepro(const bagl_element_t *element) { | ||
// unsigned int display = 1; | ||
// if (element->component.userid > 0) { | ||
// display = (ux_step == element->component.userid - 1); | ||
// if (display) { | ||
// if (element->component.userid == 1) { | ||
// UX_CALLBACK_SET_INTERVAL(2000); | ||
// } | ||
// else { | ||
// UX_CALLBACK_SET_INTERVAL(MAX(3000, 1000 + bagl_label_roundtrip_duration_ms(element, 7))); | ||
// } | ||
// } | ||
// } | ||
// return display; | ||
// } |
Check notice
Code scanning / CodeQL
Commented-out code Note
|
||
#include <stdint.h> | ||
#include <stdbool.h> | ||
|
||
unsigned int ui_prepro(const bagl_element_t *element); | ||
// unsigned int ui_prepro(const bagl_element_t *element); |
Check notice
Code scanning / CodeQL
Commented-out code Note
- Modify public key tests to use account number instead of derivation path - Switch to Ed25519Slip curve for public key calculation - Update response unpacking to handle 32-byte public keys - Add snapshot images for confirmation tests - Add active test scope markers
- Implement test cases for address retrieval across different wallet types - Add support for non-confirmation and confirmation modes of address retrieval - Create test scenarios for address review acceptance and rejection - Extend command sender and response unpacker to handle address-related operations - Add snapshot images for address confirmation tests
…complete) - Implement test cases for signing transactions and messages - Update transaction and command sender classes to support new signing methods - Add placeholder tests with TODO comments for future implementation - Modify response unpacking and transaction serialization logic - Simplify signing methods with account number and wallet type parameters
…n-rag' into feat/LDG-679--nano-app-prepare-the-codebase-for-nbgl-devices
- Replace deprecated cryptographic functions with their no-throw counterparts - Simplify signature and key generation methods - Remove unnecessary CX_LAST flag in signing functions
- Create docker-compose.yml for Speculos emulator setup - Add gdb.sh script to simplify debugging workflow - Configure container with source, binary, and debug port mappings
No description provided.