Does not handle signing PGP subkeys properly (key mismatch)[Patch with fix is attached]
Bug description
When a contact:
- has a PGP key associated to him in Gajim;
- signs his presence with a signing subkey instead of the main key; Gajim displays a signing mismatch with the presence information and does not enable PGP encryption for sending messages.
Steps to reproduce
Have a contact that uses PGP and signs presence messages with a signing subkey (for instance me <tanguy ad ortolo point eu>. Assign him his key in Gajim (for instance my key 4B10D847). Ask him to change his presence, so that you get a presence message. Look at his tooltip in your roster: “OpenPGP: MISMATCH”. Try to send messages to him: they are not encrypted.
Software versions
OS version: Debian GNU/Linux 6.0 “Squeeze”
GTK version: 2.20.1
PyGTK version: 2.17.0