From f253235c968534378ea2e8ef1b07c4f9815fd382 Mon Sep 17 00:00:00 2001 From: meejah Date: Mon, 24 Jun 2019 11:41:46 -0600 Subject: [PATCH] the IV is bytes --- src/allmydata/crypto/aes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/allmydata/crypto/aes.py b/src/allmydata/crypto/aes.py index dd496e6bd..a2ab36927 100644 --- a/src/allmydata/crypto/aes.py +++ b/src/allmydata/crypto/aes.py @@ -19,7 +19,7 @@ from cryptography.hazmat.primitives.ciphers import ( ) -DEFAULT_IV = '\x00' * 16 +DEFAULT_IV = b'\x00' * 16 def create_encryptor(key, iv=None):