diff options
author | Frederick Muriuki Muriithi | 2024-04-20 21:15:37 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2024-04-23 11:49:08 +0300 |
commit | efea75b09d6c3d23989fe9ae72fc45bc935e26e8 (patch) | |
tree | 17b7e9e6035d2147c4dc2e3d0622e08e6f794387 /gn2/wqflask | |
parent | a1b4e9a245158a9735f5f49b5f12d6df3f8d53c5 (diff) | |
download | genenetwork2-efea75b09d6c3d23989fe9ae72fc45bc935e26e8.tar.gz |
Client needs access to PRIVATE KEY, not PUBLIC KEY.
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(): |