MCPcopy Create free account
hub / github.com/mailvelope/mailvelope / init

Function init

src/modules/trustKey.js:14–18  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

12const keyMap = new Map();
13
14export async function init() {
15 const key = await readKey({armoredKey: certs.c1und1});
16 keyMap.set('gmx.net', key);
17 keyMap.set('web.de', key);
18}
19
20export function getTrustKey(keyringId) {
21 const domain = keyringId.split(KEYRING_DELIMITER)[0];

Callers

nothing calls this directly

Calls 1

setMethod · 0.45

Tested by

no test coverage detected