Open francoislaurent opened 4 years ago
This is actually due to an encryption error:
Traceback (most recent call last):
File "escale/encryption/encryption.py", line 83, in encrypt
_c = self._encrypt(fi.read())
File "escale/encryption/fernet.py", line 28, in _encrypt
return self.cipher.encrypt(data)
File "~/.local/lib/python3.7/site-packages/cryptography/fernet.py", line 52, in encrypt
return self._encrypt_from_parts(data, current_time, iv)
File "~/.local/lib/python3.7/site-packages/cryptography/fernet.py", line 62, in _encrypt_from_parts
ciphertext = encryptor.update(padded_data) + encryptor.finalize()
File "~/.local/lib/python3.7/site-packages/cryptography/hazmat/primitives/ciphers/base.py", line 149, in update
return self._ctx.update(data)
File "~/.local/lib/python3.7/site-packages/cryptography/hazmat/backends/openssl/ciphers.py", line 124, in update
n = self.update_into(data, buf)
File "~/.local/lib/python3.7/site-packages/cryptography/hazmat/backends/openssl/ciphers.py", line 140, in update_into
self._backend._ffi.from_buffer(data), len(data)
OverflowError: integer 5469348304 does not fit '32-bit int'