GPG: handling of untrusted keys broken
Bug description
When I contact someone with an untrusted key, I get the following message:
"The GPG key used to encrypt this chat is not trusted. Do you really want to encrypt this message?
[ ] Do not ask me again"
Klicking "Yes" just leads to the message popping up again right away without the message being sent.
Checking the "Do not ask me again" checkbox has no effect: If I click "Yes", the message still pops up again without any message being sent, if I click "No" sending the message fails (the intended behaviour) but when I send the next message, the same message pops up again.
Steps to reproduce
- Assign an untrusted GPG key to a contact
- Send him a message with GPG encryption enabled
Software versions
OS version: Ubuntu 13.10
GTK version: 2.24.20
PyGTK version: 2.24.0
GTK/PyGTK are the standard ones shipping with Ubuntu.