BmapCreate: make sha256 to be the default
authorArtem Bityutskiy <artem.bityutskiy@intel.com>
Mon, 30 Sep 2013 07:04:48 +0000 (10:04 +0300)
committerArtem Bityutskiy <artem.bityutskiy@intel.com>
Mon, 30 Sep 2013 07:10:04 +0000 (10:10 +0300)
Change-Id: I9d788371cfcc8a6c45ac7c443421c757058a12c6
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@intel.com>
bmaptools/BmapCreate.py

index 16edef209c70e38db04201b1eac9bdd2eae07a70..e1a84c15f867d76a4760096f5d66b695389bc7a9 100644 (file)
@@ -112,7 +112,7 @@ class BmapCreate:
     the FIEMAP ioctl to generate the bmap.
     """
 
-    def __init__(self, image, bmap, chksum_type="sha1"):
+    def __init__(self, image, bmap, chksum_type="sha256"):
         """
         Initialize a class instance:
         * image  - full path or a file-like object of the image to create bmap