clarify possible IV reuse with multiple Encrypt handles
authorPhilipp Gesang <philipp.gesang@intra2net.com>
Thu, 16 Apr 2020 15:40:08 +0000 (17:40 +0200)
committerPhilipp Gesang <philipp.gesang@intra2net.com>
Tue, 21 Apr 2020 14:47:39 +0000 (16:47 +0200)
commit66b1c6f4ef81f0c6b3e3af491f016ae2572a22d3
tree48e5f01403c6c67fa6c5c41e75f4de629cb42801
parent6110ef14e6db8c83576eb15344772bafac0a6b1c
clarify possible IV reuse with multiple Encrypt handles

Address Deltatar audit item 2.2: Unsafe to create more than 2^32
instances of Encrypt using the same key and salt

Extend the documentation section on handling of IVs with a
paragraph concerning multiple Encrypt handles. Also add a method
to obtain the list of IVs for checks performed by the caller.
deltatar/crypto.py
testing/test_crypto.py