at 24.11-pre 1.5 kB view raw
1diff --git a/matter_server/server/const.py b/matter_server/server/const.py 2index 8cca3cf..43f02f5 100644 3--- a/matter_server/server/const.py 4+++ b/matter_server/server/const.py 5@@ -14,6 +14,8 @@ DATA_MODEL_SCHEMA_VERSION = 6 6 # Keep default location inherited from early version of the Python 7 # bindings. 8 DEFAULT_PAA_ROOT_CERTS_DIR: Final[pathlib.Path] = ( 9+ pathlib.Path("@paacerts@")) 10+( 11 pathlib.Path(__file__) 12 .parent.resolve() 13 .parent.resolve() 14diff --git a/matter_server/server/helpers/paa_certificates.py b/matter_server/server/helpers/paa_certificates.py 15index e530838..fdd6025 100644 16--- a/matter_server/server/helpers/paa_certificates.py 17+++ b/matter_server/server/helpers/paa_certificates.py 18@@ -64,6 +64,8 @@ async def fetch_dcl_certificates( 19 fetch_production_certificates: bool = True, 20 ) -> int: 21 """Fetch DCL PAA Certificates.""" 22+ return 0 23+ 24 LOGGER.info("Fetching the latest PAA root certificates from DCL.") 25 fetch_count: int = 0 26 base_urls = set() 27@@ -124,6 +126,8 @@ async def fetch_dcl_certificates( 28 29 async def fetch_git_certificates(paa_root_cert_dir: Path) -> int: 30 """Fetch Git PAA Certificates.""" 31+ return 0 32+ 33 fetch_count = 0 34 LOGGER.info("Fetching the latest PAA root certificates from Git.") 35 36@@ -159,6 +163,8 @@ async def fetch_certificates( 37 fetch_production_certificates: bool = True, 38 ) -> int: 39 """Fetch PAA Certificates.""" 40+ return 0 41+ 42 loop = asyncio.get_running_loop() 43 44 if not paa_root_cert_dir.is_dir():