MCPcopy
hub / github.com/mailvelope/mailvelope / getDefaultKey

Method getDefaultKey

src/modules/KeyringGPG.js:22–25  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

20 }
21
22 async getDefaultKey() {
23 const defaultKeyFpr = await this.getDefaultKeyFpr();
24 return this.keystore.privateKeys.getForId(defaultKeyFpr);
25 }
26
27 getDefaultKeyFpr() {
28 return this.keystore.getDefaultKeyFpr();

Callers 6

KeyringGPG-test.jsFile · 0.45
pgpModel-test.jsFile · 0.45
loadMethod · 0.45
triggerSyncMethod · 0.45

Calls 2

getDefaultKeyFprMethod · 0.95
getForIdMethod · 0.80

Tested by

no test coverage detected