MCPcopy Create free account
hub / github.com/conda/constructor / _self_signed_certificate_windows

Function _self_signed_certificate_windows

tests/test_examples.py:681–688  ·  view source on GitHub ↗
(path: str, password: str = None)

Source from the content-addressed store, hash-verified

679
680@cache
681def _self_signed_certificate_windows(path: str, password: str = None):
682 if not sys.platform.startswith("win"):
683 return
684 return _execute(
685 ["powershell.exe", REPO_DIR / "scripts/create_self_signed_certificate.ps1"],
686 CONSTRUCTOR_SIGNING_CERTIFICATE=str(path),
687 CONSTRUCTOR_PFX_CERTIFICATE_PASSWORD=password,
688 )
689
690
691def _example_path(example_name):

Callers 1

test_example_signingFunction · 0.85

Calls 1

_executeFunction · 0.85

Tested by

no test coverage detected