Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/bareos/bareos-docs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoerg Steffens <joerg.steffens@bareos.com>2017-10-09 16:37:57 +0300
committerJoerg Steffens <joerg.steffens@bareos.com>2017-10-09 16:37:57 +0300
commit25e58f4f9a0ce3cdc078dd81d8a4281b74c29951 (patch)
tree3831d37802eb929daede1b057906277cc5a47746
parentbc1bbc668944ea850b7e82ec71ea9f0b8325eed6 (diff)
added info about MD5 sum in catalog
-rw-r--r--manuals/en/developers/catalog.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/manuals/en/developers/catalog.md b/manuals/en/developers/catalog.md
index 874419a..cf2b257 100644
--- a/manuals/en/developers/catalog.md
+++ b/manuals/en/developers/catalog.md
@@ -209,6 +209,19 @@ the stand point of total database size. As a consequence, the user must
take care to periodically reduce the number of File records using the
<span>**retention**</span> command in the Console program.
+
+As MD5 hash (also termed message digests) consists of 128-bit (16-byte).
+A typical format (eg. `md5sum`, ...) to represent them is as a sequence of 32 hexadecimal digits.
+However, in the **MD5** column, the digest is represented as base64.
+
+To compare a Bareos digest with command line tools, you have to use
+
+ openssl dgst -md5 -binary $PATH_OF_YOUR_FILE | base64
+
+Also you have to note, that even the table column is named **MD5**,
+it used to store any kind of digest (MD5, SHA1, ...).
+This is not directly indicated by the value, however, you can determine the type depending of the length of the digest.
+
### Job / JobHisto
Column Name | Data Type | Remark