From 34fbf0965783cc993876af307a353ba9d33ca69d Mon Sep 17 00:00:00 2001 From: Scott Murray Date: Tue, 28 Nov 2023 19:03:09 -0500 Subject: Update paths for kuksa-client 0.4.2 Update paths into the kuksa-client module directories to work with the new locations after the switch to the split out module repository, i.e. built with kuksa-python-sdk instead of kuksa.val. Bug-AGL: SPEC-4996 Change-Id: If7ef3785f8a245b1c31e721b61687db728331103 Signed-off-by: Scott Murray --- extras/config.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/extras/config.py b/extras/config.py index f8e5ccb..4959b40 100644 --- a/extras/config.py +++ b/extras/config.py @@ -34,19 +34,18 @@ CONFIG_PATHS = check_paths( CA_PATHS = check_paths( "/etc/kuksa-val/CA.pem", - f"/usr/lib/{python_version}/site-packages/kuksa_certificates/CA.pem", + f"/usr/lib/{python_version}/site-packages/kuksa_client/kuksa_server_certificates/CA.pem", os.path.abspath(os.path.join(os.path.dirname( __file__), "../assets/cert/CA.pem")) ) WS_TOKEN_PATHS = check_paths( - f"/usr/lib/{python_version}/site-packages/kuksa_certificates/jwt/super-admin.json.token", + f"/usr/lib/{python_version}/site-packages/kuksa_client/kuksa_server_certificates/jwt/super-admin.json.token", os.path.join(os.path.expanduser( - "~"), f".local/lib/{python_version}/site-packages/kuksa_certificates/jwt/super-admin.json.token") + "~"), f".local/lib/{python_version}/site-packages/kuksa_client/kuksa_server_certificates/jwt/super-admin.json.token") ) GRPC_TOKEN_PATHS = check_paths( - f"/usr/lib/{python_version}/site-packages/kuksa_certificates/jwt/super-admin.json.token", os.path.abspath(os.path.join(os.path.dirname(__file__), "../assets/token/grpc/actuate-provide-all.token")) ) -- cgit 1.2.3-korg