MCPcopy
hub / github.com/mailvelope/mailvelope / hasDefaultKey

Method hasDefaultKey

src/modules/KeyringBase.js:208–210  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

206 }
207
208 async hasDefaultKey() {
209 return Boolean(await this.keystore.getDefaultKeyFpr());
210 }
211
212 setDefaultKey(fpr) {
213 return this.keystore.setDefaultKey(fpr);

Callers 2

importKeysMethod · 0.80
generateKeyMethod · 0.80

Calls 1

getDefaultKeyFprMethod · 0.45

Tested by

no test coverage detected