Initial vmc CLI

This commit is contained in:
Vault Sovereign
2025-12-26 19:35:03 +00:00
commit a075fcf95f
37 changed files with 3967 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
import { signReceiptFile } from "../lib/signature.js";
export async function signReceipt(
receiptPath: string,
opts: { force?: boolean } = {}
) {
const signed = await signReceiptFile(receiptPath, opts);
console.log("OK receipt signed");
console.log(`file: ${signed.file}`);
console.log(`signer_pub: ${signed.signer_pub}`);
console.log(`signer_kid: ${signed.signer_kid}`);
}