You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[SDK] client_certs.py has had no callers since #79 and is the only reason cryptography is a dependency #155
centml/sdk/utils/client_certs.py (93 lines) generates a CA/client certificate
triplet for private endpoints. It has had no callers anywhere in this repository
since October 2024, and it is the only reason cryptography is a dependency.
How it got here
Added
abdeb60 (2024-06-17, #48), called from centml/sdk/api.py
Caller removed
d01e054 (2024-10-13, #79, "Upgrade to new platform APIs")
Not mentioned in the README, not exported from centml/sdk/__init__.py (which
is from platform_api_python_client import * plus from . import api, auth), no
CLI command reaches it, and the 119-test suite never touches it.
Why it matters
It is the sole importer of cryptography in the package:
Because the pin is ==, a user whose scanner flags the advisory cannot upgrade cryptography in their own environment without a resolver conflict with us.
Dropping the module would drop the dependency — and cryptography is this
package's heaviest install, carrying compiled artefacts.
What needs deciding
Is private-endpoint certificate generation coming back? The caller was removed
as part of the platform API upgrade, so this is a product question rather than a
cleanup one.
If it is not coming back, removing the module and the cryptography requirement
ends a recurring maintenance stream. One caveat: the module ships in the wheel,
so anyone importing centml.sdk.utils.client_certs directly would break. It is
not a documented surface, but it is an importable one.
Activity