MCPcopy
hub / github.com/mailvelope/mailvelope / init

Function init

src/modules/pgpModel.js:28–37  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

26export const modelInitialized = new Promise(resolve => modelInitDone = resolve);
27
28export async function init() {
29 pwdCache.initSession();
30 await defaults.init();
31 await prefs.init();
32 pwdCache.init();
33 initKeyBinding();
34 initOpenPGP();
35 await trustKey.init();
36 modelInitDone();
37}
38
39export function initOpenPGP() {
40 pgpConfig.commentString = 'https://mailvelope.com';

Callers

nothing calls this directly

Calls 2

initOpenPGPFunction · 0.85
initMethod · 0.45

Tested by

no test coverage detected