[pidgin-encrypt-devel] encryption protocol
Brought to you by:
obobo
From: Johannes M. <der...@gm...> - 2011-01-24 18:05:25
|
Hi, I'm developing a jabber client which needs to encrypt the communication to Pidgin. I did not find some documentation on the protocol you use, so I tried to figure out how it works with the help of the XMPP-Konsole Plugin, which shows the Raw xmpp queries. It seems to be straight forward. The RSA key of the peer is requested, before you send data to the peer. Once received, the key can be used to encrypt further messages. Message types like a simple message or a key response are denoted by a preceeding "Msg:" or "Key:". The key request is just "Send Key". Additionally every encrypted message and the encryption request has the prefix "*** Encrypted with the Gaim-Encryption plugin : Send Key". Then there are further details like the nss version and the messages length. It would be great if you could provide more details, including answers to the questions that piled up so far. 1.What does the string following "Msg:" mean in [...]Msg:S52c9223e68:R50d67243eb: Len[...]? 2.What is the next string after the lenght specification in a key response like [...]Len 249:yD2BV/btzekaownH6Y903lz8+w0jIMr2[,the actual public key]? 3.Why does my pidgin instance on linux in contrast to the instance on my windows machine send the whole body-tag + message in a html-Tag as well? (I have an older version on my linux machine, so this might be the problem) Thanks for your help and of course for pidgin-encryption, Johannes Müller |