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@intel.com>
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))