Skip to content

bct/esession-testsuite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Encrypted Sessions Test Suite

This is a test suite for client implementations of XEP-0116 (Encrypted Session Negotiation) and the XEPs it is based on.

It was originally written as part of Google Summer of Code 2007 for the XMPP Software Foundation by Brendan Taylor, and is released under the MIT/X11 license (see the LICENSE file).

Requirements

  • PyCrypto
  • uuid.py (in Python 2.5's stdlib)

Details

The suite is implemented as a server component that responds to a number of different JIDs, each responsible for a different set of tests:

  • xep201@[component]
    • tests
  • xep155@[component]:
    • simple generic session negotiation
  • xep200@[component]
    • message encryption and decryption with hardcoded keys
  • xep217@[component]
    • a simplified profile of XEP-0116
  • sigmai@[component]
    • XEP-0116 3-message negotiation
  • tampered@[component]
    • runs a XEP-0116 negotiation with data that your client should reject

To run the suite, you'll need to set up your server to accept a component connection. Then:

./main.py <component-name> <server-hostname> <port> <secret>

There should also be a copy of the suite running at testsuite.necronomicorp.com

About

a test suite for XEP-0116 end-to-end encryption (esessions were abandoned :( and so is this)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages