MCPcopy
hub / github.com/mailvelope/mailvelope / keyIsDecrypted

Method keyIsDecrypted

src/controller/pwd.controller.js:142–144  ·  view source on GitHub ↗

* Check if key is decrypted. As openpgp.decryptKey always decrypts all key packets, we only check the primary key status. * @param {openpgp.key.Key} options.key * @return {Boolean}

({key})

Source from the content-addressed store, hash-verified

140 * @return {Boolean}
141 */
142 keyIsDecrypted({key}) {
143 return key.isDecrypted();
144 }
145}

Callers 1

unlockMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected