()
| 31 | } |
| 32 | |
| 33 | async onPwdDialogInit() { |
| 34 | // pass over keyId and userId to dialog |
| 35 | const {userId} = await getUserInfo(this.options.key, {allowInvalid: true}); |
| 36 | this.ports.pwdDialog.emit('set-init-data', { |
| 37 | userId, |
| 38 | keyId: this.options.key.getKeyID().toHex().toUpperCase(), |
| 39 | cache: prefs.prefs.security.password_cache, |
| 40 | reason: this.options.reason |
| 41 | }); |
| 42 | } |
| 43 | |
| 44 | async onOk(msg) { |
| 45 | try { |
nothing calls this directly
no test coverage detected