({fingerprint, keyringId})
| 132 | } |
| 133 | |
| 134 | async revokeKey({fingerprint, keyringId}) { |
| 135 | const keyring = await keyringById(keyringId); |
| 136 | const privateKey = keyring.getPrivateKeyByFpr(fingerprint); |
| 137 | const unlockedKey = await this.unlockKey({key: privateKey, reason: 'PWD_DIALOG_REASON_REVOKE'}); |
| 138 | await keyring.revokeKey(unlockedKey); |
| 139 | await this.sendKeyUpdate(); |
| 140 | } |
| 141 | |
| 142 | async reloadKeystore({keyringId}) { |
| 143 | const keyring = await keyringById(keyringId); |
nothing calls this directly
no test coverage detected