diff options
Diffstat (limited to 'gn2/wqflask')
-rw-r--r-- | gn2/wqflask/__init__.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gn2/wqflask/__init__.py b/gn2/wqflask/__init__.py index 40953522..6b6c48ac 100644 --- a/gn2/wqflask/__init__.py +++ b/gn2/wqflask/__init__.py @@ -108,8 +108,8 @@ except StartupError as serr: server_session = Session(app) -with open(app.config["SSL_KEY_PAIR_PUBLIC_KEY"]) as _sslkey: - app.config["JWT_PUBLIC_KEY"] = JsonWebKey.import_key(_sslkey.read()) +with open(app.config["SSL_KEY_PAIR_PRIVATE_KEY"]) as _sslkey: + app.config["JWT_PRIVATE_KEY"] = JsonWebKey.import_key(_sslkey.read()) @app.before_request def before_request(): |