From: Artem Bityutskiy Date: Mon, 16 Sep 2013 11:47:06 +0000 (+0300) Subject: bmaptool: start using sha256 when creating bmap file X-Git-Tag: v3.0~34 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5a3afdcd5ee45b189d4172d31e38aa7fc47dcdb4;p=tools%2Fbmap-tools.git 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 --- 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))