Traceback (most recent call last):


 "/usr/local/lib/python3.9/site-packages/flask/app.py", line 2447, in wsgi_app

response = self.full_dispatch_request()


 "/usr/local/lib/python3.9/site-packages/flask/app.py", line 1952, in full_dispatch_request

rv = self.handle_user_exception(e)


 "/usr/local/lib/python3.9/site-packages/flask/app.py", line 1821, in handle_user_exception

reraise(exc_type, exc_value, tb)


 "/usr/local/lib/python3.9/site-packages/flask/_compat.py", line 39, in reraise

raise value


 "/usr/local/lib/python3.9/site-packages/flask/app.py", line 1950, in full_dispatch_request

rv = self.dispatch_request()


 "/usr/local/lib/python3.9/site-packages/flask/app.py", line 1936, in dispatch_request

return self.view_functions[rule.endpoint](**req.view_args)


 "/usr/local/lib/python3.9/site-packages/flask_login/utils.py", line 272, in decorated_view

return func(*args, **kwargs)


 "/opt/powerdns-admin/powerdnsadmin/decorators.py", line 33, in decorated_function

return f(*args, **kwargs)


 "/opt/powerdns-admin/powerdnsadmin/routes/admin.py", line 170, in edit_key

apikey = ApiKey(desc=description,


 "<string>", line 4, in __init__


 "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/state.py", line 433, in _initialize_instance

manager.dispatch.init_failure(self, args, kwargs)


 "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/langhelpers.py", line 68, in __exit__

compat.raise_(


 "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/compat.py", line 182, in raise_

raise exception


 "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/state.py", line 430, in _initialize_instance

return manager.original_init(*mixed[1:], **kwargs)


 "/opt/powerdns-admin/powerdnsadmin/models/api_key.py", line 32, in __init__

self.key = self.get_hashed_password(rand_key).decode('utf-8')


 "/opt/powerdns-admin/powerdnsadmin/models/api_key.py", line 91, in get_hashed_password

current_app.config.get('SALT').encode('utf-8'))
AttributeError: 'NoneType' object has no attribute 'encode'

[!] Traceback (most recent call last):


 "lazagne\softwares\browsers\mozilla.py", line 398, in is_master_password_correct
AttributeError: 'Sequence' object has no attribute 'asOctets'
