diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/routes/canaries/keystore.ts | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/routes/canaries/keystore.ts b/src/routes/canaries/keystore.ts index 5da55a4..90185f5 100644 --- a/src/routes/canaries/keystore.ts +++ b/src/routes/canaries/keystore.ts @@ -6,14 +6,14 @@ const will_debug = true; const debug = dev && will_debug ? (z: any, ...a: any[]) => - console.debug( - ...[ - ...(typeof z === 'string' - ? [`[keystore] ${z}`] - : ['[keystore]', z]), - ...a, - ], - ) + console.debug( + ...[ + ...(typeof z === 'string' + ? [`[keystore] ${z}`] + : ['[keystore]', z]), + ...a, + ], + ) : () => void 0; const _validateSignature = async (message: string, id: string) => { id = id.toUpperCase(); @@ -110,7 +110,7 @@ const pushKey = async ({ if ( expect_fingerprint && parsedKey.getFingerprint().toUpperCase() !== - expect_fingerprint.toUpperCase() + expect_fingerprint.toUpperCase() ) throw new Error( `Key ${parsedKey.getFingerprint()} is not ${expect_fingerprint}`, @@ -133,7 +133,7 @@ const pushKey = async ({ }); }; export const initKeystore = (async () => { - debug('initializing keystore') + debug('initializing keystore'); await pushKey({ key: 'B546778F06BBCC8EC167DB3CD919706487B8B6DE', ids: ['memdmp'], @@ -185,7 +185,7 @@ ZQ4KTbprMz8J4AD/bG33f9Kqg3AqehEyU2TldJs9U9Oni5AXGSGfKLJhmQc= await pushKey({ key: 'https://git.estrogen.zone/mem-estrogen-zone.git/plain/static/keys/external/napatha.pgp.sig', ids: ['napatha'], - expect_user_ids: ['chef naphtha <naphtha@kyun.host>'], + expect_user_ids: ['Chef Naphtha <naphtha@kyun.host>'], is_url: true, signed_by: 'canary-sigkey-signing', }); |