docker: remove defunct qemu scripts
What changed, and why it matters
This commit simply deletes three old helper shell scripts used to build and run Jade firmware inside a QEMU emulator via Docker. The scripts are described as defunct and no longer used. There is no change to the actual firmware, wallet logic, cryptography, or any code that runs on user devices.
No security action needed. Treat as routine repository maintenance.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The diff removes three files under main/qemu/: docker_build.sh, docker_runner.sh, and docker_test.sh. These were CI/build convenience wrappers that sourced the ESP-IDF environment, built a QEMU-specific firmware variant, produced a flash image, and ran QEMU CI tests inside a Docker container. The deletion is a cleanup of unused tooling; no runtime, cryptographic, or protocol code is modified.
Changed components
main/qemu/docker_build.shmain/qemu/docker_runner.shmain/qemu/docker_test.shInspect captured patch +0 / −50
diff --git a/main/qemu/docker_build.sh b/main/qemu/docker_build.sh
deleted file mode 100755
index 00bcacd..0000000
--- a/main/qemu/docker_build.sh
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/usr/bin/env bash
-set -e
-
-# This script builds jade for the headless qemu emulator,
-# and then builds the qemu boot image from that.
-# Copies the 'qemu_run.sh' script to /qemu also, so the source
-# '/jade' directories are not longer referenced.
-
-# Build jade
-. /root/esp/esp-idf/export.sh
-
-cd /jade
-rm -fr sdkconfig
-cp configs/sdkconfig_qemu.defaults sdkconfig.defaults
-idf.py all
-
-# Make the qemu flash image
-# This script creates the image in /qemu
-./main/qemu/make-flash-img.sh
-
-# Copy the qemu_run script there also
-cp ./main/qemu/qemu_run.sh /qemu
-
diff --git a/main/qemu/docker_runner.sh b/main/qemu/docker_runner.sh
deleted file mode 100755
index 0771c34..0000000
--- a/main/qemu/docker_runner.sh
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/usr/bin/env bash
-set -e
-
-docker pull blockstream/verde
-docker container run -v ${PWD}:/jade blockstream/verde /jade/main/qemu/docker_test.sh
diff --git a/main/qemu/docker_test.sh b/main/qemu/docker_test.sh
deleted file mode 100755
index a85e162..0000000
--- a/main/qemu/docker_test.sh
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/usr/bin/env bash
-set -e
-
-pushd /opt/esp/idf && . ./export.sh && popd
-
-# Build the qemu variant of the firmware
-cd /jade
-rm -fr sdkconfig
-cp configs/sdkconfig_qemu.defaults sdkconfig.defaults
-idf.py all
-
-# Build the bsdiff tool in the 'tools' directory
-gcc -O2 -DBSDIFF_EXECUTABLE -o tools/bsdiff components/esp32_bsdiff/bsdiff.c
-
-# Compress the built firmware using the standard tools
-./tools/fwprep.py build/jade.bin build
-
-# Make the initial bootable flash image
-./main/qemu/make-flash-img.sh
-
-# Run the qemu ci tests
-./main/qemu/qemu_ci_flash.sh
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.