aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/rust.yml
diff options
context:
space:
mode:
authorhuntc <[email protected]>2023-01-06 22:21:39 +1100
committerhuntc <[email protected]>2023-01-12 13:30:58 +1100
commitb0529bc943c9da0eb5f43335d06779d6064b765a (patch)
tree56cb03dbffa74ba471123c44552f36f3125d4a63 /.github/workflows/rust.yml
parentdbf749370897290e16ef6ed2917d075c40358991 (diff)
Support codesigning in the firmware updater
This commit provides a method to verify that firmware has been signed with a private key given its public key. The implementation uses ed25519-dalek as the signature verifier. An "ed25519" feature is required to enable the functionality. When disabled (the default), calling the firmware updater's verify method will return a failure.
Diffstat (limited to '.github/workflows/rust.yml')
-rw-r--r--.github/workflows/rust.yml10
1 files changed, 8 insertions, 2 deletions
diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml
index b93c8783d..3bfe5ef03 100644
--- a/.github/workflows/rust.yml
+++ b/.github/workflows/rust.yml
@@ -68,5 +68,11 @@ jobs:
68 runs-on: ubuntu-latest 68 runs-on: ubuntu-latest
69 steps: 69 steps:
70 - uses: actions/checkout@v2 70 - uses: actions/checkout@v2
71 - name: Test 71
72 run: cd embassy-sync && cargo test 72 - name: Test boot
73 working-directory: ./embassy-boot/boot
74 run: cargo test && cargo test --features "ed25519-dalek" && cargo test --features "ed25519-salty"
75
76 - name: Test sync
77 working-directory: ./embassy-sync
78 run: cargo test