MCPcopy Index your code
hub / github.com/mailvelope/mailvelope / initOpenPGP

Function initOpenPGP

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

Source from the content-addressed store, hash-verified

37}
38
39export function initOpenPGP() {
40 pgpConfig.commentString = 'https://mailvelope.com';
41 pgpConfig.versionString = `Mailvelope v${defaults.getVersion()}`;
42 if (prefs.prefs.security.hide_armored_header) {
43 pgpConfig.showVersion = false;
44 pgpConfig.showComment = false;
45 } else {
46 pgpConfig.showVersion = true;
47 pgpConfig.showComment = true;
48 }
49}
50
51/**
52 * Decrypt armored PGP message

Callers 2

updatePreferencesMethod · 0.90
initFunction · 0.85

Calls 1

getVersionMethod · 0.80

Tested by

no test coverage detected