OTR and XMPP
XMPP
• Almost 10 years old
• IETF standard (RFC 3920 RFC 3921)
• More than 100 extensions
• Started as Jabber: XMPP is the protocol
powering Jabber Instant Messaging Network
Who’s using XMPP
• GTalk, Facebook (not completely
implemented)
• Jabber.TLD
• Yahoo! (the Video conference site)
• AIM (private interconnects)
• US DoD (big BIG users), UK Armed Forces
bla..bla...
What’s XMPP
• XML Streams: send small XML messages
• Simple building blocks
• Extensible: add your stuff, no need to ask
permission
• Federated
Guess what’s in your record?
<message
to='romeo@example.net'
from='juliet@example.com'
type='chat'
xml:lang='en'>
<body>Wherefore art thou, Romeo?</body>
<body xml:lang='cz'>Pro&#x010D;e&#x017D; jsi ty, Romeo?</body>
</message>
。゚(゚´Д`゚)゚。
_(┐「ε:)_
OTR
<message
to='romeo@example.net'
from='juliet@example.com'
type='chat'
xml:lang='en'>
<body>?OTR:
AAIDAAAAxMvvh37ySicn8IiTOsBiLSKrFRrC4199piExFj4VVLDWkdx6wbty
nDZ883SeyT8Un0AL7pClK9b7JTJzBxNPUlvkTSL+189rDeIYE3uskcOHB1O
pdIMKxmA/4oa4+XWwd5LZ4VxL1Ydx+lHbQ1JCeTutp5ljFzvB06sapgX7e9
0EIDQc1nZ92IMZprzqoaHR0a/hJ3lsC1+bocweAihp/nA9FnlEkEvzc0vl8CHe
t1rglthYr5/hPq4TZNGDYCd53g7TCQYAAAAg13saZSIAsOQ803wkKpUeRP
VMZwSkaWDWHfx/XEDH7Z8=.</body>
</message>
OTR brings...
• Forward secrecy
short-live key for messaging
long-term key for authentication
• Repudiable authentication - forgeability
do not want digital signatures
do want authentication
Socialist millionaire
In cryptography, the
socialist millionaire
problem is one in which
two millionaires want to
determine if their wealth
is equal without
disclosing any
information about their
riches to each other.
Socialist millionaire protocol

OTR and XMPP