Prepare verified laboratory 7 implementation and evidence

This commit is contained in:
rey
2026-11-17 17:32:06 +03:00
parent 20afc2c790
commit eb1b5c7b84
677 changed files with 208256 additions and 64 deletions
+9
View File
@@ -0,0 +1,9 @@
import { resolve } from "node:path";
import { local } from "../scripts/runtime";
import { createCA, issue } from "../scripts/pki";
// A second independent CA is a negative-test fixture, never mounted into a service.
export async function prepareProbePKI(password: string) {
const ca = resolve(local, "operator/foreign-ca");
await createCA(ca, password);
await issue(ca, resolve(local, "pki/foreign-lb"), "lb", password);
}