-
Notifications
You must be signed in to change notification settings - Fork 8
Fixes after Ledger Review - Sign message update #106
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
Merged
Merged
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
bfe1117
Fixes after ledger review - update sign message to use nbgl_useCase_R…
mradian1 8b9160e
Fixes after review - update stax & flex snapshots after changes to s…
mradian1 5bb8c98
linter fix
mradian1 0afaa20
Added message content to sign_msg
mradian1 1fdccf5
Changed snaphots for updated sign_msg
mradian1 1bf1877
Linter fixes
mradian1 9821087
linter fixes
mradian1 bca587d
cleanup & fix
mradian1 d9475cd
Added blind-signing flow do messages
mradian1 4ab0135
Added snapshots for message blind sign - confirmed
mradian1 3434d57
Fix linter issues
mradian1 bc7a91e
Added tests && snapshots for message blind signing disabled and blind…
mradian1 9f86423
Fix for sign_msg
mradian1 af11dfc
Fix sign message blind sign initialization
mradian1 da63a02
Fixes after review
mradian1 89d24ec
Fixes after review
mradian1 e572af0
Fixes after review
mradian1 a959bba
linter fixes
mradian1 c9df9a1
Linter fixes
mradian1 53dbf04
Fixes after review
mradian1 80ffdd5
cleaned debug message
mradian1 3f4ff23
fixes after review
mradian1 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2,6 +2,7 @@ | |
| #include "get_private_key.h" | ||
| #include "utils.h" | ||
| #include "menu.h" | ||
| #include "parse_tx.h" | ||
|
|
||
| #ifdef HAVE_NBGL | ||
| #include "nbgl_use_case.h" | ||
|
|
@@ -11,6 +12,8 @@ typedef struct { | |
| uint32_t len; | ||
| uint8_t hash[HASH_LEN]; | ||
| char strhash[2 * HASH_LEN + 1]; | ||
| char message[MAX_DISPLAY_MESSAGE_SIZE + 1]; | ||
| uint16_t message_received_length; | ||
| uint8_t signature[MESSAGE_SIGNATURE_LEN]; | ||
| } msg_context_t; | ||
|
|
||
|
|
@@ -33,49 +36,59 @@ static uint8_t set_result_signature() { | |
|
|
||
| #if defined(TARGET_STAX) || defined(TARGET_FLEX) | ||
|
|
||
| static nbgl_layoutTagValueList_t layout; | ||
| static nbgl_layoutTagValue_t pairs_list[1]; | ||
|
|
||
| static const nbgl_pageInfoLongPress_t review_final_long_press = { | ||
| .text = "Sign message on\n" APPNAME " network?", | ||
| .icon = &C_icon_multiversx_logo_64x64, | ||
| .longPressText = "Hold to sign", | ||
| .longPressToken = 0, | ||
| .tuneId = TUNE_TAP_CASUAL, | ||
| }; | ||
| static nbgl_contentTagValueList_t content; | ||
| static nbgl_contentTagValue_t content_pairs_list[2]; | ||
|
|
||
| static void review_final_callback(bool confirmed) { | ||
| if (confirmed) { | ||
| int tx = set_result_signature(); | ||
| send_response(tx, true, false); | ||
| nbgl_useCaseStatus("MESSAGE\nSIGNED", true, ui_idle); | ||
| nbgl_useCaseStatus("Message\nsigned", true, ui_idle); | ||
| } else { | ||
| nbgl_reject_message_choice(); | ||
| send_response(0, false, false); | ||
| nbgl_useCaseStatus("Message\nrejected", false, ui_idle); | ||
| } | ||
| } | ||
|
|
||
| static void start_review(void) { | ||
| layout.nbMaxLinesForValue = 0; | ||
| layout.smallCaseForValue = false; | ||
| layout.wrapping = true; | ||
| layout.pairs = pairs_list; | ||
| pairs_list[0].item = "hash"; | ||
| pairs_list[0].value = msg_context.strhash; | ||
| layout.nbPairs = ARRAY_COUNT(pairs_list); | ||
|
|
||
| nbgl_useCaseStaticReview(&layout, | ||
| &review_final_long_press, | ||
| "Reject message", | ||
| review_final_callback); | ||
| static void make_content_list(void) { | ||
| uint8_t step = 0; | ||
|
|
||
| content_pairs_list[step].item = "Hash"; | ||
| content_pairs_list[step++].value = msg_context.strhash; | ||
| content_pairs_list[step].item = "Message"; | ||
| content_pairs_list[step++].value = msg_context.message; | ||
|
|
||
| content.pairs = content_pairs_list; | ||
| content.callback = NULL; | ||
| content.nbPairs = step; | ||
| content.startIndex = 0; | ||
| content.nbMaxLinesForValue = 2; | ||
| content.token = 0; | ||
| content.smallCaseForValue = false; | ||
| content.wrapping = true; | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 👍 |
||
| content.actionCallback = NULL; | ||
| } | ||
|
|
||
| static void ui_sign_message_nbgl(void) { | ||
| nbgl_useCaseReviewStart(&C_icon_multiversx_logo_64x64, | ||
| "Review message to\nsign on " APPNAME "\nnetwork", | ||
| "", | ||
| "Reject message", | ||
| start_review, | ||
| nbgl_reject_message_choice); | ||
| make_content_list(); | ||
| if (found_non_printable_chars) { | ||
| nbgl_useCaseReviewBlindSigning(TYPE_MESSAGE, | ||
| &content, | ||
| &C_icon_multiversx_logo_64x64, | ||
| "Review message to\nsign on " APPNAME "\nnetwork", | ||
| "", | ||
| "Accept risk and sign message?", | ||
| NULL, | ||
| review_final_callback); | ||
| } else { | ||
| nbgl_useCaseReview(TYPE_MESSAGE, | ||
| &content, | ||
| &C_icon_multiversx_logo_64x64, | ||
| "Review message to\nsign on " APPNAME "\nnetwork", | ||
| "", | ||
| "Sign message on\n" APPNAME " network?", | ||
| review_final_callback); | ||
| } | ||
| } | ||
|
|
||
| #else | ||
|
|
@@ -87,14 +100,20 @@ UX_STEP_NOCB(ux_sign_msg_flow_14_step, | |
| .title = "Hash", | ||
| .text = msg_context.strhash, | ||
| }); | ||
| UX_STEP_VALID(ux_sign_msg_flow_15_step, | ||
| UX_STEP_NOCB(ux_sign_msg_flow_15_step, | ||
| bnnn_paging, | ||
| { | ||
| .title = "Message", | ||
| .text = msg_context.message, | ||
| }); | ||
| UX_STEP_VALID(ux_sign_msg_flow_16_step, | ||
| pb, | ||
| send_response(set_result_signature(), true, true), | ||
| { | ||
| &C_icon_validate_14, | ||
| "Sign message", | ||
| }); | ||
| UX_STEP_VALID(ux_sign_msg_flow_16_step, | ||
| UX_STEP_VALID(ux_sign_msg_flow_17_step, | ||
| pb, | ||
| send_response(0, false, true), | ||
| { | ||
|
|
@@ -105,10 +124,88 @@ UX_STEP_VALID(ux_sign_msg_flow_16_step, | |
| UX_FLOW(ux_sign_msg_flow, | ||
| &ux_sign_msg_flow_14_step, | ||
| &ux_sign_msg_flow_15_step, | ||
| &ux_sign_msg_flow_16_step); | ||
| &ux_sign_msg_flow_16_step, | ||
| &ux_sign_msg_flow_17_step); | ||
|
|
||
| // UI for blind signing | ||
| UX_STEP_CB(ux_warning_error_blind_signing_msg_1_step, | ||
| bnnn_paging, | ||
| ui_idle(), | ||
| { | ||
| "Blind signing disabled", | ||
| "Enable in Settings", | ||
| }); | ||
|
|
||
| UX_STEP_VALID(ux_warning_error_blind_signing_msg_2_step, | ||
| pb, | ||
| send_response(0, false, true), | ||
| { | ||
| &C_icon_crossmark, | ||
| "Back", | ||
| }); | ||
|
|
||
| UX_STEP_NOCB(ux_warning_blind_signing_msg_ahead_step, | ||
| pb, | ||
| { | ||
| &C_icon_warning, | ||
| "Blind signing", | ||
| }); | ||
|
|
||
| UX_STEP_NOCB(ux_warning_accept_blind_signing_msg_step, | ||
| pb, | ||
| { | ||
| &C_icon_warning, | ||
| "Accept risk and", | ||
| }); | ||
|
|
||
| UX_FLOW(ux_error_blind_signing_disabled_msg_flow, | ||
| &ux_warning_error_blind_signing_msg_1_step, | ||
| &ux_warning_error_blind_signing_msg_2_step); | ||
|
|
||
| UX_FLOW(ux_blind_sign_msg_flow, | ||
| &ux_warning_blind_signing_msg_ahead_step, | ||
| &ux_sign_msg_flow_14_step, | ||
| &ux_sign_msg_flow_15_step, | ||
| &ux_warning_accept_blind_signing_msg_step, | ||
| &ux_sign_msg_flow_16_step, | ||
| &ux_sign_msg_flow_17_step); | ||
|
|
||
| #endif | ||
|
|
||
| static bool verify_message(char *message, size_t len) { | ||
| bool has_non_printable_chars = false; | ||
| for (size_t i = 0; i < len; i++) { | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Oh, true, good catch! |
||
| if ((message[i] > 0 && message[i] < 9) || (message[i] > 13 && message[i] < 32) || | ||
AdoAdoAdo marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| message[i] > 126) { | ||
| message[i] = '?'; | ||
| has_non_printable_chars = true; | ||
| } | ||
| } | ||
| return has_non_printable_chars; | ||
| } | ||
|
|
||
| static void process_message(uint8_t *message, size_t data_length) { | ||
| uint16_t length_to_copy = | ||
| MIN(data_length, MAX_DISPLAY_MESSAGE_SIZE - msg_context.message_received_length); | ||
| if (length_to_copy > 0) { | ||
| memcpy(msg_context.message + msg_context.message_received_length, message, length_to_copy); | ||
|
|
||
| bool result = verify_message(msg_context.message + msg_context.message_received_length, | ||
| length_to_copy); | ||
| if (result) { | ||
| found_non_printable_chars = true; | ||
| } | ||
| } | ||
| msg_context.message_received_length += data_length; | ||
|
|
||
| if (msg_context.message_received_length > MAX_DISPLAY_MESSAGE_SIZE) { | ||
| char ellipsis[3] = "..."; | ||
| int ellipsisLen = strlen(ellipsis); | ||
| memcpy(msg_context.message + MAX_DISPLAY_MESSAGE_SIZE - ellipsisLen, ellipsis, ellipsisLen); | ||
| } | ||
| msg_context.message[MAX_DISPLAY_MESSAGE_SIZE] = '\0'; | ||
| } | ||
|
|
||
| static bool sign_message(void) { | ||
| cx_ecfp_private_key_t private_key; | ||
| bool success = true; | ||
|
|
@@ -158,6 +255,11 @@ void handle_sign_msg(uint8_t p1, | |
| msg_context.len = U4BE(data_buffer, 0); | ||
| data_buffer += 4; | ||
| data_length -= 4; | ||
|
|
||
| found_non_printable_chars = false; | ||
| msg_context.message_received_length = 0; | ||
| memset(msg_context.message, 0, sizeof(msg_context.message)); | ||
|
|
||
| // initialize hash with the constant string to prepend | ||
| err = cx_keccak_init_no_throw(&sha3_context, SHA3_KECCAK_BITS); | ||
| if (err != CX_OK) { | ||
|
|
@@ -199,6 +301,9 @@ void handle_sign_msg(uint8_t p1, | |
| THROW(ERR_MESSAGE_TOO_LONG); | ||
| } | ||
|
|
||
| // add the received message part to the message buffer | ||
AdoAdoAdo marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| process_message(data_buffer, data_length); | ||
|
|
||
| // add the received message part to the hash and decrease the remaining length | ||
| err = cx_hash_no_throw((cx_hash_t *) &sha3_context, 0, data_buffer, data_length, NULL, 0); | ||
| if (err != CX_OK) { | ||
|
|
@@ -234,9 +339,21 @@ void handle_sign_msg(uint8_t p1, | |
| app_state = APP_STATE_IDLE; | ||
|
|
||
| #if defined(TARGET_STAX) || defined(TARGET_FLEX) | ||
| ui_sign_message_nbgl(); | ||
| if (found_non_printable_chars && N_storage.setting_blind_signing == 0) { | ||
| disabled_blind_signing_msg_warn(); | ||
| } else { | ||
| ui_sign_message_nbgl(); | ||
| } | ||
| #else | ||
| ux_flow_init(0, ux_sign_msg_flow, NULL); | ||
| if (found_non_printable_chars && N_storage.setting_blind_signing == 0) { | ||
| ux_flow_init(0, ux_error_blind_signing_disabled_msg_flow, NULL); | ||
| } else { | ||
| if (found_non_printable_chars) { | ||
| ux_flow_init(0, ux_blind_sign_msg_flow, NULL); | ||
| } else { | ||
| ux_flow_init(0, ux_sign_msg_flow, NULL); | ||
| } | ||
| } | ||
| #endif | ||
| *flags |= IO_ASYNCH_REPLY; | ||
| } | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+14.9 KB
tests/snapshots/flex/test_blind_sign_msg_when_blind_sign_disabled/00000.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+11.3 KB
tests/snapshots/flex/test_blind_sign_msg_when_blind_sign_disabled/00001.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+11.3 KB
tests/snapshots/flex/test_blind_sign_msg_when_blind_sign_disabled/00002.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+13.5 KB
tests/snapshots/flex/test_blind_sign_msg_when_blind_sign_disabled/00003.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-404 Bytes
(95%)
tests/snapshots/flex/test_blind_sign_tx_valid_simple_data_confirmed/00007.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Binary file modified
BIN
+87 Bytes
(100%)
tests/snapshots/flex/test_sign_msg_short_rejected/00000.png
Oops, something went wrong.
Binary file modified
BIN
+2.38 KB
(120%)
tests/snapshots/flex/test_sign_msg_short_rejected/00001.png
Oops, something went wrong.
Binary file modified
BIN
+16 Bytes
(100%)
tests/snapshots/flex/test_sign_msg_short_rejected/00002.png
Oops, something went wrong.
Binary file modified
BIN
-404 Bytes
(95%)
tests/snapshots/flex/test_sign_tx_valid_esdt_transfer/00004.png
Oops, something went wrong.
Binary file modified
BIN
-404 Bytes
(95%)
tests/snapshots/flex/test_sign_tx_valid_esdt_with_guardian/00004.png
Oops, something went wrong.
Binary file modified
BIN
-404 Bytes
(95%)
tests/snapshots/flex/test_sign_tx_valid_large_amount/00004.png
Oops, something went wrong.
Binary file modified
BIN
-404 Bytes
(95%)
tests/snapshots/flex/test_sign_tx_valid_large_nonce/00004.png
Oops, something went wrong.
Binary file modified
BIN
-404 Bytes
(95%)
tests/snapshots/flex/test_sign_tx_valid_large_receiver/00004.png
Oops, something went wrong.
Binary file modified
BIN
-404 Bytes
(95%)
tests/snapshots/flex/test_sign_tx_valid_simple_data_confirmed/00004.png
Oops, something went wrong.
Binary file modified
BIN
-404 Bytes
(95%)
tests/snapshots/flex/test_sign_tx_valid_simple_no_data_confirmed/00004.png
Oops, something went wrong.
Binary file modified
BIN
-404 Bytes
(95%)
tests/snapshots/flex/test_sign_tx_valid_with_guardian_confirmed/00004.png
Oops, something went wrong.
Binary file modified
BIN
-404 Bytes
(95%)
...snapshots/flex/test_sign_tx_valid_with_relayer_and_guardian_confirmed/00004.png
Oops, something went wrong.
Binary file modified
BIN
-404 Bytes
(95%)
tests/snapshots/flex/test_sign_tx_valid_with_relayer_confirmed/00004.png
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Binary file added
BIN
+483 Bytes
tests/snapshots/nanos/test_blind_sign_msg_when_blind_sign_disabled/00000.png
Oops, something went wrong.
Binary file added
BIN
+315 Bytes
tests/snapshots/nanos/test_blind_sign_msg_when_blind_sign_disabled/00001.png
Oops, something went wrong.
Binary file added
BIN
+362 Bytes
tests/snapshots/nanos/test_blind_sign_msg_when_blind_sign_disabled/00002.png
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Binary file modified
BIN
-85 Bytes
(78%)
tests/snapshots/nanos/test_sign_msg_short_rejected/00004.png
Oops, something went wrong.
Binary file modified
BIN
+55 Bytes
(120%)
tests/snapshots/nanos/test_sign_msg_short_rejected/00005.png
Oops, something went wrong.
Binary file modified
BIN
-22 Bytes
(94%)
tests/snapshots/nanos/test_sign_msg_short_rejected/00006.png
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Binary file added
BIN
+570 Bytes
tests/snapshots/nanosp/test_blind_sign_msg_when_blind_sign_disabled/00000.png
Oops, something went wrong.
Binary file added
BIN
+337 Bytes
tests/snapshots/nanosp/test_blind_sign_msg_when_blind_sign_disabled/00001.png
Oops, something went wrong.
Binary file added
BIN
+387 Bytes
tests/snapshots/nanosp/test_blind_sign_msg_when_blind_sign_disabled/00002.png
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Binary file modified
BIN
-41 Bytes
(90%)
tests/snapshots/nanosp/test_sign_msg_short_rejected/00002.png
Oops, something went wrong.
Binary file modified
BIN
+53 Bytes
(110%)
tests/snapshots/nanosp/test_sign_msg_short_rejected/00003.png
Oops, something went wrong.
Binary file modified
BIN
-20 Bytes
(95%)
tests/snapshots/nanosp/test_sign_msg_short_rejected/00004.png
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Binary file added
BIN
+570 Bytes
tests/snapshots/nanox/test_blind_sign_msg_when_blind_sign_disabled/00000.png
Oops, something went wrong.
Binary file added
BIN
+337 Bytes
tests/snapshots/nanox/test_blind_sign_msg_when_blind_sign_disabled/00001.png
Oops, something went wrong.
Binary file added
BIN
+387 Bytes
tests/snapshots/nanox/test_blind_sign_msg_when_blind_sign_disabled/00002.png
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Binary file modified
BIN
-41 Bytes
(90%)
tests/snapshots/nanox/test_sign_msg_short_rejected/00002.png
Oops, something went wrong.
Binary file modified
BIN
+53 Bytes
(110%)
tests/snapshots/nanox/test_sign_msg_short_rejected/00003.png
Oops, something went wrong.
Binary file modified
BIN
-20 Bytes
(95%)
tests/snapshots/nanox/test_sign_msg_short_rejected/00004.png
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Binary file added
BIN
+13.1 KB
tests/snapshots/stax/test_blind_sign_msg_when_blind_sign_disabled/00000.png
Oops, something went wrong.
Binary file added
BIN
+10.1 KB
tests/snapshots/stax/test_blind_sign_msg_when_blind_sign_disabled/00001.png
Oops, something went wrong.
Binary file added
BIN
+10.1 KB
tests/snapshots/stax/test_blind_sign_msg_when_blind_sign_disabled/00002.png
Oops, something went wrong.
Binary file added
BIN
+11.8 KB
tests/snapshots/stax/test_blind_sign_msg_when_blind_sign_disabled/00003.png
Oops, something went wrong.
Binary file modified
BIN
-455 Bytes
(94%)
tests/snapshots/stax/test_blind_sign_tx_valid_simple_data_confirmed/00006.png
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Binary file modified
BIN
+147 Bytes
(100%)
tests/snapshots/stax/test_sign_msg_short_rejected/00000.png
Oops, something went wrong.
Binary file modified
BIN
+2.06 KB
(110%)
tests/snapshots/stax/test_sign_msg_short_rejected/00001.png
Oops, something went wrong.
Binary file modified
BIN
+8 Bytes
(100%)
tests/snapshots/stax/test_sign_msg_short_rejected/00002.png
Oops, something went wrong.
Binary file modified
BIN
-455 Bytes
(94%)
tests/snapshots/stax/test_sign_tx_valid_esdt_transfer/00003.png
Oops, something went wrong.
Binary file modified
BIN
-455 Bytes
(94%)
tests/snapshots/stax/test_sign_tx_valid_esdt_with_guardian/00004.png
Oops, something went wrong.
Binary file modified
BIN
-455 Bytes
(94%)
tests/snapshots/stax/test_sign_tx_valid_large_amount/00003.png
Oops, something went wrong.
Binary file modified
BIN
-455 Bytes
(94%)
tests/snapshots/stax/test_sign_tx_valid_large_nonce/00003.png
Oops, something went wrong.
Binary file modified
BIN
-455 Bytes
(94%)
tests/snapshots/stax/test_sign_tx_valid_large_receiver/00003.png
Oops, something went wrong.
Binary file modified
BIN
-455 Bytes
(94%)
tests/snapshots/stax/test_sign_tx_valid_simple_data_confirmed/00003.png
Oops, something went wrong.
Binary file modified
BIN
-455 Bytes
(94%)
tests/snapshots/stax/test_sign_tx_valid_simple_no_data_confirmed/00003.png
Oops, something went wrong.
Binary file modified
BIN
-455 Bytes
(94%)
tests/snapshots/stax/test_sign_tx_valid_with_guardian_confirmed/00004.png
Oops, something went wrong.
Binary file modified
BIN
-455 Bytes
(94%)
...snapshots/stax/test_sign_tx_valid_with_relayer_and_guardian_confirmed/00004.png
Oops, something went wrong.
Binary file modified
BIN
-455 Bytes
(94%)
tests/snapshots/stax/test_sign_tx_valid_with_relayer_confirmed/00004.png
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍