Permalink
Commits on Feb 7, 2012
  1. fix tests

    vincenthz committed Feb 7, 2012
  2. make recvData use strict bytestring as this more natural to the tls c…

    vincenthz committed Feb 7, 2012
    …ode.
    
    also add a recvData' to get the same behavior as before.
  3. refined wire helper function to support TLS opaque types directly.

    vincenthz committed Feb 7, 2012
    opaque type are length prefix bytestring and are used everywhere.
    the helper simplify their marshalling/unmarshalling and make it less
    error prone and semantically better.
  4. more documentation

    vincenthz committed Feb 7, 2012
Commits on Jan 25, 2012
  1. track in the context if the tls pipe is established or not.

    vincenthz committed Jan 25, 2012
    raise exception ConnectionNotEstablished in sendData and recvData if
    trying to use an invalid Context.
  2. documentation correction

    vincenthz committed Jan 25, 2012
Commits on Jan 19, 2012
Commits on Jan 18, 2012
  1. Switch handshake to exception instead of returning a bool.

    vincenthz committed Jan 18, 2012
    Bool return value doesn't provide any information on why the handshake failed,
    hence remove the Bool value, and return (), and in case of handshake failure,
    raise a HandshakeFailed exception with the TLSError associated with it.
Commits on Jan 16, 2012
  1. bump version to 0.8.5

    vincenthz committed Jan 16, 2012
  2. catch exception during certificate callback and returns a certificate…

    vincenthz committed Jan 16, 2012
    … rejection on exception.
Commits on Dec 20, 2011
  1. bump version to 0.8.4

    vincenthz committed Dec 20, 2011
  2. switch client to process Server hello explicitely.

    vincenthz committed Dec 20, 2011
    also switch everything properly when receiving a server hello with session.
  3. send session if the user says so (through sessionResumeWith) in client.

    vincenthz committed Dec 20, 2011
    and properly switch to session resuming packet flow if resuming.
  4. callback to user when a session has been successfully established.

    vincenthz committed Dec 20, 2011
    it's up to the user to store the session id + session data for later recovery.
  5. add parameters for session resuming

    vincenthz committed Dec 20, 2011
    mostly callbacks during the handshake, and a parameter to enable session usage.
  6. differentiate set master secret from a premaster secret or an already…

    vincenthz committed Dec 20, 2011
    … existing master secret
Commits on Dec 12, 2011