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

Method createKeyring

src/controller/api.controller.js:42–47  ·  view source on GitHub ↗
({keyringId})

Source from the content-addressed store, hash-verified

40 }
41
42 async createKeyring({keyringId}) {
43 const keyring = await createKeyring(keyringId);
44 await keyring.sync.activate();
45 setActiveKeyringId(keyringId);
46 return {};
47 }
48
49 async queryValidKey({keyringId, recipients}) {
50 const keyMap = await getKeyByAddress(keyringId, recipients);

Callers

nothing calls this directly

Calls 3

createKeyringFunction · 0.90
setActiveKeyringIdFunction · 0.90
activateMethod · 0.45

Tested by

no test coverage detected