From 5a3afdcd5ee45b189d4172d31e38aa7fc47dcdb4 Mon Sep 17 00:00:00 2001 From: Artem Bityutskiy Date: Mon, 16 Sep 2013 14:47:06 +0300 Subject: [PATCH] bmaptool: start using sha256 when creating bmap file Switch from using SHA1 to SHA256 for the 'bmaptool create' command. Basically, this is what the Fedora community requested, with a reference to this: http://csrc.nist.gov/groups/ST/hash/policy_2006.html Change-Id: I3facbd8d5588903b1d7d28eac77d147d0390a1c4 Signed-off-by: Artem Bityutskiy --- bmaptool | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bmaptool b/bmaptool index bcc0b6b..6236810 100755 --- a/bmaptool +++ b/bmaptool @@ -313,7 +313,7 @@ def create_command(args, log): raise SystemExit(1) try: - creator = BmapCreate.BmapCreate(args.image, output) + creator = BmapCreate.BmapCreate(args.image, output, "sha256") creator.generate(not args.no_checksum) except BmapCreate.Error as err: log.error(str(err)) -- 2.7.4