How to reproduce:
- Try to a signed mail without a certificate for the sender.
- Click "Generate" to start key generation.
- Click Cancel when being asked for the password.
- Select "Don't confirm identity and integrity"
- Click OK
The following error message is shown:
Note: I used test_keyresolver --sender foo@bar.baz to reproduce this on Linux.