diff --git a/.github/workflows/eos-simulation.yml b/.github/workflows/eos-simulation.yml index 1dbcd1e8..4cda5497 100644 --- a/.github/workflows/eos-simulation.yml +++ b/.github/workflows/eos-simulation.yml @@ -9,6 +9,15 @@ on: env: EOS_VERSION: "0.6.0" + # The kernel job compiles eBoot and checks out ebuild. Those used to float on + # `ref: master`, so the moment either repo's master stopped compiling, every + # open eos PR went red for a reason no eos change caused and no eos change + # could fix (2026-09-03: eBoot master's eos_image.h asserts a member that no + # longer exists, and its ed25519_verify.c has a redefined helper -- eBoot #94 + # repairs it). A dependency is pinned and bumped deliberately; when eBoot #94 + # lands, bump EBOOT_COMMIT to that merge and CI will say whether it holds. + EBOOT_COMMIT: "a172a6d6e1e66877413ed546401a65ee4f4f90db" + EBUILD_COMMIT: "e5d8052f3e2cfdcb1c91bab8300087aa07e02679" CROSS_COMPILE: "aarch64-linux-gnu-" QEMU_MACHINE: "virt" QEMU_CPU: "cortex-a57" @@ -29,14 +38,14 @@ jobs: uses: actions/checkout@v4 with: repository: embeddedos-org/eBoot - ref: master + ref: ${{ env.EBOOT_COMMIT }} path: eBoot - name: Checkout ebuild uses: actions/checkout@v4 with: repository: embeddedos-org/ebuild - ref: master + ref: ${{ env.EBUILD_COMMIT }} path: ebuild # embeddedos-org/eFab does not exist -- the checkout 404s and takes this @@ -276,7 +285,7 @@ jobs: uses: actions/checkout@v4 with: repository: embeddedos-org/ebuild - ref: master + ref: ${{ env.EBUILD_COMMIT }} # Same missing repository as in build-kernel. # - name: Checkout eFab diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index bfc0e049..f2d6c600 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -90,6 +90,11 @@ add_executable(test_crypto_rsa test_crypto_rsa.c) target_link_libraries(test_crypto_rsa PRIVATE eos_crypto) add_test(NAME test_crypto_rsa COMMAND test_crypto_rsa) +# --- test_crypto_ed25519_loworder: reject keys outside the prime-order subgroup --- +add_executable(test_crypto_ed25519_loworder test_crypto_ed25519_loworder.c) +target_link_libraries(test_crypto_ed25519_loworder PRIVATE eos_crypto) +add_test(NAME test_crypto_ed25519_loworder COMMAND test_crypto_ed25519_loworder) + # --- test_crypto_sha512: SHA-512 against NIST vectors --- add_executable(test_crypto_sha512 test_crypto_sha512.c) target_link_libraries(test_crypto_sha512 PRIVATE eos_crypto) diff --git a/tests/test_net.c b/tests/test_net.c index ceec707e..1f4c00a3 100644 --- a/tests/test_net.c +++ b/tests/test_net.c @@ -2,7 +2,6 @@ #include #include #include -#include #define EOS_ENABLE_NET 1 #include "eos/eos_config.h" #include "eos/net.h"