MCPcopy Create free account
hub / github.com/MagicStack/asyncpg / existing_key

Function existing_key

tests/certs/gen.py:254–257  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

252
253def main(*, rotate_keys=False):
254 def existing_key(path):
255 if rotate_keys:
256 return None
257 return _load_key(path)
258
259 ca = new_ca(
260 "ca",

Callers 1

mainFunction · 0.85

Calls 1

_load_keyFunction · 0.85

Tested by

no test coverage detected