Documentation improvements
authorThomas Jarosch <thomas.jarosch@intra2net.com>
Tue, 3 Apr 2018 05:50:48 +0000 (07:50 +0200)
committerThomas Jarosch <thomas.jarosch@intra2net.com>
Tue, 3 Apr 2018 05:50:48 +0000 (07:50 +0200)
backup.py
deltatar/crypto.py

index 0351300..2c1bf27 100644 (file)
--- a/backup.py
+++ b/backup.py
@@ -96,7 +96,7 @@ if __name__ == "__main__":
     parser.add_argument("-r", "--restore", action='store_true',
                         help="Restore a backup.")
     parser.add_argument("-R", "--recover", action='store_true',
-                        help="Restore a backup with an index file.")
+                        help="Recover a potentially damaged backup with an index file.")
     parser.add_argument("-f", "--full", action='store_true',
                         help="Create a full backup.")
     parser.add_argument("-d", "--diff", action='store_true',
index e19894f..cba2c35 100755 (executable)
@@ -60,7 +60,7 @@ for reading is exhausted.
 Initialization Vectors
 -------------------------------------------------------------------------------
 
-Initialization vectors are checked reuse during the lifetime of a decryptor.
+Initialization vectors are checked for reuse during the lifetime of a decryptor.
 The fixed counters for metadata files cannot be reused and attempts to do so
 will cause a DuplicateIV error. This means the length of objects encrypted with
 a metadata counter is capped at 63 GB.
@@ -322,7 +322,7 @@ PDTCRYPT_MAX_OBJ_SIZE_DEFAULT = 63 * (1 << 30)       #                63 GB
 PDTCRYPT_MAX_OBJ_SIZE         = PDTCRYPT_MAX_OBJ_SIZE_DEFAULT
 
 # index and info files are written on-the fly while encrypting so their
-# counters must be available inadvance
+# counters must be available in advance
 AES_GCM_IV_CNT_INFOFILE     = 1 # constant
 AES_GCM_IV_CNT_INDEX        = AES_GCM_IV_CNT_INFOFILE + 1
 AES_GCM_IV_CNT_DATA         = AES_GCM_IV_CNT_INDEX    + 1 # also for multivolume