You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I try to save a note for one day, I always get an error-message "There was an error saving. Please try again". In the docker logs I see the python error "ValueError: IV must be 16 bytes long".
I appears if I build the container myself from the cloned github repo, or if I pull the "offical" dockerimage from docker hub. Does anyone other gets these errors?
One complete logoutput is:
server_1 | Traceback (most recent call last):
server_1 | File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 2447, in wsgi_app
server_1 | response = self.full_dispatch_request()
server_1 | File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 1952, in full_dispatch_request
server_1 | rv = self.handle_user_exception(e)
server_1 | File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 1821, in handle_user_exception
server_1 | reraise(exc_type, exc_value, tb)
server_1 | File "/usr/local/lib/python3.8/site-packages/flask/_compat.py", line 39, in reraise
server_1 | raise value
server_1 | File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 1950, in full_dispatch_request
server_1 | rv = self.dispatch_request()
server_1 | File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 1936, in dispatch_request
server_1 | return self.view_functions[rule.endpoint](**req.view_args)
server_1 | File "/usr/local/lib/python3.8/site-packages/flask_jwt_extended/view_decorators.py", line 108, in wrapper
server_1 | return fn(*args, **kwargs)
server_1 | File "/app/app/routes.py", line 72, in save_day
server_1 | enc_date = aes_encrypt(title)
server_1 | File "/app/app/models.py", line 18, in aes_encrypt
server_1 | cipher = AES.new(key, AES.MODE_CFB, key[::-1])
server_1 | File "/usr/local/lib/python3.8/site-packages/Crypto/Cipher/AES.py", line 95, in new
server_1 | return AESCipher(key, *args, **kwargs)
server_1 | File "/usr/local/lib/python3.8/site-packages/Crypto/Cipher/AES.py", line 59, in __init__
server_1 | blockalgo.BlockAlgo.__init__(self, _AES, key, *args, **kwargs)
server_1 | File "/usr/local/lib/python3.8/site-packages/Crypto/Cipher/blockalgo.py", line 141, in __init__
server_1 | self._cipher = factory.new(key, *args, **kwargs)
server_1 | ValueError: IV must be 16 bytes long
Thanks for helping
The text was updated successfully, but these errors were encountered:
If I try to save a note for one day, I always get an error-message "There was an error saving. Please try again". In the docker logs I see the python error "ValueError: IV must be 16 bytes long".
I appears if I build the container myself from the cloned github repo, or if I pull the "offical" dockerimage from docker hub. Does anyone other gets these errors?
One complete logoutput is:
Thanks for helping
The text was updated successfully, but these errors were encountered: