()
| 37 | } |
| 38 | |
| 39 | export 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 |
no test coverage detected