({fingerprint, userId, keyringId})
| 124 | } |
| 125 | |
| 126 | async revokeUser({fingerprint, userId, keyringId}) { |
| 127 | const keyring = await keyringById(keyringId); |
| 128 | const privateKey = keyring.getPrivateKeyByFpr(fingerprint); |
| 129 | const unlockedKey = await this.unlockKey({key: privateKey, reason: 'PWD_DIALOG_REASON_REVOKE_USER'}); |
| 130 | await keyring.revokeUser(unlockedKey, userId); |
| 131 | await this.sendKeyUpdate(); |
| 132 | } |
| 133 | |
| 134 | async revokeKey({fingerprint, keyringId}) { |
| 135 | const keyring = await keyringById(keyringId); |
nothing calls this directly
no test coverage detected