[bmap-tools] [PATCH 08/20] bmaptool: start using sha256 when creating bmap file
Artem Bityutskiy
dedekind1 at gmail.com
Wed Sep 18 03:38:20 EDT 2013
From: Artem Bityutskiy <artem.bityutskiy at intel.com>
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 <artem.bityutskiy at intel.com>
---
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))
--
1.8.1.4
More information about the Bmap-tools
mailing list