diff --git a/.github/workflows/build_and_functional_tests.yml b/.github/workflows/build_and_functional_tests.yml index e0d280a..974ee5f 100644 --- a/.github/workflows/build_and_functional_tests.yml +++ b/.github/workflows/build_and_functional_tests.yml @@ -23,7 +23,7 @@ jobs: uses: LedgerHQ/ledger-app-workflows/.github/workflows/reusable_build.yml@v1 with: upload_app_binaries_artifact: "ragger_elfs" - flags: "DEBUG=1 CAL_TEST_KEY=1 DOMAIN_NAME_TEST_KEY=1 SET_PLUGIN_TEST_KEY=1 NFT_TEST_KEY=1" + flags: "CAL_TEST_KEY=1 DOMAIN_NAME_TEST_KEY=1 SET_PLUGIN_TEST_KEY=1 NFT_TEST_KEY=1" ragger_tests: name: Run ragger tests using the reusable workflow @@ -31,3 +31,22 @@ jobs: uses: LedgerHQ/ledger-app-workflows/.github/workflows/reusable_ragger_tests.yml@v1 with: download_app_binaries_artifact: "ragger_elfs" + + build_clone_app: + name: Build Clone app using the reusable workflow + uses: LedgerHQ/ledger-app-workflows/.github/workflows/reusable_build.yml@v1 + with: + flags: "CHAIN=thundercore" + upload_app_binaries_artifact: "clone_elfs" + + ragger_clone_tests: + name: Run ragger Clone tests using the reusable workflow + needs: + - build_application + - build_clone_app + uses: LedgerHQ/ledger-app-workflows/.github/workflows/reusable_ragger_tests.yml@v1 + with: + download_app_binaries_artifact: "ragger_elfs" + additional_app_binaries_artifact: "clone_elfs" + additional_app_binaries_artifact_dir: ./tests/ragger/.test_dependencies/clone/build/ + test_options: "--with_lib_mode" diff --git a/tests/ragger/.test_dependencies/clone/.clone_application_goes_there b/tests/ragger/.test_dependencies/clone/.clone_application_goes_there new file mode 100644 index 0000000..e69de29 diff --git a/tests/ragger/conftest.py b/tests/ragger/conftest.py index 1bb7b84..2408765 100644 --- a/tests/ragger/conftest.py +++ b/tests/ragger/conftest.py @@ -1,4 +1,49 @@ -#from ragger.conftest import configuration +import sys +from pathlib import Path +import warnings +import glob + +from ragger.conftest import configuration + +####################### +# CONFIGURATION START # +####################### + +# You can configure optional parameters by overriding the value of +# ragger.configuration.OPTIONAL_CONFIGURATION +# Please refer to ragger/conftest/configuration.py for their descriptions and accepted values + +def pytest_addoption(parser): + parser.addoption("--with_lib_mode", action="store_true", help="Run the test with Library Mode") + + +parent: Path = Path(__file__).parent +testFiles = glob.glob("test_*.py", root_dir=f"{parent}") +collect_ignore = [] +if "--with_lib_mode" in sys.argv: + + # ============================================================================== + # /!\ Tests are started in Library mode: unselect (ignore) unrelated modules /!\ + # ============================================================================== + + warnings.warn("Main app is started in library mode") + + configuration.OPTIONAL.MAIN_APP_DIR = "tests/ragger/.test_dependencies/" + + collect_ignore += [f for f in testFiles if "test_clone" not in f] + +else: + + # =========================================================================== + # /!\ Standards tests without Library mode: unselect (ignore) clone tests /!\ + # =========================================================================== + + collect_ignore += [f for f in testFiles if "test_clone" in f] + + +##################### +# CONFIGURATION END # +##################### # Pull all features from the base ragger conftest using the overridden configuration pytest_plugins = ("ragger.conftest.base_conftest", ) diff --git a/tests/ragger/snapshots/nanos/test_clone_thundercore/00000.png b/tests/ragger/snapshots/nanos/test_clone_thundercore/00000.png new file mode 100644 index 0000000..8d84cc7 Binary files /dev/null and b/tests/ragger/snapshots/nanos/test_clone_thundercore/00000.png differ diff --git a/tests/ragger/snapshots/nanos/test_clone_thundercore/00001.png b/tests/ragger/snapshots/nanos/test_clone_thundercore/00001.png new file mode 100644 index 0000000..98c2086 Binary files /dev/null and b/tests/ragger/snapshots/nanos/test_clone_thundercore/00001.png differ diff --git a/tests/ragger/snapshots/nanos/test_clone_thundercore/00002.png b/tests/ragger/snapshots/nanos/test_clone_thundercore/00002.png new file mode 100644 index 0000000..8656b81 Binary files /dev/null and b/tests/ragger/snapshots/nanos/test_clone_thundercore/00002.png differ diff --git a/tests/ragger/snapshots/nanos/test_clone_thundercore/00003.png b/tests/ragger/snapshots/nanos/test_clone_thundercore/00003.png new file mode 100644 index 0000000..fd3155c Binary files /dev/null and b/tests/ragger/snapshots/nanos/test_clone_thundercore/00003.png differ diff --git a/tests/ragger/snapshots/nanos/test_clone_thundercore/00004.png b/tests/ragger/snapshots/nanos/test_clone_thundercore/00004.png new file mode 100644 index 0000000..c63f25f Binary files /dev/null and b/tests/ragger/snapshots/nanos/test_clone_thundercore/00004.png differ diff --git a/tests/ragger/snapshots/nanos/test_clone_thundercore/00005.png b/tests/ragger/snapshots/nanos/test_clone_thundercore/00005.png new file mode 100644 index 0000000..c55dc11 Binary files /dev/null and b/tests/ragger/snapshots/nanos/test_clone_thundercore/00005.png differ diff --git a/tests/ragger/snapshots/nanos/test_clone_thundercore/00006.png b/tests/ragger/snapshots/nanos/test_clone_thundercore/00006.png new file mode 100644 index 0000000..1c9156c Binary files /dev/null and b/tests/ragger/snapshots/nanos/test_clone_thundercore/00006.png differ diff --git a/tests/ragger/snapshots/nanos/test_clone_thundercore/00007.png b/tests/ragger/snapshots/nanos/test_clone_thundercore/00007.png new file mode 100644 index 0000000..ce795f3 Binary files /dev/null and b/tests/ragger/snapshots/nanos/test_clone_thundercore/00007.png differ diff --git a/tests/ragger/snapshots/nanos/test_clone_thundercore/00008.png b/tests/ragger/snapshots/nanos/test_clone_thundercore/00008.png new file mode 100644 index 0000000..1c9156c Binary files /dev/null and b/tests/ragger/snapshots/nanos/test_clone_thundercore/00008.png differ diff --git a/tests/ragger/snapshots/nanos/test_clone_thundercore/00009.png b/tests/ragger/snapshots/nanos/test_clone_thundercore/00009.png new file mode 100644 index 0000000..ce795f3 Binary files /dev/null and b/tests/ragger/snapshots/nanos/test_clone_thundercore/00009.png differ diff --git a/tests/ragger/snapshots/nanos/test_clone_thundercore/00010.png b/tests/ragger/snapshots/nanos/test_clone_thundercore/00010.png new file mode 100644 index 0000000..ce795f3 Binary files /dev/null and b/tests/ragger/snapshots/nanos/test_clone_thundercore/00010.png differ diff --git a/tests/ragger/snapshots/nanos/test_legacy_etc/00000.png b/tests/ragger/snapshots/nanos/test_legacy_etc/00000.png new file mode 100644 index 0000000..8d84cc7 Binary files /dev/null and b/tests/ragger/snapshots/nanos/test_legacy_etc/00000.png differ diff --git a/tests/ragger/snapshots/nanos/test_legacy_etc/00001.png b/tests/ragger/snapshots/nanos/test_legacy_etc/00001.png new file mode 100644 index 0000000..77e79af Binary files /dev/null and b/tests/ragger/snapshots/nanos/test_legacy_etc/00001.png differ diff --git a/tests/ragger/snapshots/nanos/test_legacy_etc/00002.png b/tests/ragger/snapshots/nanos/test_legacy_etc/00002.png new file mode 100644 index 0000000..c2af54e Binary files /dev/null and b/tests/ragger/snapshots/nanos/test_legacy_etc/00002.png differ diff --git a/tests/ragger/snapshots/nanos/test_legacy_etc/00003.png b/tests/ragger/snapshots/nanos/test_legacy_etc/00003.png new file mode 100644 index 0000000..a54fefd Binary files /dev/null and b/tests/ragger/snapshots/nanos/test_legacy_etc/00003.png differ diff --git a/tests/ragger/snapshots/nanos/test_legacy_etc/00004.png b/tests/ragger/snapshots/nanos/test_legacy_etc/00004.png new file mode 100644 index 0000000..8656b81 Binary files /dev/null and b/tests/ragger/snapshots/nanos/test_legacy_etc/00004.png differ diff --git a/tests/ragger/snapshots/nanos/test_legacy_etc/00005.png b/tests/ragger/snapshots/nanos/test_legacy_etc/00005.png new file mode 100644 index 0000000..fd3155c Binary files /dev/null and b/tests/ragger/snapshots/nanos/test_legacy_etc/00005.png differ diff --git a/tests/ragger/snapshots/nanos/test_legacy_etc/00006.png b/tests/ragger/snapshots/nanos/test_legacy_etc/00006.png new file mode 100644 index 0000000..c63f25f Binary files /dev/null and b/tests/ragger/snapshots/nanos/test_legacy_etc/00006.png differ diff --git a/tests/ragger/snapshots/nanos/test_legacy_etc/00007.png b/tests/ragger/snapshots/nanos/test_legacy_etc/00007.png new file mode 100644 index 0000000..aa0f496 Binary files /dev/null and b/tests/ragger/snapshots/nanos/test_legacy_etc/00007.png differ diff --git a/tests/ragger/snapshots/nanos/test_legacy_etc/00008.png b/tests/ragger/snapshots/nanos/test_legacy_etc/00008.png new file mode 100644 index 0000000..1c9156c Binary files /dev/null and b/tests/ragger/snapshots/nanos/test_legacy_etc/00008.png differ diff --git a/tests/ragger/snapshots/nanos/test_legacy_etc/00009.png b/tests/ragger/snapshots/nanos/test_legacy_etc/00009.png new file mode 100644 index 0000000..9c7e704 Binary files /dev/null and b/tests/ragger/snapshots/nanos/test_legacy_etc/00009.png differ diff --git a/tests/ragger/snapshots/nanos/test_legacy_etc/00010.png b/tests/ragger/snapshots/nanos/test_legacy_etc/00010.png new file mode 120000 index 0000000..de12d01 --- /dev/null +++ b/tests/ragger/snapshots/nanos/test_legacy_etc/00010.png @@ -0,0 +1 @@ +00008.png \ No newline at end of file diff --git a/tests/ragger/snapshots/nanos/test_legacy_etc/00011.png b/tests/ragger/snapshots/nanos/test_legacy_etc/00011.png new file mode 100644 index 0000000..ce795f3 Binary files /dev/null and b/tests/ragger/snapshots/nanos/test_legacy_etc/00011.png differ diff --git a/tests/ragger/snapshots/nanosp/test_clone_thundercore b/tests/ragger/snapshots/nanosp/test_clone_thundercore new file mode 120000 index 0000000..1de979b --- /dev/null +++ b/tests/ragger/snapshots/nanosp/test_clone_thundercore @@ -0,0 +1 @@ +../nanox/test_clone_thundercore \ No newline at end of file diff --git a/tests/ragger/snapshots/nanox/test_clone_thundercore/00000.png b/tests/ragger/snapshots/nanox/test_clone_thundercore/00000.png new file mode 100644 index 0000000..487ea10 Binary files /dev/null and b/tests/ragger/snapshots/nanox/test_clone_thundercore/00000.png differ diff --git a/tests/ragger/snapshots/nanox/test_clone_thundercore/00001.png b/tests/ragger/snapshots/nanox/test_clone_thundercore/00001.png new file mode 100644 index 0000000..af5ca55 Binary files /dev/null and b/tests/ragger/snapshots/nanox/test_clone_thundercore/00001.png differ diff --git a/tests/ragger/snapshots/nanox/test_clone_thundercore/00002.png b/tests/ragger/snapshots/nanox/test_clone_thundercore/00002.png new file mode 100644 index 0000000..0f18eee Binary files /dev/null and b/tests/ragger/snapshots/nanox/test_clone_thundercore/00002.png differ diff --git a/tests/ragger/snapshots/nanox/test_clone_thundercore/00003.png b/tests/ragger/snapshots/nanox/test_clone_thundercore/00003.png new file mode 100644 index 0000000..16fbf15 Binary files /dev/null and b/tests/ragger/snapshots/nanox/test_clone_thundercore/00003.png differ diff --git a/tests/ragger/snapshots/nanox/test_clone_thundercore/00004.png b/tests/ragger/snapshots/nanox/test_clone_thundercore/00004.png new file mode 100644 index 0000000..570ce28 Binary files /dev/null and b/tests/ragger/snapshots/nanox/test_clone_thundercore/00004.png differ diff --git a/tests/ragger/snapshots/nanox/test_clone_thundercore/00005.png b/tests/ragger/snapshots/nanox/test_clone_thundercore/00005.png new file mode 100644 index 0000000..6578872 Binary files /dev/null and b/tests/ragger/snapshots/nanox/test_clone_thundercore/00005.png differ diff --git a/tests/ragger/snapshots/nanox/test_clone_thundercore/00006.png b/tests/ragger/snapshots/nanox/test_clone_thundercore/00006.png new file mode 100644 index 0000000..6578872 Binary files /dev/null and b/tests/ragger/snapshots/nanox/test_clone_thundercore/00006.png differ diff --git a/tests/ragger/snapshots/nanox/test_clone_thundercore/00007.png b/tests/ragger/snapshots/nanox/test_clone_thundercore/00007.png new file mode 100644 index 0000000..a58590b Binary files /dev/null and b/tests/ragger/snapshots/nanox/test_clone_thundercore/00007.png differ diff --git a/tests/ragger/snapshots/nanox/test_legacy_etc/00000.png b/tests/ragger/snapshots/nanox/test_legacy_etc/00000.png new file mode 100644 index 0000000..487ea10 Binary files /dev/null and b/tests/ragger/snapshots/nanox/test_legacy_etc/00000.png differ diff --git a/tests/ragger/snapshots/nanox/test_legacy_etc/00001.png b/tests/ragger/snapshots/nanox/test_legacy_etc/00001.png new file mode 100644 index 0000000..43332d4 Binary files /dev/null and b/tests/ragger/snapshots/nanox/test_legacy_etc/00001.png differ diff --git a/tests/ragger/snapshots/nanox/test_legacy_etc/00002.png b/tests/ragger/snapshots/nanox/test_legacy_etc/00002.png new file mode 100644 index 0000000..0f18eee Binary files /dev/null and b/tests/ragger/snapshots/nanox/test_legacy_etc/00002.png differ diff --git a/tests/ragger/snapshots/nanox/test_legacy_etc/00003.png b/tests/ragger/snapshots/nanox/test_legacy_etc/00003.png new file mode 100644 index 0000000..c59d95a Binary files /dev/null and b/tests/ragger/snapshots/nanox/test_legacy_etc/00003.png differ diff --git a/tests/ragger/snapshots/nanox/test_legacy_etc/00004.png b/tests/ragger/snapshots/nanox/test_legacy_etc/00004.png new file mode 100644 index 0000000..570ce28 Binary files /dev/null and b/tests/ragger/snapshots/nanox/test_legacy_etc/00004.png differ diff --git a/tests/ragger/snapshots/nanox/test_legacy_etc/00005.png b/tests/ragger/snapshots/nanox/test_legacy_etc/00005.png new file mode 100644 index 0000000..c922246 Binary files /dev/null and b/tests/ragger/snapshots/nanox/test_legacy_etc/00005.png differ diff --git a/tests/ragger/snapshots/nanox/test_legacy_etc/00006.png b/tests/ragger/snapshots/nanox/test_legacy_etc/00006.png new file mode 120000 index 0000000..917964c --- /dev/null +++ b/tests/ragger/snapshots/nanox/test_legacy_etc/00006.png @@ -0,0 +1 @@ +00004.png \ No newline at end of file diff --git a/tests/ragger/snapshots/nanox/test_legacy_etc/00007.png b/tests/ragger/snapshots/nanox/test_legacy_etc/00007.png new file mode 100644 index 0000000..a58590b Binary files /dev/null and b/tests/ragger/snapshots/nanox/test_legacy_etc/00007.png differ diff --git a/tests/ragger/snapshots/stax/test_clone_thundercore/00000.png b/tests/ragger/snapshots/stax/test_clone_thundercore/00000.png new file mode 100644 index 0000000..f992e71 Binary files /dev/null and b/tests/ragger/snapshots/stax/test_clone_thundercore/00000.png differ diff --git a/tests/ragger/snapshots/stax/test_clone_thundercore/00001.png b/tests/ragger/snapshots/stax/test_clone_thundercore/00001.png new file mode 100644 index 0000000..aaf0745 Binary files /dev/null and b/tests/ragger/snapshots/stax/test_clone_thundercore/00001.png differ diff --git a/tests/ragger/snapshots/stax/test_clone_thundercore/00002.png b/tests/ragger/snapshots/stax/test_clone_thundercore/00002.png new file mode 100644 index 0000000..bc1ca93 Binary files /dev/null and b/tests/ragger/snapshots/stax/test_clone_thundercore/00002.png differ diff --git a/tests/ragger/snapshots/stax/test_clone_thundercore/00003.png b/tests/ragger/snapshots/stax/test_clone_thundercore/00003.png new file mode 100644 index 0000000..a21279c Binary files /dev/null and b/tests/ragger/snapshots/stax/test_clone_thundercore/00003.png differ diff --git a/tests/ragger/snapshots/stax/test_clone_thundercore/00004.png b/tests/ragger/snapshots/stax/test_clone_thundercore/00004.png new file mode 100644 index 0000000..a21279c Binary files /dev/null and b/tests/ragger/snapshots/stax/test_clone_thundercore/00004.png differ diff --git a/tests/ragger/test_clone.py b/tests/ragger/test_clone.py new file mode 100644 index 0000000..b06bf84 --- /dev/null +++ b/tests/ragger/test_clone.py @@ -0,0 +1,32 @@ +from web3 import Web3 + +from ragger.backend import BackendInterface +from ragger.firmware import Firmware +from ragger.navigator import Navigator + +from test_sign import common + + +# Values used across all tests +ADDR = bytes.fromhex("5a321744667052affa8386ed49e00ef223cbffc3") +BIP32_PATH = "m/44'/1001'/0'/0/0" +NONCE = 68 +GAS_PRICE = 13 +GAS_LIMIT = 21000 +VALUE = 0.31415 + + +# Transfer on Clone app +def test_clone_thundercore(firmware: Firmware, + backend: BackendInterface, + navigator: Navigator, + test_name: str): + tx_params: dict = { + "nonce": NONCE, + "gasPrice": Web3.to_wei(GAS_PRICE, 'gwei'), + "gas": GAS_LIMIT, + "to": ADDR, + "value": Web3.to_wei(VALUE, "ether"), + "chainId": 108 + } + common(firmware, backend, navigator, tx_params, test_name, BIP32_PATH) diff --git a/tests/zemu/snapshots/nanos_disable_blind_signing/00000.png b/tests/zemu/snapshots/nanos_disable_blind_signing/00000.png deleted file mode 100644 index 0bef4f3..0000000 Binary files a/tests/zemu/snapshots/nanos_disable_blind_signing/00000.png and /dev/null differ diff --git a/tests/zemu/snapshots/nanos_disable_blind_signing/00001.png b/tests/zemu/snapshots/nanos_disable_blind_signing/00001.png deleted file mode 100644 index 29a6bd3..0000000 Binary files a/tests/zemu/snapshots/nanos_disable_blind_signing/00001.png and /dev/null differ diff --git a/tests/zemu/snapshots/nanos_disable_blind_signing/00002.png b/tests/zemu/snapshots/nanos_disable_blind_signing/00002.png deleted file mode 100644 index d4bd8ad..0000000 Binary files a/tests/zemu/snapshots/nanos_disable_blind_signing/00002.png and /dev/null differ diff --git a/tests/zemu/snapshots/nanos_disable_blind_signing/00003.png b/tests/zemu/snapshots/nanos_disable_blind_signing/00003.png deleted file mode 100644 index 7b3e0ea..0000000 Binary files a/tests/zemu/snapshots/nanos_disable_blind_signing/00003.png and /dev/null differ diff --git a/tests/zemu/snapshots/nanos_disable_blind_signing/00004.png b/tests/zemu/snapshots/nanos_disable_blind_signing/00004.png deleted file mode 100644 index e4ad84f..0000000 Binary files a/tests/zemu/snapshots/nanos_disable_blind_signing/00004.png and /dev/null differ diff --git a/tests/zemu/snapshots/nanos_disable_blind_signing/00005.png b/tests/zemu/snapshots/nanos_disable_blind_signing/00005.png deleted file mode 100644 index 28e70e8..0000000 Binary files a/tests/zemu/snapshots/nanos_disable_blind_signing/00005.png and /dev/null differ diff --git a/tests/zemu/snapshots/nanos_disable_blind_signing/00006.png b/tests/zemu/snapshots/nanos_disable_blind_signing/00006.png deleted file mode 100644 index c844a37..0000000 Binary files a/tests/zemu/snapshots/nanos_disable_blind_signing/00006.png and /dev/null differ diff --git a/tests/zemu/snapshots/nanos_disable_blind_signing/00007.png b/tests/zemu/snapshots/nanos_disable_blind_signing/00007.png deleted file mode 100644 index be02838..0000000 Binary files a/tests/zemu/snapshots/nanos_disable_blind_signing/00007.png and /dev/null differ diff --git a/tests/zemu/snapshots/nanos_disable_blind_signing/00008.png b/tests/zemu/snapshots/nanos_disable_blind_signing/00008.png deleted file mode 100644 index 0bef4f3..0000000 Binary files a/tests/zemu/snapshots/nanos_disable_blind_signing/00008.png and /dev/null differ diff --git a/tests/zemu/snapshots/nanox_disable_blind_signing/00000.png b/tests/zemu/snapshots/nanox_disable_blind_signing/00000.png deleted file mode 100644 index 7a77cb1..0000000 Binary files a/tests/zemu/snapshots/nanox_disable_blind_signing/00000.png and /dev/null differ diff --git a/tests/zemu/snapshots/nanox_disable_blind_signing/00001.png b/tests/zemu/snapshots/nanox_disable_blind_signing/00001.png deleted file mode 100644 index bf49b96..0000000 Binary files a/tests/zemu/snapshots/nanox_disable_blind_signing/00001.png and /dev/null differ diff --git a/tests/zemu/snapshots/nanox_disable_blind_signing/00002.png b/tests/zemu/snapshots/nanox_disable_blind_signing/00002.png deleted file mode 100644 index 9230349..0000000 Binary files a/tests/zemu/snapshots/nanox_disable_blind_signing/00002.png and /dev/null differ diff --git a/tests/zemu/snapshots/nanox_disable_blind_signing/00003.png b/tests/zemu/snapshots/nanox_disable_blind_signing/00003.png deleted file mode 100644 index 75f5f7c..0000000 Binary files a/tests/zemu/snapshots/nanox_disable_blind_signing/00003.png and /dev/null differ diff --git a/tests/zemu/snapshots/nanox_disable_blind_signing/00004.png b/tests/zemu/snapshots/nanox_disable_blind_signing/00004.png deleted file mode 100644 index ed04d70..0000000 Binary files a/tests/zemu/snapshots/nanox_disable_blind_signing/00004.png and /dev/null differ diff --git a/tests/zemu/snapshots/nanox_disable_blind_signing/00005.png b/tests/zemu/snapshots/nanox_disable_blind_signing/00005.png deleted file mode 100644 index ed01866..0000000 Binary files a/tests/zemu/snapshots/nanox_disable_blind_signing/00005.png and /dev/null differ diff --git a/tests/zemu/snapshots/nanox_disable_blind_signing/00006.png b/tests/zemu/snapshots/nanox_disable_blind_signing/00006.png deleted file mode 100644 index 9ce4343..0000000 Binary files a/tests/zemu/snapshots/nanox_disable_blind_signing/00006.png and /dev/null differ diff --git a/tests/zemu/snapshots/nanox_disable_blind_signing/00007.png b/tests/zemu/snapshots/nanox_disable_blind_signing/00007.png deleted file mode 100644 index bc8064a..0000000 Binary files a/tests/zemu/snapshots/nanox_disable_blind_signing/00007.png and /dev/null differ diff --git a/tests/zemu/snapshots/nanox_disable_blind_signing/00008.png b/tests/zemu/snapshots/nanox_disable_blind_signing/00008.png deleted file mode 100644 index 7a77cb1..0000000 Binary files a/tests/zemu/snapshots/nanox_disable_blind_signing/00008.png and /dev/null differ