Draghtnod / Pidgin-GPG

GPG plugin for Pidgin
GNU General Public License v3.0
6 stars 1 forks source link

Offline messages: Encryption disabled, the remote client doesn't support it. #7

Open thomas334 opened 9 years ago

thomas334 commented 9 years ago

My aim by using pidgin with gpg was to be capable of sending encrypted offline messages (what by design doesn't work by otr) but it seems not to work work with pidgin-gpg either. Or at least I get the message "Encryption disabled, the remote client doesn't support it." when I try to send a message to an user that offline despite having his public-key added in Kleopatra. (And it works as long the contact is online)

thomas334 commented 9 years ago

I enabled: Check Pidgin->Accounts->Your Jabber account->Enable Message Copies

but it seems to have no effect

Draghtnod commented 9 years ago

This is no bug. You can send encrypted messages offline, but your client has to be notified by the remote, that he supports encrypted messages. (No matter if you got the key or not.) The notification is done by receiving a signed presence from the remote. This happens at every online/offline/away event. I think some servers cache these notifications but im not sure. Also a hard disconnect of the remote could overwrite the last one. If you want to debug this, just check the XMPP messages you receive and look for the presence notification of your contact. If it is signed, it should work. You can also test it this way: Be both online, let your buddy go offline, send a message.