aboutsummaryrefslogtreecommitdiff
path: root/docs/pages/bootloader.adoc
diff options
context:
space:
mode:
authorOlivier Hériveaux <[email protected]>2024-09-23 16:11:45 +0200
committerOlivier Hériveaux <[email protected]>2024-09-23 16:11:45 +0200
commit05d453bfd81bce49d541b2eeee3a8788e5a5fd7e (patch)
treeea7cacf70c451b9261ac2c81235e20d07eeaf3f4 /docs/pages/bootloader.adoc
parent3d6a270f30c45eaf394c8eb8bf182dd1a7ec2d7b (diff)
Fixed signature script in bootloader documentation
Diffstat (limited to 'docs/pages/bootloader.adoc')
-rw-r--r--docs/pages/bootloader.adoc3
1 files changed, 1 insertions, 2 deletions
diff --git a/docs/pages/bootloader.adoc b/docs/pages/bootloader.adoc
index 3b0cdb182..a80e75c4c 100644
--- a/docs/pages/bootloader.adoc
+++ b/docs/pages/bootloader.adoc
@@ -86,8 +86,7 @@ Then, to sign your firmware given a declaration of `FIRMWARE_DIR` and a firmware
86 86
87[source, bash] 87[source, bash]
88---- 88----
89shasum -a 512 -b $FIRMWARE_DIR/myfirmware > $SECRETS_DIR/message.txt 89shasum -a 512 -b $FIRMWARE_DIR/myfirmware | head -c128 | xxd -p -r > $SECRETS_DIR/message.txt
90cat $SECRETS_DIR/message.txt | dd ibs=128 count=1 | xxd -p -r > $SECRETS_DIR/message.txt
91signify -S -s $SECRETS_DIR/key.sec -m $SECRETS_DIR/message.txt -x $SECRETS_DIR/message.txt.sig 90signify -S -s $SECRETS_DIR/key.sec -m $SECRETS_DIR/message.txt -x $SECRETS_DIR/message.txt.sig
92cp $FIRMWARE_DIR/myfirmware $FIRMWARE_DIR/myfirmware+signed 91cp $FIRMWARE_DIR/myfirmware $FIRMWARE_DIR/myfirmware+signed
93tail -n1 $SECRETS_DIR/message.txt.sig | base64 -d -i - | dd ibs=10 skip=1 >> $FIRMWARE_DIR/myfirmware+signed 92tail -n1 $SECRETS_DIR/message.txt.sig | base64 -d -i - | dd ibs=10 skip=1 >> $FIRMWARE_DIR/myfirmware+signed