diff --git a/tests/integration/nanos/regression_batched_ops.sh b/tests/integration/nanos/regression_batched_ops.sh deleted file mode 100644 index 3014119e5..000000000 --- a/tests/integration/nanos/regression_batched_ops.sh +++ /dev/null @@ -1,44 +0,0 @@ -# Regression: second transaction Entrypoint/Parameter not displayed - -# full input: 00000000000000000000000000000000000000000000000000000000000000009e01774d99da021b92d8c3dfc2e814c7658440319be2c0de1f07ba0337000000350707050802000000070200000002030b0505020000001e050505080505070700b289f2eba9d39ef439050800afa2c2a9d98e8d867c0000004305050505050505050509020000003407040505030605050306070405050509050905080a0000001500a9bafdb99258b593787601fd3b9ec297170668f205080505030b01cf9b990e29de757ccb9ceafcac85776ae8fc2c4c00c5cab3b1d4e3f9863b016b75c672d518f9f6246a5b0e69fae39f9da6859d000000000f72656d6f76655f64656c65676174656c023fd6757e1dce8503fce2aaab9260bba85e3fbfedc0b8021e009d04b0ea0101e8cbb40f2057b45f4e3419188ee7c7f670f2130b0000 -# signer: tz1dyX3B1CFYa2DfdFLyPtiJCfQRUgPVME6E -start_speculos "$seed" -expect_full_text 'ready for' 'safe signing' -send_async_apdus \ - 800f000011048000002c800006c18000000080000000 "expect_apdu_return 9000 -"\ - 800f0100eb0300000000000000000000000000000000000000000000000000000000000000009e01774d99da021b92d8c3dfc2e814c7658440319be2c0de1f07ba0337000000350707050802000000070200000002030b0505020000001e050505080505070700b289f2eba9d39ef439050800afa2c2a9d98e8d867c0000004305050505050505050509020000003407040505030605050306070405050509050905080a0000001500a9bafdb99258b593787601fd3b9ec297170668f205080505030b01cf9b990e29de757ccb9ceafcac85776ae8fc2c4c00c5cab3b1d4e3f9863b016b75c672d518f9f6246a5b0e69 "expect_apdu_return 9000 -"\ - 800f820052fae39f9da6859d000000000f72656d6f76655f64656c65676174656c023fd6757e1dce8503fce2aaab9260bba85e3fbfedc0b8021e009d04b0ea0101e8cbb40f2057b45f4e3419188ee7c7f670f2130b0000 "expect_apdu_return b90a92484e2ff5b06766bd83c01c45a441c5940e30c7b272b659fd4e1d3b7061c8514f72e7f65e338dd2090db53fb5add41e082207601ee93a848444958e4eb8376778dad27b098a3c4b9bd86616fb548abb38d362283e6348266e5ba51708009000 -" -expect_section_content nanos 'Operation (0)' 'Transfer ticket' -press_button right -expect_section_content nanos 'Fee' '0.52 tz' -press_button right -expect_section_content nanos 'Storage limit' '55' -press_button right -expect_section_content nanos 'Contents' 'Pair (Right {{Unit}}) (Left {Left (Right (Left (Pair 2086359929622250098 (Right 4469288520021199023))))})' -press_button right -expect_section_content nanos 'Type' 'Left (Left (Left (Left (Some {Elt (Left None) (Left None);Elt (Left (Some (Some (Right 0x00A9BAFDB99258B593787601FD3B9EC297170668F2)))) (Right (Left Unit))}))))' -press_button right -expect_section_content nanos 'Ticketer' 'KT1TWVqbz8bY8j8zpDzJrd6uSAPrLFnwXewo' -press_button right -expect_section_content nanos 'Amount' '4255311335852401989' -press_button right -expect_section_content nanos 'Destination' 'KT1JNxxTLYSqheVmL182Y94NwD94Qzs1tXTU' -press_button right -expect_section_content nanos 'Entrypoint' 'remove_delegate' -press_button right -expect_section_content nanos 'Operation (1)' 'Transaction' -press_button right -expect_section_content nanos 'Fee' '0.04 tz' -press_button right -expect_section_content nanos 'Storage limit' '541' -press_button right -expect_section_content nanos 'Amount' '0.03 tz' -press_button right -expect_section_content nanos 'Destination' 'KT1VogMpwUD8xJR7pJMwhbCnTkJGM92WD2NL' -press_button right -expect_full_text 'Accept?' -press_button both -expect_async_apdus_sent diff --git a/tests/integration/nanos/test_basic.sh b/tests/integration/nanos/test_basic.sh deleted file mode 100644 index 9dc618c12..000000000 --- a/tests/integration/nanos/test_basic.sh +++ /dev/null @@ -1,21 +0,0 @@ -start_speculos "$seed" -sleep 0.2 -expect_full_text "ready for" "safe signing" -press_button right -expect_full_text "Settings" -press_button right -expect_full_text "Quit?" -press_button left -expect_full_text "Settings" -press_button left -expect_full_text "ready for" "safe signing" -press_button both -expect_full_text "ready for" "safe signing" -press_button right -expect_full_text "Settings" -press_button right -expect_full_text "Quit?" -press_button right -expect_full_text "Quit?" -press_button both -expect_exited diff --git a/tests/integration/nanos/test_blindsign_basic.sh b/tests/integration/nanos/test_blindsign_basic.sh deleted file mode 100644 index 5ddd8e6b0..000000000 --- a/tests/integration/nanos/test_blindsign_basic.sh +++ /dev/null @@ -1,33 +0,0 @@ -# full input: 00000000000000000000000000000000000000000000000000000000000000006c00ffdd6102321bc251e4a5190ad5b12b251069d9b4904e0203040001000000000000000000000000000000000000000000ff01000001070200000102076501000000015b076501000000015a0765010000000159076501000000015807650100000001570765010000000156076501000000015507650100000001540765010000000153076501000000015207650100000001510765010000000150076501000000014f076501000000014e076501000000014d076501000000014c076501000000014b076501000000014a0765010000000149076501000000014807650100000001470765010000000146076501000000014507650100000001440765010000000143076501000000014202000000000765000a0765000907650008076500070765000607650005076500040765000307650002076500010200000000 -# full output: Operation (0): Transaction -# Fee: 0.01 tz -# Storage limit: 4 -# Amount: 0 tz -# Destination: KT18amZmM5W7qDWVt2pH6uj7sCEd3kbzLrHT -# Entrypoint: root -# Data: {pair "[" (pair "Z" (pair "Y" (pair "X" (pair "W" (pair "V" (pair "U" (pair "T" (pair "S" (pair "R" (pair "Q" (pair "P" (pair "O" (pair "N" (pair "M" (pair "L" (pair "K" (pair "J" (pair "I" (pair "H" (pair "G" (pair "F" (pair "E" (pair "D" (pair "C" (pair "B" {})))))))))))))))))))))))));pair 10 (pair 9 (pair 8 (pair 7 (pair 6 (pair 5 (pair 4 (pair 3 (pair 2 (pair 1 {})))))))))} -# signer: tz1dyX3B1CFYa2DfdFLyPtiJCfQRUgPVME6E -start_speculos "$seed" -press_button right -expect_full_text 'Settings' -press_button both -expect_full_text 'Blind Signing' DISABLED -press_button both -expect_full_text 'Blind Signing' ENABLED -press_button right -expect_full_text Back -press_button both -expect_full_text 'ready for' 'safe signing' -press_button right -expect_full_text 'ready for' 'BLIND signing' -send_async_apdus \ - 800f000011048000002c800006c18000000080000000 "expect_apdu_return 9000" \ - 800f0100eb0300000000000000000000000000000000000000000000000000000000000000006c00ffdd6102321bc251e4a5190ad5b12b251069d9b4904e0203040001000000000000000000000000000000000000000000ff01000001070200000102076501000000015b076501000000015a0765010000000159076501000000015807650100000001570765010000000156076501000000015507650100000001540765010000000153076501000000015207650100000001510765010000000150076501000000014f076501000000014e076501000000014d076501000000014c076501000000014b0765010000 "expect_apdu_return 9000" \ - 800f82007500014a0765010000000149076501000000014807650100000001470765010000000146076501000000014507650100000001440765010000000143076501000000014202000000000765000a0765000907650008076500070765000607650005076500040765000307650002076500010200000000 "expect_apdu_return a3a979004f354cb391acac7515ffde7e5613962007534a7fc2cb534300fe4bc96c54b80041ef3d764b79e17a11524b68085ad6f945bf21e5d17e7657763b7d355f3a816e11d10b9cf6ba59e1535a02a541561852b19767b3922d6e00c8616d0e9000" -expect_section_content nanos \ - 'Sign Hash' \ - 'ManageroperationC1sLZPod7bawsWe4g8hVzUNuDJatgndQg97z8526hb2Q' -press_button right -expect_full_text 'Accept?' -press_button both -expect_async_apdus_sent diff --git a/tests/integration/nanos/test_blindsign_too_deep.sh b/tests/integration/nanos/test_blindsign_too_deep.sh deleted file mode 100644 index c5b49d8a4..000000000 --- a/tests/integration/nanos/test_blindsign_too_deep.sh +++ /dev/null @@ -1,27 +0,0 @@ -# full input: 02000000f702000000f202000000ed02000000e802000000e302000000de02000000d902000000d402000000cf02000000ca02000000c502000000c002000000bb02000000b602000000b102000000ac02000000a702000000a2020000009d02000000980200000093020000008e02000000890200000084020000007f020000007a02000000750200000070020000006b02000000660200000061020000005c02000000570200000052020000004d02000000480200000043020000003e02000000390200000034020000002f020000002a02000000250200000020020000001b02000000160200000011020000000c02000000070200000002002a -# full output: {{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{42}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}} -# signer: tz1dyX3B1CFYa2DfdFLyPtiJCfQRUgPVME6E -start_speculos "$seed" -press_button right -expect_full_text 'Settings' -press_button both -expect_full_text 'Blind Signing' DISABLED -press_button both -expect_full_text 'Blind Signing' ENABLED -press_button right -expect_full_text Back -press_button both -expect_full_text 'ready for' 'safe signing' -press_button right -expect_full_text 'ready for' 'BLIND signing' -send_async_apdus \ - 800f000011048000002c800006c18000000080000000 "expect_apdu_return 9000" \ - 800f0100eb0502000000f702000000f202000000ed02000000e802000000e302000000de02000000d902000000d402000000cf02000000ca02000000c502000000c002000000bb02000000b602000000b102000000ac02000000a702000000a2020000009d02000000980200000093020000008e02000000890200000084020000007f020000007a02000000750200000070020000006b02000000660200000061020000005c02000000570200000052020000004d02000000480200000043020000003e02000000390200000034020000002f020000002a02000000250200000020020000001b020000001602000000 "expect_apdu_return 9000" \ - 800f82001211020000000c02000000070200000002002a "expect_apdu_return 93070b00990e4cf29c31f6497307bea0ad86a9d0dc08dba8b607e8dc0e23652f8309e41ed87ac1d33006806b688cfcff7632c4fbe499ff3ea4983ae4f06dea7790ec25db045689bca2c63967b5c563aabff86c4ef163bff92af3bb2ca9392d099000" -expect_section_content nanos \ - 'Sign Hash' \ - 'MichelineexpressionAtwAJe8iMNaJwdugjXmGWQM8Z2dznb215smWzkSLY3qY' -press_button right -expect_full_text 'Accept?' -press_button both -expect_async_apdus_sent diff --git a/tests/integration/nanos/test_blindsign_too_large.sh b/tests/integration/nanos/test_blindsign_too_large.sh deleted file mode 100644 index 90b242930..000000000 --- a/tests/integration/nanos/test_blindsign_too_large.sh +++ /dev/null @@ -1,26 +0,0 @@ -# full input: 0092abf8e3d9e5f8cfd9ae8a9fe5f28ea1d5b5abf1af82dae8a4b68df3d1889eb6f988f5e8d31a -# full output: 12345678901234567890123456789012345678901234567890123456789012345678901234567890 -# signer: tz1dyX3B1CFYa2DfdFLyPtiJCfQRUgPVME6E -start_speculos "$seed" -press_button right -expect_full_text 'Settings' -press_button both -expect_full_text 'Blind Signing' DISABLED -press_button both -expect_full_text 'Blind Signing' ENABLED -press_button right -expect_full_text Back -press_button both -expect_full_text 'ready for' 'safe signing' -press_button right -expect_full_text 'ready for' 'BLIND signing' -send_async_apdus \ - 800f000011048000002c800006c18000000080000000 "expect_apdu_return 9000" \ - 800f810028050092abf8e3d9e5f8cfd9ae8a9fe5f28ea1d5b5abf1af82dae8a4b68df3d1889eb6f988f5e8d31a "expect_apdu_return ef565fa445d815cd77518a4d14ce90b7a536627455f0930c9dbfa22a75d478d83e2bcb333ba0d639dd28c1b77c5860e552ab02092a50a57f1424f573278230ab8ba81d8a40956415278a27e3f28cae64d1f1f13bf613e6e9a57035e9e14511029000" -expect_section_content nanos \ - 'Sign Hash' \ - 'MichelineexpressionH7Gq5omPmhFhDPeyywQsSb5Mmt2fiBwsgwvuNXzu18Xq' -press_button right -expect_full_text 'Accept?' -press_button both -expect_async_apdus_sent diff --git a/tests/integration/nanos/test_change_sign_instruction.sh b/tests/integration/nanos/test_change_sign_instruction.sh deleted file mode 100644 index 003b75cd7..000000000 --- a/tests/integration/nanos/test_change_sign_instruction.sh +++ /dev/null @@ -1,18 +0,0 @@ -start_speculos "$seed" -expect_full_text 'ready for' 'safe signing' -# INS_SIGN_WITH_HASH -send_apdu 800f000011048000002c800006c18000000080000000 -expect_apdu_return 9000 -# INS_SIGN -send_apdu 800481005e0300000000000000000000000000000000000000000000000000000000000000006c016e8874874d31c3fbd636e924d5a036a43ec8faa7d0860308362d80d30e01000000000000000000000000000000000000000000ff02000000020316 -expect_apdu_return $ERR_INVALID_INS -# INS_SIGN -send_apdu 8004000011048000002c800006c18000000080000000 -expect_apdu_return 9000 -# INS_SIGN_WITH_HASH -send_apdu 800f81005e0300000000000000000000000000000000000000000000000000000000000000006c016e8874874d31c3fbd636e924d5a036a43ec8faa7d0860308362d80d30e01000000000000000000000000000000000000000000ff02000000020316 -expect_apdu_return $ERR_INVALID_INS -press_button right -press_button right -press_button both -expect_exited diff --git a/tests/integration/nanos/test_get_pk.sh b/tests/integration/nanos/test_get_pk.sh deleted file mode 100644 index 7ca981769..000000000 --- a/tests/integration/nanos/test_get_pk.sh +++ /dev/null @@ -1,10 +0,0 @@ -# Address expected: tz1dyX3B1CFYa2DfdFLyPtiJCfQRUgPVME6E -start_speculos "$seed" -sleep 0.2 -expect_full_text "ready for" "safe signing" -send_apdu 8002000011048000002c800006c18000000080000000 -expect_apdu_return 2102747884d9abdf16b3ab745158925f567e222f71225501826fa83347f6cbe9c3939000 -press_button right -press_button right -press_button both -expect_exited diff --git a/tests/integration/nanos/test_get_tz2_pk.sh b/tests/integration/nanos/test_get_tz2_pk.sh deleted file mode 100644 index 951ece45e..000000000 --- a/tests/integration/nanos/test_get_tz2_pk.sh +++ /dev/null @@ -1,10 +0,0 @@ -# Address expected: tz2GB5YHqF4UzQ8GP5yUqdhY9oVWRXCY2hPU -start_speculos "$seed" -sleep 0.2 -expect_full_text "ready for" "safe signing" -send_apdu 8002000111048000002c800006c18000000080000000 -expect_apdu_return 4104211f369d9ec3a0fbe10febf05a8b67a9ca705b90534b9dfe3e08f2dac99bd008111079d35265a935866e0444f1a4c1044c9c81f4178d43ef5c132332019bf9c19000 -press_button right -press_button right -press_button both -expect_exited diff --git a/tests/integration/nanos/test_get_tz3_pk.sh b/tests/integration/nanos/test_get_tz3_pk.sh deleted file mode 100644 index 62985a351..000000000 --- a/tests/integration/nanos/test_get_tz3_pk.sh +++ /dev/null @@ -1,10 +0,0 @@ -# Address expected: tz3UMNyvQeMj6mQSftW2aV2XaWd3afTAM1d5 -start_speculos "$seed" -sleep 0.2 -expect_full_text "ready for" "safe signing" -send_apdu 8002000211048000002c800006c18000000080000000 -expect_apdu_return 410497f4d381101d2908a13669313faec5dbf6693985584f96268ea2c25178199ddd1aad041e7564795eb4b9a4f379e8cdc0c8391f7b2880613771fff76e6a6b05cf9000 -press_button right -press_button right -press_button both -expect_exited diff --git a/tests/integration/nanos/test_git.sh b/tests/integration/nanos/test_git.sh deleted file mode 100644 index 0e8be170f..000000000 --- a/tests/integration/nanos/test_git.sh +++ /dev/null @@ -1,11 +0,0 @@ -start_speculos "$seed" -sleep 0.2 -expect_full_text "ready for" "safe signing" -send_apdu 8009000000 -expect_apdu_return "$COMMIT_BYTES""00""9000" -press_button right -expect_full_text "Settings" -press_button right -expect_full_text "Quit?" -press_button both -expect_exited diff --git a/tests/integration/nanos/test_mixing_command.sh b/tests/integration/nanos/test_mixing_command.sh deleted file mode 100644 index 0594e5a9c..000000000 --- a/tests/integration/nanos/test_mixing_command.sh +++ /dev/null @@ -1,36 +0,0 @@ -start_speculos "$seed" -expect_full_text 'ready for' 'safe signing' -# INS_VERSION in INS_SIGN -send_apdu 8004000011048000002c800006c18000000080000000 -expect_apdu_return 9000 -send_apdu 8000000000 -expect_apdu_return $ERR_UNEXPECTED_STATE -# INS_SIGN in INS_SIGN_WITH_HASH -send_apdu 800f000011048000002c800006c18000000080000000 -expect_apdu_return 9000 -send_apdu 8004000011048000002c800006c18000000080000000 -expect_apdu_return $ERR_UNEXPECTED_STATE -# INS_SIGN_WITH_HASH in INS_SIGN -send_apdu 8004000011048000002c800006c18000000080000000 -expect_apdu_return 9000 -send_apdu 800f000011048000002c800006c18000000080000000 -expect_apdu_return $ERR_UNEXPECTED_STATE -# INS_PROMPT_PUBLIC_KEY in INS_SIGN -send_apdu 8004000011048000002c800006c18000000080000000 -expect_apdu_return 9000 -send_apdu 8003000011048000002c800006c18000000080000000 -expect_apdu_return $ERR_UNEXPECTED_STATE -# INS_GET_PUBLIC_KEY in INS_SIGN -send_apdu 8004000011048000002c800006c18000000080000000 -expect_apdu_return 9000 -send_apdu 8002000011048000002c800006c18000000080000000 -expect_apdu_return $ERR_UNEXPECTED_STATE -# INS_GIT in INS_SIGN -send_apdu 8004000011048000002c800006c18000000080000000 -expect_apdu_return 9000 -send_apdu 8009000000 -expect_apdu_return $ERR_UNEXPECTED_STATE -press_button right -press_button right -press_button both -expect_exited diff --git a/tests/integration/nanos/test_parsing_errors.sh b/tests/integration/nanos/test_parsing_errors.sh deleted file mode 100644 index e60200b37..000000000 --- a/tests/integration/nanos/test_parsing_errors.sh +++ /dev/null @@ -1,119 +0,0 @@ -# original operation : 0300000000000000000000000000000000000000000000000000000000000000006c016e8874874d31c3fbd636e924d5a036a43ec8faa7d0860308362d80d30e01000000000000000000000000000000000000000000ff02000000020316 - -# Unknown magic bytes -start_speculos "$seed" -expect_full_text 'ready for' 'safe signing' -send_apdu 800f000011048000002c800006c18000000080000000 -expect_apdu_return 9000 -send_apdu 800f81005e0100000000000000000000000000000000000000000000000000000000000000006c016e8874874d31c3fbd636e924d5a036a43ec8faa7d0860308362d80d30e01000000000000000000000000000000000000000000ff02000000020316 -expect_full_text 'Parsing error' -press_button both -expect_apdu_return $ERR_PARSE_ERROR - -# Unknown operation -send_apdu 800f000011048000002c800006c18000000080000000 -expect_apdu_return 9000 -send_apdu 800f81005e03000000000000000000000000000000000000000000000000000000000000000001016e8874874d31c3fbd636e924d5a036a43ec8faa7d0860308362d80d30e01000000000000000000000000000000000000000000ff02000000020316 -expect_full_text 'Parsing error' -press_button both -expect_apdu_return $ERR_PARSE_ERROR - -# 1 byte remove inside -send_apdu 800f000011048000002c800006c18000000080000000 -expect_apdu_return 9000 -send_apdu 800f81005d0300000000000000000000000000000000000000000000000000000000000000006c016e8874874d31c3fbd636e924d5a036a43ec8faa7d0860308362d80d30e010000000000000000000000000000000000000000ff02000000020316 -expect_full_text 'Operation (0)' 'Transaction' -press_button right -expect_full_text 'Fee' '0.05 tz' -press_button right -expect_full_text 'Storage limit' '45' -press_button right -expect_full_text 'Amount' '0.24 tz' -press_button right -expect_section_content nanos 'Destination' 'KT18amZmM5W7qDWVt2pH6uj7sCEd3kbzLrHT' -press_button right -expect_full_text 'Entrypoint' 'default' -press_button right -expect_full_text 'Parsing error' -press_button both -expect_apdu_return $ERR_PARSE_ERROR - -# 1 byte introduce at the end -send_apdu 800f000011048000002c800006c18000000080000000 -expect_apdu_return 9000 -send_apdu 800f81005f0300000000000000000000000000000000000000000000000000000000000000006c016e8874874d31c3fbd636e924d5a036a43ec8faa7d0860308362d80d30e01000000000000000000000000000000000000000000ff0200000002031645 -expect_full_text 'Operation (0)' 'Transaction' -press_button right -expect_full_text 'Fee' '0.05 tz' -press_button right -expect_full_text 'Storage limit' '45' -press_button right -expect_full_text 'Amount' '0.24 tz' -press_button right -expect_section_content nanos 'Destination' 'KT18amZmM5W7qDWVt2pH6uj7sCEd3kbzLrHT' -press_button right -expect_full_text 'Entrypoint' 'do' -press_button right -expect_section_content nanos 'Parameter' 'CAR' -press_button right -expect_full_text 'Parsing error' -press_button both -expect_apdu_return $ERR_PARSE_ERROR - -# 1 byte introduce inside -send_apdu 800f000011048000002c800006c18000000080000000 -expect_apdu_return 9000 -send_apdu 800f81005f0300000000000000000000000000000000000000000000000000000000000000006c016e8874874d31c3fbd636e924d5a036a43ec8faa7d0860308362d80d30e0100000000000000000000000000000000000000000000ff02000000020316 -expect_full_text 'Operation (0)' 'Transaction' -press_button right -expect_full_text 'Fee' '0.05 tz' -press_button right -expect_full_text 'Storage limit' '45' -press_button right -expect_full_text 'Amount' '0.24 tz' -press_button right -expect_section_content nanos 'Destination' 'KT18amZmM5W7qDWVt2pH6uj7sCEd3kbzLrHT' -press_button right -expect_full_text 'Parsing error' -press_button both -expect_apdu_return $ERR_PARSE_ERROR - -# 1 byte introduce inside -send_apdu 800f000011048000002c800006c18000000080000000 -expect_apdu_return 9000 -send_apdu 800f81005f0300000000000000000000000000000000000000000000000000000000000000006c016e8874874d31c3fbd636e924d5a036a43ec8faa7d0860308362d80d30e0100000000000000000000000000000000000000000000ff02000000020316 -expect_full_text 'Operation (0)' 'Transaction' -press_button right -expect_full_text 'Fee' '0.05 tz' -press_button right -expect_full_text 'Storage limit' '45' -press_button right -expect_full_text 'Amount' '0.24 tz' -press_button right -expect_section_content nanos 'Destination' 'KT18amZmM5W7qDWVt2pH6uj7sCEd3kbzLrHT' -press_button right -expect_full_text 'Parsing error' -press_button both -expect_apdu_return $ERR_PARSE_ERROR - -# wrong last packet -send_async_apdus \ - 800f000011048000002c800006c18000000080000000 "expect_apdu_return 9000" \ - 800f8100eb030000000000000000000000000000000000000000000000000000000000000000ce00ffdd6102321bc251e4a5190ad5b12b251069d9b4904e02030400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c63966303966323935326433343532386337333366393436313563666333396263353535363139666335353064643461363762613232303863653865383637616133643133613665663939646662653332633639373461613961323135306432316563613239633333343965353963313362393038316631 "expect_apdu_return $ERR_UNEXPECTED_SIGN_STATE" -expect_section_content nanos 'Operation (0)' 'SR: execute outbox message' -press_button right -expect_section_content nanos 'Fee' '0.01 tz' -press_button right -expect_section_content nanos 'Storage limit' '4' -press_button right -expect_section_content nanos 'Rollup' 'sr163Lv22CdE8QagCwf48PWDTquk6isQwv57' -press_button right -expect_section_content nanos 'Commitment' 'src12UJzB8mg7yU6nWPzicH7ofJbFjyJEbHvwtZdfRXi8DQHNp1LY8' -press_button right -expect_full_text 'ready for' 'safe signing' -expect_async_apdus_sent - -press_button right -press_button right -press_button both -expect_exited diff --git a/tests/integration/nanos/test_provide_pk.sh b/tests/integration/nanos/test_provide_pk.sh deleted file mode 100644 index ce4f8eed2..000000000 --- a/tests/integration/nanos/test_provide_pk.sh +++ /dev/null @@ -1,15 +0,0 @@ -start_speculos "$seed" -sleep 0.2 -expect_full_text "ready for" "safe signing" -send_apdu 8003000011048000002c800006c18000000080000000 -expect_section_content nanos "Provide Key" \ - 'tz1dyX3B1CFYa2DfdFLyPtiJCfQRUgPVME6E' -press_button right -expect_full_text "Accept?" -press_button both -expect_apdu_return 2102747884d9abdf16b3ab745158925f567e222f71225501826fa83347f6cbe9c3939000 -press_button right -press_button right -press_button right -press_button both -expect_exited diff --git a/tests/integration/nanos/test_provide_tz2_pk.sh b/tests/integration/nanos/test_provide_tz2_pk.sh deleted file mode 100644 index e0c66a773..000000000 --- a/tests/integration/nanos/test_provide_tz2_pk.sh +++ /dev/null @@ -1,15 +0,0 @@ -start_speculos "$seed" -sleep 0.2 -expect_full_text "ready for" "safe signing" -send_apdu 8003000111048000002c800006c18000000080000000 -expect_section_content nanos \ - "Provide Key" \ - 'tz2GB5YHqF4UzQ8GP5yUqdhY9oVWRXCY2hPU' -press_button right -expect_full_text "Accept?" -press_button both -expect_apdu_return 4104211f369d9ec3a0fbe10febf05a8b67a9ca705b90534b9dfe3e08f2dac99bd008111079d35265a935866e0444f1a4c1044c9c81f4178d43ef5c132332019bf9c19000 -press_button right -press_button right -press_button both -expect_exited diff --git a/tests/integration/nanos/test_provide_tz3_pk.sh b/tests/integration/nanos/test_provide_tz3_pk.sh deleted file mode 100644 index ce314592d..000000000 --- a/tests/integration/nanos/test_provide_tz3_pk.sh +++ /dev/null @@ -1,15 +0,0 @@ -start_speculos "$seed" -sleep 0.2 -expect_full_text "ready for" "safe signing" -send_apdu 8003000211048000002c800006c18000000080000000 -expect_section_content nanos \ - "Provide Key" \ - 'tz3UMNyvQeMj6mQSftW2aV2XaWd3afTAM1d5' -press_button right -expect_full_text "Accept?" -press_button both -expect_apdu_return 410497f4d381101d2908a13669313faec5dbf6693985584f96268ea2c25178199ddd1aad041e7564795eb4b9a4f379e8cdc0c8391f7b2880613771fff76e6a6b05cf9000 -press_button right -press_button right -press_button both -expect_exited diff --git a/tests/integration/nanos/test_regression_continue_after_reject.sh b/tests/integration/nanos/test_regression_continue_after_reject.sh deleted file mode 100644 index 73aa4bbe9..000000000 --- a/tests/integration/nanos/test_regression_continue_after_reject.sh +++ /dev/null @@ -1,47 +0,0 @@ -start_speculos "$seed" -sleep 0.2 -expect_full_text "ready for" "safe signing" - -# Reject a prompt pk request -send_apdu 8003000011048000002c800006c18000000080000000 -expect_section_content nanos "Provide Key" \ - 'tz1dyX3B1CFYa2DfdFLyPtiJCfQRUgPVME6E' -press_button right -expect_full_text 'Accept?' -press_button right -expect_full_text 'Reject?' -press_button both -expect_apdu_return $ERR_REJECT - -# Reject a signing request -send_async_apdus \ - 800f000011048000002c800006c18000000080000000 "expect_apdu_return 9000" \ - 800f81005e0300000000000000000000000000000000000000000000000000000000000000006c016e8874874d31c3fbd636e924d5a036a43ec8faa7d0860308362d80d30e01000000000000000000000000000000000000000000ff02000000020316 "expect_apdu_return $ERR_REJECT" -expect_full_text 'Operation (0)' 'Transaction' -press_button right -expect_full_text 'Fee' '0.05 tz' -press_button right -expect_full_text 'Storage limit' '45' -press_button right -expect_full_text 'Amount' '0.24 tz' -press_button right -expect_section_content nanos 'Destination' 'KT18amZmM5W7qDWVt2pH6uj7sCEd3kbzLrHT' -press_button right -expect_full_text 'Entrypoint' 'do' -press_button right -expect_section_content nanos 'Parameter' 'CAR' -press_button right -expect_full_text 'Accept?' -press_button right -expect_full_text 'Reject?' -press_button both -expect_async_apdus_sent - -# Ensure next request can succeed -send_apdu 8002000011048000002c800006c18000000080000000 -expect_apdu_return 2102747884d9abdf16b3ab745158925f567e222f71225501826fa83347f6cbe9c3939000 - -press_button right -press_button right -press_button both -expect_exited diff --git a/tests/integration/nanos/test_reject_pk.sh b/tests/integration/nanos/test_reject_pk.sh deleted file mode 100644 index df6834f0e..000000000 --- a/tests/integration/nanos/test_reject_pk.sh +++ /dev/null @@ -1,16 +0,0 @@ -start_speculos "$seed" -sleep 0.2 -expect_full_text "ready for" "safe signing" -send_apdu 8003000011048000002c800006c18000000080000000 -expect_section_content nanos "Provide Key" \ - 'tz1dyX3B1CFYa2DfdFLyPtiJCfQRUgPVME6E' -press_button right -expect_full_text "Accept?" -press_button right -expect_full_text 'Reject?' -press_button both -expect_apdu_return $ERR_REJECT -press_button right -press_button right -press_button both -expect_exited diff --git a/tests/integration/nanos/test_reject_transaction.sh b/tests/integration/nanos/test_reject_transaction.sh deleted file mode 100644 index 7ad9d1a89..000000000 --- a/tests/integration/nanos/test_reject_transaction.sh +++ /dev/null @@ -1,30 +0,0 @@ -# full input: 0300000000000000000000000000000000000000000000000000000000000000006c016e8874874d31c3fbd636e924d5a036a43ec8faa7d0860308362d80d30e01000000000000000000000000000000000000000000ff02000000020316 -# full output: CAR -# signer: tz1dyX3B1CFYa2DfdFLyPtiJCfQRUgPVME6E -# path: m/44'/1729'/0'/0' -start_speculos "$seed" -expect_full_text 'ready for' 'safe signing' -send_async_apdus \ - 800f000011048000002c800006c18000000080000000 "expect_apdu_return 9000 -"\ - 800f81005e0300000000000000000000000000000000000000000000000000000000000000006c016e8874874d31c3fbd636e924d5a036a43ec8faa7d0860308362d80d30e01000000000000000000000000000000000000000000ff02000000020316 "expect_apdu_return $ERR_REJECT -" -expect_full_text 'Operation (0)' 'Transaction' -press_button right -expect_full_text 'Fee' '0.05 tz' -press_button right -expect_full_text 'Storage limit' '45' -press_button right -expect_full_text 'Amount' '0.24 tz' -press_button right -expect_section_content nanos 'Destination' 'KT18amZmM5W7qDWVt2pH6uj7sCEd3kbzLrHT' -press_button right -expect_full_text 'Entrypoint' 'do' -press_button right -expect_section_content nanos 'Parameter' 'CAR' -press_button right -expect_full_text 'Accept?' -press_button right -expect_full_text 'Reject?' -press_button both -expect_async_apdus_sent diff --git a/tests/integration/nanos/test_sign_ballot.sh b/tests/integration/nanos/test_sign_ballot.sh deleted file mode 100644 index a09007a35..000000000 --- a/tests/integration/nanos/test_sign_ballot.sh +++ /dev/null @@ -1,20 +0,0 @@ -# full input: 00000000000000000000000000000000000000000000000000000000000000000600ffdd6102321bc251e4a5190ad5b12b251069d9b4000000200bcd7b2cadcd87ecb0d5c50330fb59feed7432bffecede8a09a2b86cfb33847b00 -# signer: tz1dyX3B1CFYa2DfdFLyPtiJCfQRUgPVME6E -start_speculos "$seed" -expect_full_text 'ready for' 'safe signing' -send_async_apdus \ - 800f000011048000002c800006c18000000080000000 "expect_apdu_return 9000" \ - 800f81005c0300000000000000000000000000000000000000000000000000000000000000000600ffdd6102321bc251e4a5190ad5b12b251069d9b4000000200bcd7b2cadcd87ecb0d5c50330fb59feed7432bffecede8a09a2b86cfb33847b00 "expect_apdu_return 80a74079a1911a95b4aea45d6b29321e1705165194521bf74982c4b8c576824088a4217edccca5dd9d12295666a489c6d8939a71a9b8b6116f2fa62f0cb7c5f08a0bc975f3103a2063a6a18dafa5313a0f627453f11d06ac47b049aed60b0e079000" -expect_section_content nanos 'Operation (0)' 'Ballot' -press_button right -expect_section_content nanos 'Source' 'tz1ixvCiPJYyMjsp2nKBVaq54f6AdbV8hCKa' -press_button right -expect_section_content nanos 'Period' '32' -press_button right -expect_section_content nanos 'Proposal' 'ProtoALphaALphaALphaALphaALphaALphaALpha61322gcLUGH' -press_button right -expect_section_content nanos 'Ballot' 'yay' -press_button right -expect_full_text 'Accept?' -press_button both -expect_async_apdus_sent diff --git a/tests/integration/nanos/test_sign_delegation.sh b/tests/integration/nanos/test_sign_delegation.sh deleted file mode 100644 index 213557cc0..000000000 --- a/tests/integration/nanos/test_sign_delegation.sh +++ /dev/null @@ -1,22 +0,0 @@ -# full input: 0300000000000000000000000000000000000000000000000000000000000000006e01774d99da021b92d8c3dfc2e814c7658440319be2c09a0cf40509f906ff00591e842444265757d6a65e3670ca18b5e662f9c0 -# signer: tz1dyX3B1CFYa2DfdFLyPtiJCfQRUgPVME6E -start_speculos "$seed" -expect_full_text 'ready for' 'safe signing' -send_async_apdus \ - 800f000011048000002c800006c18000000080000000 "expect_apdu_return 9000 -"\ - 800f8100550300000000000000000000000000000000000000000000000000000000000000006e01774d99da021b92d8c3dfc2e814c7658440319be2c09a0cf40509f906ff00591e842444265757d6a65e3670ca18b5e662f9c0 "expect_apdu_return a6b0ce461c2c49d22cc9ec552e2cec1f5648c724012d53384f07a5134366dcc0be83b0502234bb618de1b8e5585c3344332284858cc799f3e2f58820ba2e6f66c2403d3084b0ab6ae6400733a912448e7614fbab139b532f081da7bcf12f5b029000 -" -expect_full_text 'Operation (0)' 'Delegation' -press_button right -expect_full_text 'Fee' '0.2 tz' -press_button right -expect_full_text 'Storage limit' '889' -press_button right -expect_section_content nanos \ - 'Delegate' \ - 'tz1TmFPVZsGQ8MnrBJtnECJgkFUwLa6EWYDm' -press_button right -expect_full_text 'Accept?' -press_button both -expect_async_apdus_sent diff --git a/tests/integration/nanos/test_sign_failing_noop.sh b/tests/integration/nanos/test_sign_failing_noop.sh deleted file mode 100644 index d1c4b8532..000000000 --- a/tests/integration/nanos/test_sign_failing_noop.sh +++ /dev/null @@ -1,15 +0,0 @@ -# full input: 000000000000000000000000000000000000000000000000000000000000000011000000c6396630396632393532643334353238633733336639343631356366633339626335353536313966633535306464346136376261323230386365386538363761613364313361366566393964666265333263363937346161396132313530643231656361323963333334396535396331336239303831663163313162343430616334643334353564656462653465653064653135613861663632306434633836323437643964313332646531626236646132336435666639643864666664613232626139613834 -# signer: tz1dyX3B1CFYa2DfdFLyPtiJCfQRUgPVME6E -start_speculos "$seed" -expect_full_text 'ready for' 'safe signing' -send_async_apdus \ - 800f000011048000002c800006c18000000080000000 "expect_apdu_return 9000" \ - 800f0100eb03000000000000000000000000000000000000000000000000000000000000000011000000c63966303966323935326433343532386337333366393436313563666333396263353535363139666335353064643461363762613232303863653865383637616133643133613665663939646662653332633639373461613961323135306432316563613239633333343965353963313362393038316631633131623434306163346433343535646564626534656530646531356138616636323064346338363234376439643133326465316262366461323364356666396438646666646132326261396138 "expect_apdu_return 9000" \ - 800f82000134 "expect_apdu_return 469326f8740bcf4a8c8cbd773117c3fc43997ebaca5ee2f959df380c84303c41e62b6ead4edc86864554ba9f262330da7def7b212ab73e2f53e1a0972b31ea7a2de2b3b3c7179021e7c9bf30c6baaffa0962ee7b7423e2e2c312f79a4bd6d9059000" -expect_section_content nanos 'Operation (0)' 'Failing noop' -press_button right -expect_section_content nanos 'Message' '396630396632393532643334353238633733336639343631356366633339626335353536313966633535306464346136376261323230386365386538363761613364313361366566393964666265333263363937346161396132313530643231656361323963333334396535396331336239303831663163313162343430616334643334353564656462653465653064653135613861663632306434633836323437643964313332646531626236646132336435666639643864666664613232626139613834' -press_button right -expect_full_text 'Accept?' -press_button both -expect_async_apdus_sent diff --git a/tests/integration/nanos/test_sign_increase_paid_storage.sh b/tests/integration/nanos/test_sign_increase_paid_storage.sh deleted file mode 100644 index f40b19a86..000000000 --- a/tests/integration/nanos/test_sign_increase_paid_storage.sh +++ /dev/null @@ -1,20 +0,0 @@ -# full input: 00000000000000000000000000000000000000000000000000000000000000007100ffdd6102321bc251e4a5190ad5b12b251069d9b4904e0203040501000000000000000000000000000000000000000000 -# signer: tz1dyX3B1CFYa2DfdFLyPtiJCfQRUgPVME6E -start_speculos "$seed" -expect_full_text 'ready for' 'safe signing' -send_async_apdus \ - 800f000011048000002c800006c18000000080000000 "expect_apdu_return 9000" \ - 800f8100530300000000000000000000000000000000000000000000000000000000000000007100ffdd6102321bc251e4a5190ad5b12b251069d9b4904e0203040501000000000000000000000000000000000000000000 "expect_apdu_return 48ab3de08b4a53ffe8cb8984cb5e0174082496321d5f9644ec8a3f01f3b2176f6782addb600b8b796195b2591e4f240091d478214661ff6728b392f0a84d8eca66ddcb5d5c83838642c0335f7d6b797c835ea8f465550e8c1d5ec64d87193b079000" -expect_section_content nanos 'Operation (0)' 'Increase paid storage' -press_button right -expect_section_content nanos 'Fee' '0.01 tz' -press_button right -expect_section_content nanos 'Storage limit' '4' -press_button right -expect_section_content nanos 'Amount' '5' -press_button right -expect_section_content nanos 'Destination' 'KT18amZmM5W7qDWVt2pH6uj7sCEd3kbzLrHT' -press_button right -expect_full_text 'Accept?' -press_button both -expect_async_apdus_sent diff --git a/tests/integration/nanos/test_sign_micheline_basic.sh b/tests/integration/nanos/test_sign_micheline_basic.sh deleted file mode 100644 index c03dd94b5..000000000 --- a/tests/integration/nanos/test_sign_micheline_basic.sh +++ /dev/null @@ -1,15 +0,0 @@ -start_speculos "$seed" -sleep 0.2 -expect_full_text "ready for" "safe signing" -send_apdu 800f000011048000002c800006c18000000080000000 -expect_apdu_return 9000 -send_apdu 800f81002305020000001d0100000004434143410100000004504f504f0100000006424f5544494e -expect_section_content nanos 'Expression' '{"CACA";"POPO";"BOUDIN"}' -press_button right -expect_full_text "Accept?" -press_button both -expect_apdu_return 84e475e38707140e725019e91f036e341fa4a2c8752b7828f37bbf91061b0e0ae0722bd72d15319474dff2207c137e85d57e742b7e5ccd1a995a610b8e055ad164e7606a37163b1a81e9003dc9e306afd46c4e645bbb190cf6c456459587ed049000 -press_button right -press_button right -press_button both -expect_exited diff --git a/tests/integration/nanos/test_sign_micheline_without_hash.sh b/tests/integration/nanos/test_sign_micheline_without_hash.sh deleted file mode 100644 index 454ec3950..000000000 --- a/tests/integration/nanos/test_sign_micheline_without_hash.sh +++ /dev/null @@ -1,15 +0,0 @@ -start_speculos "$seed" -sleep 0.2 -expect_full_text "ready for" "safe signing" -send_apdu 8004000011048000002c800006c18000000080000000 -expect_apdu_return 9000 -send_apdu 800481002305020000001d0100000004434143410100000004504f504f0100000006424f5544494e -expect_section_content nanos 'Expression' '{"CACA";"POPO";"BOUDIN"}' -press_button right -expect_full_text "Accept?" -press_button both -expect_apdu_return e0722bd72d15319474dff2207c137e85d57e742b7e5ccd1a995a610b8e055ad164e7606a37163b1a81e9003dc9e306afd46c4e645bbb190cf6c456459587ed049000 -press_button right -press_button right -press_button both -expect_exited diff --git a/tests/integration/nanos/test_sign_origination.sh b/tests/integration/nanos/test_sign_origination.sh deleted file mode 100644 index a09f6947a..000000000 --- a/tests/integration/nanos/test_sign_origination.sh +++ /dev/null @@ -1,24 +0,0 @@ -# full input: 00000000000000000000000000000000000000000000000000000000000000006d00ffdd6102321bc251e4a5190ad5b12b251069d9b4904e020304a0c21e0000000002037a0000000a07650100000001310002 -# signer: tz1dyX3B1CFYa2DfdFLyPtiJCfQRUgPVME6E -start_speculos "$seed" -expect_full_text 'ready for' 'safe signing' -send_async_apdus \ - 800f000011048000002c800006c18000000080000000 "expect_apdu_return 9000" \ - 800f8100540300000000000000000000000000000000000000000000000000000000000000006d00ffdd6102321bc251e4a5190ad5b12b251069d9b4904e020304a0c21e0000000002037a0000000a07650100000001310002 "expect_apdu_return 4c6b124e010e5701ea67043d176136234a1dc9c3514dbc512209bd0a28033dcf621fcc5d36f84f3fffd9177278499f16bb363ae4573227105fd584f58d1be77ebcfc17250cf575b8aad31951f18e35a3252f10583768abf4f2511bd84669c0039000" -expect_section_content nanos 'Operation (0)' 'Origination' -press_button right -expect_section_content nanos 'Fee' '0.01 tz' -press_button right -expect_section_content nanos 'Storage limit' '4' -press_button right -expect_section_content nanos 'Balance' '0.5 tz' -press_button right -expect_section_content nanos 'Delegate' 'Field unset' -press_button right -expect_section_content nanos 'Code' 'UNPAIR' -press_button right -expect_section_content nanos 'Storage' 'pair "1" 2' -press_button right -expect_full_text 'Accept?' -press_button both -expect_async_apdus_sent diff --git a/tests/integration/nanos/test_sign_proposals.sh b/tests/integration/nanos/test_sign_proposals.sh deleted file mode 100644 index afdb53aa9..000000000 --- a/tests/integration/nanos/test_sign_proposals.sh +++ /dev/null @@ -1,20 +0,0 @@ -# full input: 00000000000000000000000000000000000000000000000000000000000000000500ffdd6102321bc251e4a5190ad5b12b251069d9b400000020000000400bcd7b2cadcd87ecb0d5c50330fb59feed7432bffecede8a09a2b86cfb33847b0bcd7b2cadcd87ecb0d5c50330fb59feed7432bffecede8a09a2b86dac301a2d -# signer: tz1dyX3B1CFYa2DfdFLyPtiJCfQRUgPVME6E -start_speculos "$seed" -expect_full_text 'ready for' 'safe signing' -send_async_apdus \ - 800f000011048000002c800006c18000000080000000 "expect_apdu_return 9000" \ - 800f81007f0300000000000000000000000000000000000000000000000000000000000000000500ffdd6102321bc251e4a5190ad5b12b251069d9b400000020000000400bcd7b2cadcd87ecb0d5c50330fb59feed7432bffecede8a09a2b86cfb33847b0bcd7b2cadcd87ecb0d5c50330fb59feed7432bffecede8a09a2b86dac301a2d "expect_apdu_return 71f5f45b1ccf3f57647f84465be2dd5e049c6b3cf1b67a5db15c33fc89f1e660d23d7ffe172d4a5c66e48bd2384cea19367d9255da631339ba8b12a071e697b9481b101f72607b3dd8f8dc736624ae9749adb97a1ff1a2ad2a31a1ac4645180e9000" -expect_section_content nanos 'Operation (0)' 'Proposals' -press_button right -expect_section_content nanos 'Source' 'tz1ixvCiPJYyMjsp2nKBVaq54f6AdbV8hCKa' -press_button right -expect_section_content nanos 'Period' '32' -press_button right -expect_section_content nanos 'Proposal (0)' 'ProtoALphaALphaALphaALphaALphaALphaALpha61322gcLUGH' -press_button right -expect_section_content nanos 'Proposal (1)' 'ProtoALphaALphaALphaALphaALphaALphaALphabc2a7ebx6WB' -press_button right -expect_full_text 'Accept?' -press_button both -expect_async_apdus_sent diff --git a/tests/integration/nanos/test_sign_register_global_constant.sh b/tests/integration/nanos/test_sign_register_global_constant.sh deleted file mode 100644 index 9ef227fbe..000000000 --- a/tests/integration/nanos/test_sign_register_global_constant.sh +++ /dev/null @@ -1,18 +0,0 @@ -# full input: 00000000000000000000000000000000000000000000000000000000000000006f00ffdd6102321bc251e4a5190ad5b12b251069d9b4904e0203040000000a07070100000001310002 -# signer: tz1dyX3B1CFYa2DfdFLyPtiJCfQRUgPVME6E -start_speculos "$seed" -expect_full_text 'ready for' 'safe signing' -send_async_apdus \ - 800f000011048000002c800006c18000000080000000 "expect_apdu_return 9000" \ - 800f81004a0300000000000000000000000000000000000000000000000000000000000000006f00ffdd6102321bc251e4a5190ad5b12b251069d9b4904e0203040000000a07070100000001310002 "expect_apdu_return bb38ac8ad80f5280b3f4e006d5656a8c8f6192994c86dcd160e4f5977332ccb7528f3b3ff8b2ed2095f23add2c7409b05cbfdf1dae96ad7436083429bad30cd867912a42fe9f5eddc153cb847f13ffa4e7979ce78b833f8c7cbf3b83455918029000" -expect_section_content nanos 'Operation (0)' 'Register global constant' -press_button right -expect_section_content nanos 'Fee' '0.01 tz' -press_button right -expect_section_content nanos 'Storage limit' '4' -press_button right -expect_section_content nanos 'Value' 'Pair "1" 2' -press_button right -expect_full_text 'Accept?' -press_button both -expect_async_apdus_sent diff --git a/tests/integration/nanos/test_sign_reveal.sh b/tests/integration/nanos/test_sign_reveal.sh deleted file mode 100644 index 0d58c03e9..000000000 --- a/tests/integration/nanos/test_sign_reveal.sh +++ /dev/null @@ -1,20 +0,0 @@ -# full input: 0300000000000000000000000000000000000000000000000000000000000000006b00ffdd6102321bc251e4a5190ad5b12b251069d9b4904e02030400747884d9abdf16b3ab745158925f567e222f71225501826fa83347f6cbe9c393 -# signer: tz1dyX3B1CFYa2DfdFLyPtiJCfQRUgPVME6E -start_speculos "$seed" -expect_full_text 'ready for' 'safe signing' -send_async_apdus \ - 800f000011048000002c800006c18000000080000000 "expect_apdu_return 9000 -"\ - 800f81005d0300000000000000000000000000000000000000000000000000000000000000006b00ffdd6102321bc251e4a5190ad5b12b251069d9b4904e02030400747884d9abdf16b3ab745158925f567e222f71225501826fa83347f6cbe9c393 "expect_apdu_return 28a91fe25dca9feed9a746d2825f113b0b7c0c534853d4d9e8d37f3a29119a3edc717466cf0fb90cd9ea8fcaf5252a52ae865901d28f54128498a94588530a48eb56c343497ff3f69a671f97b4a5e4dec0f7afb443f6658f62610287c829b6089000 -" -expect_section_content nanos 'Operation (0)' 'Reveal' -press_button right -expect_section_content nanos 'Fee' '0.01 tz' -press_button right -expect_section_content nanos 'Storage limit' '4' -press_button right -expect_section_content nanos 'Public key' 'edpkuXX2VdkdXzkN11oLCb8Aurdo1BTAtQiK8ZY9UPj2YMt3AHEpcY' -press_button right -expect_full_text 'Accept?' -press_button both -expect_async_apdus_sent diff --git a/tests/integration/nanos/test_sign_sc_rollup_add_messages.sh b/tests/integration/nanos/test_sign_sc_rollup_add_messages.sh deleted file mode 100644 index b1412e616..000000000 --- a/tests/integration/nanos/test_sign_sc_rollup_add_messages.sh +++ /dev/null @@ -1,22 +0,0 @@ -# full input: 0000000000000000000000000000000000000000000000000000000000000000c900ffdd6102321bc251e4a5190ad5b12b251069d9b4904e020304000000140000000301234500000001670000000489abcdef -# signer: tz1dyX3B1CFYa2DfdFLyPtiJCfQRUgPVME6E -start_speculos "$seed" -expect_full_text 'ready for' 'safe signing' -send_async_apdus \ - 800f000011048000002c800006c18000000080000000 "expect_apdu_return 9000" \ - 800f810054030000000000000000000000000000000000000000000000000000000000000000c900ffdd6102321bc251e4a5190ad5b12b251069d9b4904e020304000000140000000301234500000001670000000489abcdef "expect_apdu_return 5ec1f51c235fecb7e66dd35acc31bf31a6fbc2aae1716ada0b953f3a95b91b6b0e996f8592454e899d66e62623249d4d7558b14f741a19df8b249446b8ec1a150c76c006791389e2dc3297faaaed0b3dc9a365de9beb1b5dd146b4855bd05b039000" -expect_section_content nanos 'Operation (0)' 'SR: send messages' -press_button right -expect_section_content nanos 'Fee' '0.01 tz' -press_button right -expect_section_content nanos 'Storage limit' '4' -press_button right -expect_section_content nanos 'Message (0)' '012345' -press_button right -expect_section_content nanos 'Message (1)' '67' -press_button right -expect_section_content nanos 'Message (2)' '89abcdef' -press_button right -expect_full_text 'Accept?' -press_button both -expect_async_apdus_sent diff --git a/tests/integration/nanos/test_sign_sc_rollup_execute_outbox_message.sh b/tests/integration/nanos/test_sign_sc_rollup_execute_outbox_message.sh deleted file mode 100644 index d29693146..000000000 --- a/tests/integration/nanos/test_sign_sc_rollup_execute_outbox_message.sh +++ /dev/null @@ -1,23 +0,0 @@ -# full input: 0000000000000000000000000000000000000000000000000000000000000000ce00ffdd6102321bc251e4a5190ad5b12b251069d9b4904e02030400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c6396630396632393532643334353238633733336639343631356366633339626335353536313966633535306464346136376261323230386365386538363761613364313361366566393964666265333263363937346161396132313530643231656361323963333334396535396331336239303831663163313162343430616334643334353564656462653465653064653135613861663632306434633836323437643964313332646531626236646132336435666639643864666664613232626139613834 -# signer: tz1dyX3B1CFYa2DfdFLyPtiJCfQRUgPVME6E -start_speculos "$seed" -expect_full_text 'ready for' 'safe signing' -send_async_apdus \ - 800f000011048000002c800006c18000000080000000 "expect_apdu_return 9000" \ - 800f0100eb030000000000000000000000000000000000000000000000000000000000000000ce00ffdd6102321bc251e4a5190ad5b12b251069d9b4904e02030400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c63966303966323935326433343532386337333366393436313563666333396263353535363139666335353064643461363762613232303863653865383637616133643133613665663939646662653332633639373461613961323135306432316563613239633333343965353963313362393038316631 "expect_apdu_return 9000" \ - 800f82004f63313162343430616334643334353564656462653465653064653135613861663632306434633836323437643964313332646531626236646132336435666639643864666664613232626139613834 "expect_apdu_return c08f5e1a02d15b05c4066b43fc31aa1ccad30f6c7a18f44723e5af0b6584292236e919219e90793ef502e8883f5317206277607438695933fcb954f4ef451db19628a114880836193c755ddda4bf188b9764231975b2c5ecb64bc4bdc9c459039000" -expect_section_content nanos 'Operation (0)' 'SR: execute outbox message' -press_button right -expect_section_content nanos 'Fee' '0.01 tz' -press_button right -expect_section_content nanos 'Storage limit' '4' -press_button right -expect_section_content nanos 'Rollup' 'sr163Lv22CdE8QagCwf48PWDTquk6isQwv57' -press_button right -expect_section_content nanos 'Commitment' 'src12UJzB8mg7yU6nWPzicH7ofJbFjyJEbHvwtZdfRXi8DQHNp1LY8' -press_button right -expect_section_content nanos 'Output proof' '396630396632393532643334353238633733336639343631356366633339626335353536313966633535306464346136376261323230386365386538363761613364313361366566393964666265333263363937346161396132313530643231656361323963333334396535396331336239303831663163313162343430616334643334353564656462653465653064653135613861663632306434633836323437643964313332646531626236646132336435666639643864666664613232626139613834' -press_button right -expect_full_text 'Accept?' -press_button both -expect_async_apdus_sent diff --git a/tests/integration/nanos/test_sign_sc_rollup_originate.sh b/tests/integration/nanos/test_sign_sc_rollup_originate.sh deleted file mode 100644 index 201342c4d..000000000 --- a/tests/integration/nanos/test_sign_sc_rollup_originate.sh +++ /dev/null @@ -1,25 +0,0 @@ -# full input: 0000000000000000000000000000000000000000000000000000000000000000c800ffdd6102321bc251e4a5190ad5b12b251069d9b4904e02030400000000c63966303966323935326433343532386337333366393436313563666333396263353535363139666335353064643461363762613232303863653865383637616133643133613665663939646662653332633639373461613961323135306432316563613239633333343965353963313362393038316631633131623434306163346433343535646564626534656530646531356138616636323064346338363234376439643133326465316262366461323364356666396438646666646132326261396138340000006c030002104135165622d08b0c6eac951c9d4fd65109585907bc30ef0617f6c26853c6ba724af04dd3e4b5861efae3166ebc12ef5781df9715c20943e8d0b7bc06068a6f8106737461747573c87a31b1c8e3af61756b336bcfc3b0c292c89b40cc8a5080ba99c45463d110ce8b0000000a07070100000001310002 -# signer: tz1dyX3B1CFYa2DfdFLyPtiJCfQRUgPVME6E -start_speculos "$seed" -expect_full_text 'ready for' 'safe signing' -send_async_apdus \ - 800f000011048000002c800006c18000000080000000 "expect_apdu_return 9000" \ - 800f0100eb030000000000000000000000000000000000000000000000000000000000000000c800ffdd6102321bc251e4a5190ad5b12b251069d9b4904e02030400000000c63966303966323935326433343532386337333366393436313563666333396263353535363139666335353064643461363762613232303863653865383637616133643133613665663939646662653332633639373461613961323135306432316563613239633333343965353963313362393038316631633131623434306163346433343535646564626534656530646531356138616636323064346338363234376439643133326465 "expect_apdu_return 9000" \ - 800f82009a316262366461323364356666396438646666646132326261396138340000006c030002104135165622d08b0c6eac951c9d4fd65109585907bc30ef0617f6c26853c6ba724af04dd3e4b5861efae3166ebc12ef5781df9715c20943e8d0b7bc06068a6f8106737461747573c87a31b1c8e3af61756b336bcfc3b0c292c89b40cc8a5080ba99c45463d110ce8b0000000a07070100000001310002 "expect_apdu_return 04be62080baba9abba123910a315ff784d6953817422d00d49a5734a9a57322c3304c5cc47ee680a8de5c24f8ff571b7ce02e293d47ee5fe3a8472144693aa0a5ef9f820a6b494f6043d10980a13d1c5956aaeee8f5e7a7cfa6734b62edee2079000" -expect_section_content nanos 'Operation (0)' 'SR: originate' -press_button right -expect_section_content nanos 'Fee' '0.01 tz' -press_button right -expect_section_content nanos 'Storage limit' '4' -press_button right -expect_section_content nanos 'Kind' 'arith' -press_button right -expect_section_content nanos 'Kernel' '396630396632393532643334353238633733336639343631356366633339626335353536313966633535306464346136376261323230386365386538363761613364313361366566393964666265333263363937346161396132313530643231656361323963333334396535396331336239303831663163313162343430616334643334353564656462653465653064653135613861663632306434633836323437643964313332646531626236646132336435666639643864666664613232626139613834' -press_button right -expect_section_content nanos 'Proof' '030002104135165622d08b0c6eac951c9d4fd65109585907bc30ef0617f6c26853c6ba724af04dd3e4b5861efae3166ebc12ef5781df9715c20943e8d0b7bc06068a6f8106737461747573c87a31b1c8e3af61756b336bcfc3b0c292c89b40cc8a5080ba99c45463d110ce8b' -press_button right -expect_section_content nanos 'Parameters' 'Pair "1" 2' -press_button right -expect_full_text 'Accept?' -press_button both -expect_async_apdus_sent diff --git a/tests/integration/nanos/test_sign_set_consensus_key.sh b/tests/integration/nanos/test_sign_set_consensus_key.sh deleted file mode 100644 index 352975dfb..000000000 --- a/tests/integration/nanos/test_sign_set_consensus_key.sh +++ /dev/null @@ -1,20 +0,0 @@ -# full input: 0300000000000000000000000000000000000000000000000000000000000000007200c921d4487c90b4472da6cc566a58d79f0d991dbf904e02030400747884d9abdf16b3ab745158925f567e222f71225501826fa83347f6cbe9c393 -# signer: tz1dyX3B1CFYa2DfdFLyPtiJCfQRUgPVME6E -start_speculos "$seed" -expect_full_text 'ready for' 'safe signing' -send_async_apdus \ - 800f000011048000002c800006c18000000080000000 "expect_apdu_return 9000 -"\ - 800f81005d0300000000000000000000000000000000000000000000000000000000000000007200c921d4487c90b4472da6cc566a58d79f0d991dbf904e02030400747884d9abdf16b3ab745158925f567e222f71225501826fa83347f6cbe9c393 "expect_apdu_return f9570b3272e25bc3a9c17a489547dcae70ae750adaa73b4b8eb5dd0b55be5987dd9c53607303e7c5f9c11488d5c8977d79e248f59f753eabf5ab7babfa61b1f6279b2e16dacb6db87e4e05cbdc23156d3e95989161d322ba2feb369beeb7b5049000 -" -expect_section_content nanos 'Operation (0)' 'Set consensus key' -press_button right -expect_section_content nanos 'Fee' '0.01 tz' -press_button right -expect_section_content nanos 'Storage limit' '4' -press_button right -expect_section_content nanos 'Public key' 'edpkuXX2VdkdXzkN11oLCb8Aurdo1BTAtQiK8ZY9UPj2YMt3AHEpcY' -press_button right -expect_full_text 'Accept?' -press_button both -expect_async_apdus_sent diff --git a/tests/integration/nanos/test_sign_set_deposit_limit.sh b/tests/integration/nanos/test_sign_set_deposit_limit.sh deleted file mode 100644 index aa8b5f72a..000000000 --- a/tests/integration/nanos/test_sign_set_deposit_limit.sh +++ /dev/null @@ -1,20 +0,0 @@ -# full input: 03000000000000000000000000000000000000000000000000000000000000000070027c252d3806e6519ed064026bdb98edf866117331e0d40304f80204ffa09c01 -# signer: tz1dyX3B1CFYa2DfdFLyPtiJCfQRUgPVME6E -start_speculos "$seed" -expect_full_text 'ready for' 'safe signing' -send_async_apdus \ - 800f000011048000002c800006c18000000080000000 "expect_apdu_return 9000 -"\ - 800f81004203000000000000000000000000000000000000000000000000000000000000000070027c252d3806e6519ed064026bdb98edf866117331e0d40304f80204ffa09c01 "expect_apdu_return 8b4456454de1b3c41f5ea45e711893df26fabe9427048b95fda4276d5cf76ff6069c2cd9fe167a52cc21611a0f59465784f4fce94211aab9fee6309c8e8bf5cbcf1a3e3102d0825b5acaf341656b1c2078850f7d3a6749cc47f74688fbe2c30e9000 -" -expect_section_content nanos 'Operation (0)' 'Set deposit limit' -press_button right -expect_section_content nanos 'Fee' '0.06 tz' -press_button right -expect_section_content nanos 'Storage limit' '4' -press_button right -expect_section_content nanos 'Staking limit' '0.02 tz' -press_button right -expect_full_text 'Accept?' -press_button both -expect_async_apdus_sent diff --git a/tests/integration/nanos/test_sign_transaction.sh b/tests/integration/nanos/test_sign_transaction.sh deleted file mode 100644 index d6cd971e7..000000000 --- a/tests/integration/nanos/test_sign_transaction.sh +++ /dev/null @@ -1,28 +0,0 @@ -# full input: 0300000000000000000000000000000000000000000000000000000000000000006c016e8874874d31c3fbd636e924d5a036a43ec8faa7d0860308362d80d30e01000000000000000000000000000000000000000000ff02000000020316 -# full output: CAR -# signer: tz1dyX3B1CFYa2DfdFLyPtiJCfQRUgPVME6E -# path: m/44'/1729'/0'/0' -start_speculos "$seed" -expect_full_text 'ready for' 'safe signing' -send_async_apdus \ - 800f000011048000002c800006c18000000080000000 "expect_apdu_return 9000 -"\ - 800f81005e0300000000000000000000000000000000000000000000000000000000000000006c016e8874874d31c3fbd636e924d5a036a43ec8faa7d0860308362d80d30e01000000000000000000000000000000000000000000ff02000000020316 "expect_apdu_return f6d5fa0e79cac216e25104938ac873ca17ee9d7f06763719293b413cf2ed475cf63d045a1cc9f73eee5775c5d496fa9d3aa9ae57fb97217f746a8728639795b7b2220e84ce5759ed111399ea3263d810c230d6a4fffcb6e82797c5ca673a17089000 -" -expect_full_text 'Operation (0)' 'Transaction' -press_button right -expect_full_text 'Fee' '0.05 tz' -press_button right -expect_full_text 'Storage limit' '45' -press_button right -expect_full_text 'Amount' '0.24 tz' -press_button right -expect_section_content nanos 'Destination' 'KT18amZmM5W7qDWVt2pH6uj7sCEd3kbzLrHT' -press_button right -expect_full_text 'Entrypoint' 'do' -press_button right -expect_section_content nanos 'Parameter' 'CAR' -press_button right -expect_full_text 'Accept?' -press_button both -expect_async_apdus_sent diff --git a/tests/integration/nanos/test_sign_transfer_ticket.sh b/tests/integration/nanos/test_sign_transfer_ticket.sh deleted file mode 100644 index 32faa4c3b..000000000 --- a/tests/integration/nanos/test_sign_transfer_ticket.sh +++ /dev/null @@ -1,28 +0,0 @@ -# full input: 00000000000000000000000000000000000000000000000000000000000000009e00ffdd6102321bc251e4a5190ad5b12b251069d9b4904e02030400000002037a0000000a076501000000013100020000ffdd6102321bc251e4a5190ad5b12b251069d9b401010000000000000000000000000000000000000000000000000764656661756c74 -# signer: tz1dyX3B1CFYa2DfdFLyPtiJCfQRUgPVME6E -start_speculos "$seed" -expect_full_text 'ready for' 'safe signing' -send_async_apdus \ - 800f000011048000002c800006c18000000080000000 "expect_apdu_return 9000" \ - 800f8100880300000000000000000000000000000000000000000000000000000000000000009e00ffdd6102321bc251e4a5190ad5b12b251069d9b4904e02030400000002037a0000000a076501000000013100020000ffdd6102321bc251e4a5190ad5b12b251069d9b401010000000000000000000000000000000000000000000000000764656661756c74 "expect_apdu_return 9c4f36db1d1258b08c88844f2f79b73361f5a9b3ff5fe89261cdce982756963525fbe358a31f56759eebdd9c137960ed24a14352d4c64e8792e2402b31360734ad9de6d7dd45aed49c78070b7718cf8469de0be71f7dafd2601900b3eecd350b9000" -expect_section_content nanos 'Operation (0)' 'Transfer ticket' -press_button right -expect_section_content nanos 'Fee' '0.01 tz' -press_button right -expect_section_content nanos 'Storage limit' '4' -press_button right -expect_section_content nanos 'Contents' 'UNPAIR' -press_button right -expect_section_content nanos 'Type' 'pair "1" 2' -press_button right -expect_section_content nanos 'Ticketer' 'tz1ixvCiPJYyMjsp2nKBVaq54f6AdbV8hCKa' -press_button right -expect_section_content nanos 'Amount' '1' -press_button right -expect_section_content nanos 'Destination' 'KT18amZmM5W7qDWVt2pH6uj7sCEd3kbzLrHT' -press_button right -expect_section_content nanos 'Entrypoint' 'default' -press_button right -expect_full_text 'Accept?' -press_button both -expect_async_apdus_sent diff --git a/tests/integration/nanos/test_sign_with_another_seed.sh b/tests/integration/nanos/test_sign_with_another_seed.sh deleted file mode 100644 index 532386ca2..000000000 --- a/tests/integration/nanos/test_sign_with_another_seed.sh +++ /dev/null @@ -1,25 +0,0 @@ -# full input: 00000000000000000000000000000000000000000000000000000000000000006c016e8874874d31c3fbd636e924d5a036a43ec8faa7d0860308362d80d30e01000000000000000000000000000000000000000000ff02000000020316 -# signer: tz1aex9GimxigprKi8MQK3j6sSisDpbtRBXw -# path: m/17'/8'/6'/9' -start_speculos "around dignity equal spread between young lawsuit interest climb wide that panther rather mom snake scene ecology reunion ice illegal brush" -expect_full_text 'ready for' 'safe signing' -send_async_apdus \ - 800f0000110480000011800000088000000680000009 "expect_apdu_return 9000" \ - 800f81005e0300000000000000000000000000000000000000000000000000000000000000006c016e8874874d31c3fbd636e924d5a036a43ec8faa7d0860308362d80d30e01000000000000000000000000000000000000000000ff02000000020316 "expect_apdu_return f6d5fa0e79cac216e25104938ac873ca17ee9d7f06763719293b413cf2ed475c858379f820b144f87d3ac95011564620a650460081904a18d783cfab08d05d4dce0456a111bf3a64732120dcef5a89991fc93420dacda1809043d541dcff130b9000" -expect_section_content nanos 'Operation (0)' 'Transaction' -press_button right -expect_section_content nanos 'Fee' '0.05 tz' -press_button right -expect_section_content nanos 'Storage limit' '45' -press_button right -expect_section_content nanos 'Amount' '0.24 tz' -press_button right -expect_section_content nanos 'Destination' 'KT18amZmM5W7qDWVt2pH6uj7sCEd3kbzLrHT' -press_button right -expect_section_content nanos 'Entrypoint' 'do' -press_button right -expect_section_content nanos 'Parameter' 'CAR' -press_button right -expect_full_text 'Accept?' -press_button both -expect_async_apdus_sent diff --git a/tests/integration/nanos/test_sign_with_long_hash.sh b/tests/integration/nanos/test_sign_with_long_hash.sh deleted file mode 100644 index b16350058..000000000 --- a/tests/integration/nanos/test_sign_with_long_hash.sh +++ /dev/null @@ -1,25 +0,0 @@ -# full output: 0 -# full input: 00000000000000000000000000000000000000000000000000000000000000006c00ffdd6102321bc251e4a5190ad5b12b251069d9b4904e020304000156dcfb211fa76c525fd7c4566c09a5e3e4d5b81000ff01000000020000 -# signer: tz1dyX3B1CFYa2DfdFLyPtiJCfQRUgPVME6E -start_speculos "$seed" -expect_full_text 'ready for' 'safe signing' -send_async_apdus \ - 800f000011048000002c800006c18000000080000000 "expect_apdu_return 9000" \ - 800f81005b0300000000000000000000000000000000000000000000000000000000000000006c00ffdd6102321bc251e4a5190ad5b12b251069d9b4904e020304000156dcfb211fa76c525fd7c4566c09a5e3e4d5b81000ff01000000020000 "expect_apdu_return 24aeac1f45f96ff13503b1354f8def563224633196aafb62e55df30c3894153f33496d120072845be599fd1811376ab93ec9f14130cb434d17ccc2563eb68b561b6c5e8b4893b588dea011cd0e2f49b992b750b78262cf318dd35e1945e87e009000" -expect_section_content nanos 'Operation (0)' 'Transaction' -press_button right -expect_section_content nanos 'Fee' '0.01 tz' -press_button right -expect_section_content nanos 'Storage limit' '4' -press_button right -expect_section_content nanos 'Amount' '0 tz' -press_button right -expect_section_content nanos 'Destination' 'KT1GW4QHn66m7WWWMWCMNaWmGYpCRbg5ahwU' -press_button right -expect_section_content nanos 'Entrypoint' 'root' -press_button right -expect_section_content nanos 'Parameter' '0' -press_button right -expect_full_text 'Accept?' -press_button both -expect_async_apdus_sent diff --git a/tests/integration/nanos/test_too_deep.sh b/tests/integration/nanos/test_too_deep.sh deleted file mode 100644 index 431a11330..000000000 --- a/tests/integration/nanos/test_too_deep.sh +++ /dev/null @@ -1,22 +0,0 @@ -# full input: 02000000f702000000f202000000ed02000000e802000000e302000000de02000000d902000000d402000000cf02000000ca02000000c502000000c002000000bb02000000b602000000b102000000ac02000000a702000000a2020000009d02000000980200000093020000008e02000000890200000084020000007f020000007a02000000750200000070020000006b02000000660200000061020000005c02000000570200000052020000004d02000000480200000043020000003e02000000390200000034020000002f020000002a02000000250200000020020000001b02000000160200000011020000000c02000000070200000002002a -# full output: {{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{42}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}} -# signer: tz1dyX3B1CFYa2DfdFLyPtiJCfQRUgPVME6E -start_speculos "$seed" -expect_full_text 'ready for' 'safe signing' -send_apdu 800f000011048000002c800006c18000000080000000 -expect_apdu_return 9000 -send_apdu 800f0100eb0502000000f702000000f202000000ed02000000e802000000e302000000de02000000d902000000d402000000cf02000000ca02000000c502000000c002000000bb02000000b602000000b102000000ac02000000a702000000a2020000009d02000000980200000093020000008e02000000890200000084020000007f020000007a02000000750200000070020000006b02000000660200000061020000005c02000000570200000052020000004d02000000480200000043020000003e02000000390200000034020000002f020000002a02000000250200000020020000001b020000001602000000 -expect_full_text 'Expression' '{{{{{{{{{{{{{{{{{{{' -press_button right -expect_full_text 'Expression' '{{{{{{{{{{{{{{{{{{{' -press_button right -expect_full_text 'Parsing error' -press_button both -expect_apdu_return $ERR_PARSE_ERROR -expect_full_text 'ready for' 'safe signing' -press_button right -expect_full_text 'Settings' -press_button right -expect_full_text 'Quit?' -press_button both -expect_exited diff --git a/tests/integration/nanos/test_too_large.sh b/tests/integration/nanos/test_too_large.sh deleted file mode 100644 index 7dd74c70a..000000000 --- a/tests/integration/nanos/test_too_large.sh +++ /dev/null @@ -1,18 +0,0 @@ -# full input: 0092abf8e3d9e5f8cfd9ae8a9fe5f28ea1d5b5abf1af82dae8a4b68df3d1889eb6f988f5e8d31a -# full output: 12345678901234567890123456789012345678901234567890123456789012345678901234567890 -# signer: tz1dyX3B1CFYa2DfdFLyPtiJCfQRUgPVME6E -start_speculos "$seed" -expect_full_text 'ready for' 'safe signing' -send_apdu 800f000011048000002c800006c18000000080000000 -expect_apdu_return 9000 -send_apdu 800f810028050092abf8e3d9e5f8cfd9ae8a9fe5f28ea1d5b5abf1af82dae8a4b68df3d1889eb6f988f5e8d31a -expect_full_text 'Parsing error' -press_button both -expect_apdu_return $ERR_PARSE_ERROR -expect_full_text 'ready for' 'safe signing' -press_button right -expect_full_text 'Settings' -press_button right -expect_full_text 'Quit?' -press_button both -expect_exited diff --git a/tests/integration/nanos/test_tz2_sign_micheline_basic.sh b/tests/integration/nanos/test_tz2_sign_micheline_basic.sh deleted file mode 100644 index ae10ecfa9..000000000 --- a/tests/integration/nanos/test_tz2_sign_micheline_basic.sh +++ /dev/null @@ -1,15 +0,0 @@ -start_speculos "$seed" -sleep 0.2 -expect_full_text "ready for" "safe signing" -send_apdu 800f000111048000002c800006c18000000080000000 -expect_apdu_return 9000 -send_apdu 800f81012305020000001d0100000004434143410100000004504f504f0100000006424f5544494e -expect_section_content nanos Expression '{"CACA";"POPO";"BOUDIN"}' -press_button right -expect_full_text "Accept?" -press_button both -check_tlv_signature 84e475e38707140e725019e91f036e341fa4a2c8752b7828f37bbf91061b0e0a 9000 sppk7bVy617DmGvXsMqcwsiLtnedTN2trUi5ugXcNig7en4rHJyunK1 05020000001d0100000004434143410100000004504f504f0100000006424f5544494e -press_button right -press_button right -press_button both -expect_exited diff --git a/tests/integration/nanos/test_tz3_sign_micheline_basic.sh b/tests/integration/nanos/test_tz3_sign_micheline_basic.sh deleted file mode 100644 index ab3962216..000000000 --- a/tests/integration/nanos/test_tz3_sign_micheline_basic.sh +++ /dev/null @@ -1,15 +0,0 @@ -start_speculos "$seed" -sleep 0.2 -expect_full_text "ready for" "safe signing" -send_apdu 800f000211048000002c800006c18000000080000000 -expect_apdu_return 9000 -send_apdu 800f81022305020000001d0100000004434143410100000004504f504f0100000006424f5544494e -expect_section_content nanos Expression '{"CACA";"POPO";"BOUDIN"}' -press_button right -expect_full_text "Accept?" -press_button both -check_tlv_signature 84e475e38707140e725019e91f036e341fa4a2c8752b7828f37bbf91061b0e0a 9000 p2pk67fq5pzuMMABZ9RDrooYbLrgmnQbLt8z7PTGM9mskf7LXS5tdBG 05020000001d0100000004434143410100000004504f504f0100000006424f5544494e -press_button right -press_button right -press_button both -expect_exited diff --git a/tests/integration/nanos/test_unimplemented_commands.sh b/tests/integration/nanos/test_unimplemented_commands.sh deleted file mode 100644 index 9e9636e3a..000000000 --- a/tests/integration/nanos/test_unimplemented_commands.sh +++ /dev/null @@ -1,40 +0,0 @@ -start_speculos "$seed" -sleep 0.2 -expect_full_text "ready for" "safe signing" -# INS_AUTHORIZE_BAKING -send_apdu 8001000000 -expect_apdu_return $ERR_INVALID_INS -# INS_SIGN_UNSAFE -send_apdu 8005000000 -expect_apdu_return $ERR_INVALID_INS -# INS_RESET -send_apdu 8006000000 -expect_apdu_return $ERR_INVALID_INS -# INS_QUERY_AUTH_KEY -send_apdu 8007000000 -expect_apdu_return $ERR_INVALID_INS -# INS_QUERY_MAIN_HWM -send_apdu 8008000000 -expect_apdu_return $ERR_INVALID_INS -# INS_SETUP -send_apdu 800a000000 -expect_apdu_return $ERR_INVALID_INS -# INS_QUERY_ALL_HWM -send_apdu 800b000000 -expect_apdu_return $ERR_INVALID_INS -# INS_DEAUTHORIZE -send_apdu 800c000000 -expect_apdu_return $ERR_INVALID_INS -# INS_QUERY_AUTH_KEY_WITH_CURVE -send_apdu 800d000000 -expect_apdu_return $ERR_INVALID_INS -# INS_HMAC -send_apdu 800e000000 -expect_apdu_return $ERR_INVALID_INS -# Unknown instruction -send_apdu 80ff000000 -expect_apdu_return $ERR_INVALID_INS -press_button right -press_button right -press_button both -expect_exited diff --git a/tests/integration/nanos/test_version.sh b/tests/integration/nanos/test_version.sh deleted file mode 100644 index c6d26c488..000000000 --- a/tests/integration/nanos/test_version.sh +++ /dev/null @@ -1,11 +0,0 @@ -start_speculos "$seed" -sleep 0.2 -expect_full_text "ready for" "safe signing" -send_apdu 8000000000 -expect_apdu_return "$VERSION_BYTES""9000" -press_button right -expect_full_text "Settings" -press_button right -expect_full_text "Quit?" -press_button both -expect_exited diff --git a/tests/integration/nanos/test_wrong_apdu_length.sh b/tests/integration/nanos/test_wrong_apdu_length.sh deleted file mode 100644 index 0fc9540bc..000000000 --- a/tests/integration/nanos/test_wrong_apdu_length.sh +++ /dev/null @@ -1,10 +0,0 @@ -start_speculos "$seed" -expect_full_text 'ready for' 'safe signing' -send_apdu 800000000000 -expect_apdu_return $ERR_WRONG_LENGTH_FOR_INS -send_apdu 8000000001 -expect_apdu_return $ERR_WRONG_LENGTH_FOR_INS -press_button right -press_button right -press_button both -expect_exited diff --git a/tests/integration/nanos/test_wrong_class.sh b/tests/integration/nanos/test_wrong_class.sh deleted file mode 100644 index 7ffc25bc2..000000000 --- a/tests/integration/nanos/test_wrong_class.sh +++ /dev/null @@ -1,10 +0,0 @@ -start_speculos "$seed" -expect_full_text 'ready for' 'safe signing' -send_apdu 0000000000 -expect_apdu_return $ERR_CLASS -send_apdu 8100000000 -expect_apdu_return $ERR_CLASS -press_button right -press_button right -press_button both -expect_exited diff --git a/tests/integration/nanos/test_wrong_derivation_path.sh b/tests/integration/nanos/test_wrong_derivation_path.sh deleted file mode 100644 index 970c32a96..000000000 --- a/tests/integration/nanos/test_wrong_derivation_path.sh +++ /dev/null @@ -1,34 +0,0 @@ -start_speculos "$seed" -expect_full_text 'ready for' 'safe signing' -# INS_GET_PUBLIC_KEY -send_apdu 8002000011058000002c800006c18000000080000000 -expect_apdu_return $ERR_WRONG_LENGTH_FOR_INS -send_apdu 8002000010048000002c800006c180000000800000 -expect_apdu_return $ERR_WRONG_LENGTH_FOR_INS -send_apdu 80020000110b8000002c800006c1800000008000000080000000800000008000000080000000800000008000000080000000 -expect_apdu_return $ERR_WRONG_LENGTH_FOR_INS -# INS_PROMPT_PUBLIC_KEY -send_apdu 8003000011058000002c800006c18000000080000000 -expect_apdu_return $ERR_WRONG_LENGTH_FOR_INS -send_apdu 8003000010048000002c800006c180000000800000 -expect_apdu_return $ERR_WRONG_LENGTH_FOR_INS -send_apdu 80030000110b8000002c800006c1800000008000000080000000800000008000000080000000800000008000000080000000 -expect_apdu_return $ERR_WRONG_LENGTH_FOR_INS -# INS_SIGN -send_apdu 8004000011058000002c800006c18000000080000000 -expect_apdu_return $ERR_WRONG_LENGTH_FOR_INS -send_apdu 8004000010048000002c800006c180000000800000 -expect_apdu_return $ERR_WRONG_LENGTH_FOR_INS -send_apdu 80040000110b8000002c800006c1800000008000000080000000800000008000000080000000800000008000000080000000 -expect_apdu_return $ERR_WRONG_LENGTH_FOR_INS -# INS_SIGN_WITH_HASH -send_apdu 800f000011058000002c800006c18000000080000000 -expect_apdu_return $ERR_WRONG_LENGTH_FOR_INS -send_apdu 800f000010048000002c800006c180000000800000 -expect_apdu_return $ERR_WRONG_LENGTH_FOR_INS -send_apdu 800f0000110b8000002c800006c1800000008000000080000000800000008000000080000000800000008000000080000000 -expect_apdu_return $ERR_WRONG_LENGTH_FOR_INS -press_button right -press_button right -press_button both -expect_exited diff --git a/tests/integration/nanos/test_wrong_derivation_type.sh b/tests/integration/nanos/test_wrong_derivation_type.sh deleted file mode 100644 index 5a6841eba..000000000 --- a/tests/integration/nanos/test_wrong_derivation_type.sh +++ /dev/null @@ -1,18 +0,0 @@ -start_speculos "$seed" -expect_full_text 'ready for' 'safe signing' -# INS_GET_PUBLIC_KEY -send_apdu 8002000411048000002c800006c18000000080000000 -expect_apdu_return $ERR_WRONG_PARAM -# INS_PROMPT_PUBLIC_KEY -send_apdu 8003000411048000002c800006c18000000080000000 -expect_apdu_return $ERR_WRONG_PARAM -# INS_SIGN -send_apdu 8004000411048000002c800006c18000000080000000 -expect_apdu_return $ERR_WRONG_PARAM -# INS_SIGN_WITH_HASH -send_apdu 800f000411048000002c800006c18000000080000000 -expect_apdu_return $ERR_WRONG_PARAM -press_button right -press_button right -press_button both -expect_exited diff --git a/tests/integration/nanos/test_wrong_index.sh b/tests/integration/nanos/test_wrong_index.sh deleted file mode 100644 index f46e86645..000000000 --- a/tests/integration/nanos/test_wrong_index.sh +++ /dev/null @@ -1,16 +0,0 @@ -start_speculos "$seed" -expect_full_text 'ready for' 'safe signing' -# INS_GET_PUBLIC_KEY -send_apdu 8002010011048000002c800006c18000000080000000 -expect_apdu_return $ERR_WRONG_PARAM -send_apdu 8002800011048000002c800006c18000000080000000 -expect_apdu_return $ERR_WRONG_PARAM -# INS_PROMPT_PUBLIC_KEY -send_apdu 8003010011048000002c800006c18000000080000000 -expect_apdu_return $ERR_WRONG_PARAM -send_apdu 8003800011048000002c800006c18000000080000000 -expect_apdu_return $ERR_WRONG_PARAM -press_button right -press_button right -press_button both -expect_exited diff --git a/tests/integration/nanos/test_wrong_instructions.sh b/tests/integration/nanos/test_wrong_instructions.sh deleted file mode 100644 index c2d53c038..000000000 --- a/tests/integration/nanos/test_wrong_instructions.sh +++ /dev/null @@ -1,10 +0,0 @@ -start_speculos "$seed" -expect_full_text 'ready for' 'safe signing' -send_apdu 8001000000 -expect_apdu_return $ERR_INVALID_INS -send_apdu 8010000000 -expect_apdu_return $ERR_INVALID_INS -press_button right -press_button right -press_button both -expect_exited diff --git a/tests/integration/nanosp/regression_potential_empty_screen.sh b/tests/integration/nanosp/regression_potential_empty_screen.sh deleted file mode 100644 index bd2d8a589..000000000 --- a/tests/integration/nanosp/regression_potential_empty_screen.sh +++ /dev/null @@ -1,32 +0,0 @@ -# full input: 00000000000000000000000000000000000000000000000000000000000000009e00ffdd6102321bc251e4a5190ad5b12b251069d9b4904e02030400000002037a0000000a076501000000013100020000ffdd6102321bc251e4a5190ad5b12b251069d9b4010100000000000000000000000000000000000000000000000008530a0a530a530a53 -# signer: tz1dyX3B1CFYa2DfdFLyPtiJCfQRUgPVME6E -start_speculos "$seed" -expect_full_text 'Tezos Wallet' 'ready for' 'safe signing' -send_async_apdus \ - 800f000011048000002c800006c18000000080000000 "expect_apdu_return 9000" \ - 800f8100890300000000000000000000000000000000000000000000000000000000000000009e00ffdd6102321bc251e4a5190ad5b12b251069d9b4904e02030400000002037a0000000a076501000000013100020000ffdd6102321bc251e4a5190ad5b12b251069d9b4010100000000000000000000000000000000000000000000000008530a0a530a530a53 "expect_apdu_return ba220e5b9af0fa350d127665049ef6dcc85304a6bd62fcc5e4f12752092af1f703399e1639e7884f86b83714e5eea2acdc56d3449f029e7258ef3bbbd35f449105d9545c3c62f7ffa088d3dfebcfa38cd316e2b4d4067cf288e9e275b8fe69019000" -expect_section_content nanosp 'Operation (0)' 'Transfer ticket' -press_button right -expect_section_content nanosp 'Fee' '0.01 tz' -press_button right -expect_section_content nanosp 'Storage limit' '4' -press_button right -expect_section_content nanosp 'Contents' 'UNPAIR' -press_button right -expect_section_content nanosp 'Type' 'pair "1" 2' -press_button right -expect_section_content nanosp 'Ticketer' 'tz1ixvCiPJYyMjsp2nKBVaq54f6AdbV8hCKa' -press_button right -expect_section_content nanosp 'Amount' '1' -press_button right -expect_section_content nanosp 'Destination' 'KT18amZmM5W7qDWVt2pH6uj7sCEd3kbzLrHT' -press_button right -expect_section_content nanosp 'Entrypoint' 'S - -S -S -S' -press_button right -expect_full_text 'Accept?' 'Press both buttons to accept.' -press_button both -expect_async_apdus_sent diff --git a/tests/integration/nanosp/regression_press_right_works_across_apdu_recieves.sh b/tests/integration/nanosp/regression_press_right_works_across_apdu_recieves.sh deleted file mode 100644 index 65b6fe385..000000000 --- a/tests/integration/nanosp/regression_press_right_works_across_apdu_recieves.sh +++ /dev/null @@ -1,20 +0,0 @@ -# full input: 050200000135072f02000000c502000000c0034c072c0200000040051f02000000390200000034052000010743036c030b07430359030a07430368010000001b3b4c5c533f70242d4671295644670a5d74650a6f3476305f3829220200000072020000006d052000020743036c030b07430359030307430368010000002b4c692d252a656446367e3f455b354b6d753f64797669774a5e32225c64244679513e3e213e4424672851670743036801000000202a54783c45605369473659662a415e6b5a5c3d373f485b6d4f6c510a5d4568730200000062072f020000000203210200000054020000004f052000040743036c030b07430359030a074303680100000009225c365f340a246b25074303680100000024635e31225c3f45795f31214556627e393b45583b59550a234b6a325a54386860552158200345 -# full output: {IF_NONE {{SWAP;IF {DIP {{DROP 1;PUSH unit Unit;PUSH bool True;PUSH string ";L\\S?p$-Fq)VDg\n]te\no4v0_8)\""}}} {{DROP 2;PUSH unit Unit;PUSH bool False;PUSH string "Li-%*edF6~?E[5Kmu?dyviwJ^2\"\\d$FyQ>>!>D$g(Qg";PUSH string "*Tx>!>D$g(Qg";PUSH string "*Tx