forked from mtusi2026/mtusi2026lab7
feat(security): add operator rotation and recovery commands
This commit is contained in:
@@ -13,6 +13,8 @@ from uuid import uuid4
|
||||
import httpx
|
||||
from PIL import Image
|
||||
|
||||
from scripts.tls_client import FreshTrustTransport
|
||||
|
||||
os.environ.setdefault("COMPOSE_FILE", "compose.yaml:compose.test.yaml")
|
||||
os.environ.setdefault("NO_PROXY", "localhost,127.0.0.1")
|
||||
os.environ.setdefault("no_proxy", "localhost,127.0.0.1")
|
||||
@@ -149,7 +151,10 @@ def main():
|
||||
)
|
||||
stop("reconciler")
|
||||
with httpx.Client(
|
||||
base_url=BASE, trust_env=False, timeout=25
|
||||
transport=FreshTrustTransport(),
|
||||
base_url=BASE,
|
||||
trust_env=False,
|
||||
timeout=25,
|
||||
) as client:
|
||||
user, _, session = actor(client)
|
||||
h = auth(session)
|
||||
|
||||
Reference in New Issue
Block a user