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

Method deleteKeyring

src/controller/app.controller.js:271–278  ·  view source on GitHub ↗
({keyringId})

Source from the content-addressed store, hash-verified

269 }
270
271 async deleteKeyring({keyringId}) {
272 if (keyringId === MAIN_KEYRING_ID) {
273 throw new Error('Cannot delete main keyring');
274 }
275 setActiveKeyringId(MAIN_KEYRING_ID);
276 await deleteKeyring(keyringId);
277 await autocrypt.deleteIdentities([keyringId]);
278 }
279
280 async encryptMessage(options) {
281 options.unlockKey = async options => {

Callers

nothing calls this directly

Calls 2

setActiveKeyringIdFunction · 0.90
deleteKeyringFunction · 0.90

Tested by

no test coverage detected