All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] boot/opensbi: add hash file
@ 2019-04-09 19:38 Karsten Merker
  2019-04-09 20:16 ` Alistair Francis
  2019-04-10  9:54 ` Thomas Petazzoni
  0 siblings, 2 replies; 3+ messages in thread
From: Karsten Merker @ 2019-04-09 19:38 UTC (permalink / raw)
  To: buildroot

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.

Signed-off-by: Karsten Merker <merker@debian.org>
---
 boot/opensbi/opensbi.hash | 3 +++
 1 file changed, 3 insertions(+)
 create mode 100644 boot/opensbi/opensbi.hash

diff --git a/boot/opensbi/opensbi.hash b/boot/opensbi/opensbi.hash
new file mode 100644
index 0000000000..4c6827ac3b
--- /dev/null
+++ b/boot/opensbi/opensbi.hash
@@ -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

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH] boot/opensbi: add hash file
  2019-04-09 19:38 [Buildroot] [PATCH] boot/opensbi: add hash file Karsten Merker
@ 2019-04-09 20:16 ` Alistair Francis
  2019-04-10  9:54 ` Thomas Petazzoni
  1 sibling, 0 replies; 3+ messages in thread
From: Alistair Francis @ 2019-04-09 20:16 UTC (permalink / raw)
  To: buildroot

On Tue, Apr 9, 2019 at 12:38 PM Karsten Merker <merker@debian.org> wrote:
>
> 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.
>
> Signed-off-by: Karsten Merker <merker@debian.org>

Reviewed-by: Alistair Francis <alistair.francis@wdc.com>

Alistair

> ---
>  boot/opensbi/opensbi.hash | 3 +++
>  1 file changed, 3 insertions(+)
>  create mode 100644 boot/opensbi/opensbi.hash
>
> diff --git a/boot/opensbi/opensbi.hash b/boot/opensbi/opensbi.hash
> new file mode 100644
> index 0000000000..4c6827ac3b
> --- /dev/null
> +++ b/boot/opensbi/opensbi.hash
> @@ -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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH] boot/opensbi: add hash file
  2019-04-09 19:38 [Buildroot] [PATCH] boot/opensbi: add hash file Karsten Merker
  2019-04-09 20:16 ` Alistair Francis
@ 2019-04-10  9:54 ` Thomas Petazzoni
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2019-04-10  9:54 UTC (permalink / raw)
  To: buildroot

Hello Karsten,

On Tue,  9 Apr 2019 21:38:26 +0200
Karsten Merker <merker@debian.org> wrote:

> diff --git a/boot/opensbi/opensbi.hash b/boot/opensbi/opensbi.hash
> new file mode 100644
> index 0000000000..4c6827ac3b
> --- /dev/null
> +++ b/boot/opensbi/opensbi.hash
> @@ -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
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-04-10  9:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-09 19:38 [Buildroot] [PATCH] boot/opensbi: add hash file Karsten Merker
2019-04-09 20:16 ` Alistair Francis
2019-04-10  9:54 ` Thomas Petazzoni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.