document future transition to AES-GCM-SIV as possibility
authorPhilipp Gesang <philipp.gesang@intra2net.com>
Tue, 21 Apr 2020 14:23:39 +0000 (16:23 +0200)
committerPhilipp Gesang <philipp.gesang@intra2net.com>
Fri, 24 Apr 2020 06:55:25 +0000 (08:55 +0200)
Address Deltatar audit item 2.6/1: miscellaneous suggestions

It would be great if we could add support for SIV but there are
no immediate plans for doing so.

deltatar/crypto.py

index 431466e..b3ab9bc 100755 (executable)
@@ -131,6 +131,13 @@ archives essentially consist of a stream of independent objects, the salt and
 other parameters may change. Thus a key derived using above method from the
 first object doesn’t necessarily apply to any of the subsequent objects.
 
+Future Developments
+-------------------------------------------------------------------------------
+
+As of 2020 with the format version 1, Deltatar encryption uses the AES-GCM mode
+which requires meticulous bookkeeping of initialization vectors. A future
+version could simplify this aspect of the encryption by switching to the more
+recent AES-GCM-SIV mode (RFC 8452).
 """
 
 import base64