From a1d82d980690072eb5d27d05d9c9bb34a7b7878d Mon Sep 17 00:00:00 2001 From: Danny Lin Date: Fri, 17 Dec 2021 14:17:59 -0800 Subject: [PATCH] selinux: keys: Remove stray debugging --- src/selinux/keys.ts | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/selinux/keys.ts b/src/selinux/keys.ts index cb094c7..01dcfa7 100644 --- a/src/selinux/keys.ts +++ b/src/selinux/keys.ts @@ -124,11 +124,6 @@ export async function readKeysConfRecursive(root: string) { } export function resolveKeys(srcKeys: Array, srcMacPerms: Array, compiledMacPerms: Array) { - console.log({ - srcKeys: srcKeys, - srcMacPerms: srcMacPerms, - compiledMacPerms: compiledMacPerms, - }) // Build key ID -> paths map let keyToPaths = new Map(srcKeys.map(k => [k.keyId, Array.from(k.certPaths.values())])) @@ -156,10 +151,6 @@ export async function writeMappedKeys(keys: Map>) { for (let [cert, paths] of keys.entries()) { let serialized = serializeCert(cert) for (let path of paths) { - console.log({ - path: path, - cert: serialized, - }) await fs.writeFile(path, serialized) } }