Skip to contentSkip to conversation

boot/opensbi: add hash file

PATCH New Karsten Merker 3 participants 3 messages Apr 9, 2019 – Apr 10, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 boot/opensbi: add hash file

All downloads performed by buildroot should be integrity-checked if possible. Enable integrity-checking for the RISC-V OpenSBI sources by adding a corresponding hash file.

---
 boot/opensbi/opensbi.hash | 3 +++
 1 file changed, 3 insertions(+)
 create mode 100644 boot/opensbi/opensbi.hash
boot/opensbi/opensbi.hash new file +3 -0
new file mode 100644
index 0000000000..4c6827ac3b
@@ -0,0 +1,3 @@
+# sha256 and sha512 locally computed
+sha256 07f18b73abf3b85aabe5bead19a923716c100d30eb58033459f39c3a224be300 opensbi-v0.3.tar.gz
+sha512 44608a504110ea1a992ebfc05e66fb895295b18defe53f9939bc33c45b04653fc8812c865e19e6a33d48ed8040c6ec2436883815ca615fff85b5ca656a3a0ca4 opensbi-v0.3.tar.gz
Signature · 1 line
2.11.0
#1 lore raw

PATCH 1/1 boot/opensbi: add hash file

Quoted 6 lines · Karsten Merker

All downloads performed by buildroot should be integrity-checked if possible. Enable integrity-checking for the RISC-V OpenSBI sources by adding a corresponding hash file.

Alistair

Quoted 21 lines
---
 boot/opensbi/opensbi.hash | 3 +++
 1 file changed, 3 insertions(+)
 create mode 100644 boot/opensbi/opensbi.hash
boot/opensbi/opensbi.hash new file +3 -1
new file mode 100644
index 0000000000..4c6827ac3b
@@ -0,0 +1,3 @@
+# sha256 and sha512 locally computed
+sha256 07f18b73abf3b85aabe5bead19a923716c100d30eb58033459f39c3a224be300 opensbi-v0.3.tar.gz
+sha512 44608a504110ea1a992ebfc05e66fb895295b18defe53f9939bc33c45b04653fc8812c865e19e6a33d48ed8040c6ec2436883815ca615fff85b5ca656a3a0ca4 opensbi-v0.3.tar.gz
--

2.11.0

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

#2 lore raw

PATCH 1/1 boot/opensbi: add hash file

In reply to Karsten Merker

Hello Karsten,

boot/opensbi/opensbi.hash line 3

Quoted 9 lines · On Tue, 9 Apr 2019 21:38:26 +0200 Karsten Merker <[email protected]> wrote:
boot/opensbi/opensbi.hash new file +3 -0
new file mode 100644
index 0000000000..4c6827ac3b
@@ -0,0 +1,3 @@
+# sha256 and sha512 locally computed
+sha256 07f18b73abf3b85aabe5bead19a923716c100d30eb58033459f39c3a224be300 opensbi-v0.3.tar.gz
+sha512 44608a504110ea1a992ebfc05e66fb895295b18defe53f9939bc33c45b04653fc8812c865e19e6a33d48ed8040c6ec2436883815ca615fff85b5ca656a3a0ca4 opensbi-v0.3.tar.gz

We generally don't have both sha256 and sha512 hashes and typically use sha256 for locally computed hashes. So I've dropped the sha512 hash and applied. Thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com