def test_create_backup_index_max_file_length (self):
"""
- Creates a full backup including one file that exceeds the (purposely
- lowered) upper bound on GCM encrypted objects. This will yield two
- encrypted objects for one plaintext file.
+ Creates a full backup with a too large index file for the upper bound
+ of the GCM encryption. Since the index file has a fixed IV file counter
+ of AES_GCM_IV_CNT_INDEX, we expect the crypto layer to abort.
- Success is verified by splitting the archive at object boundaries and
- counting the parts.
+ 60+ GB of (potentially compressed) index file should last for a while...
"""
if self.MODE_COMPRESSES is True:
raise SkipTest ("GCM file length test not meaningful with compression.")