Otherwise it is not possible to verify against a file created by shaXsum from linux. Usually there is the filename appended after the hash. Signed-off-by: Hubert Feurstein <h.feurstein@xxxxxxxxx> --- commands/digest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/digest.c b/commands/digest.c index 99b27dcc2..21a091717 100644 --- a/commands/digest.c +++ b/commands/digest.c @@ -164,7 +164,7 @@ static int do_digest(int argc, char *argv[]) if (sig) { digestlen = digest_length(d); - if (siglen == 2 * digestlen) { + if (siglen >= 2 * digestlen) { if (!tmp_sig) tmp_sig = xmalloc(digestlen); -- 2.24.0 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox