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

Function stringify

src/modules/autocryptWrapper.js:28–34  ·  view source on GitHub ↗
({keydata, addr})

Source from the content-addressed store, hash-verified

26}
27
28export function stringify({keydata, addr}) {
29 if (keydata.startsWith('-----')) {
30 return Autocrypt.stringify({keydata: keydataFromArmored(keydata), addr});
31 } else {
32 return Autocrypt.stringify({keydata, addr});
33 }
34}
35
36async function autocrypt(id) {
37 if (!id) {

Callers

nothing calls this directly

Calls 1

keydataFromArmoredFunction · 0.85

Tested by

no test coverage detected