summaryrefslogtreecommitdiff
path: root/obnamlib/repo_interface.py
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2016-03-17 20:08:26 +0200
committerLars Wirzenius <liw@liw.fi>2016-03-17 20:57:42 +0200
commit66ab40d158be23c6ef97b9fc40282cbc23485b19 (patch)
tree34d831bfb44f4e096f48b1265a8eade4fe38a45e /obnamlib/repo_interface.py
parentdca0e404149ebcecd17e0e57848d69d2ec27ca08 (diff)
downloadobnam-66ab40d158be23c6ef97b9fc40282cbc23485b19.tar.gz
Actually store SHA checksums in GA
Diffstat (limited to 'obnamlib/repo_interface.py')
-rw-r--r--obnamlib/repo_interface.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/obnamlib/repo_interface.py b/obnamlib/repo_interface.py
index 3bba872f..b3744de5 100644
--- a/obnamlib/repo_interface.py
+++ b/obnamlib/repo_interface.py
@@ -61,7 +61,7 @@ REPO_FILE_SHA256 = _get_next_id()
REPO_FILE_SHA384 = _get_next_id()
REPO_FILE_SHA512 = _get_next_id()
-_MAX_STRING_KEY = REPO_FILE_MD5
+_MAX_STRING_KEY = REPO_FILE_SHA512
REPO_GENERATION_STARTED = _get_next_id()
REPO_GENERATION_ENDED = _get_next_id()
@@ -128,6 +128,10 @@ metadata_file_key_mapping = [
(REPO_FILE_DEV, 'st_dev'),
(REPO_FILE_INO, 'st_ino'),
(REPO_FILE_MD5, 'md5'),
+ (REPO_FILE_SHA224, 'sha224'),
+ (REPO_FILE_SHA256, 'sha256'),
+ (REPO_FILE_SHA384, 'sha384'),
+ (REPO_FILE_SHA512, 'sha512'),
]