[squeak-dev] SecureSessionV1Server

Robert Withers robert.w.withers at gmail.com
Sun Apr 10 02:55:51 UTC 2016


Over the course of several months, I've been working on the 
implementation of SecureSessionV1 to adopt new protocol and message 
frame definitions. As to the original connection protocol and frames, I 
preserved it as a backwards compatible Vintage implementation. This 
change simplified a fair bit of code and will allow for some further 
modifications.

I apologize for my habit in using the code and unit tests to document 
the system, an old habit to try for a self-describing domain language of 
secure sessions. Please look in SecureSession-Tests for examples in 
using both the Vintage and V1 protocols. The key classes for the Vintage 
version remain SecureSessionServer and SecureSessionTerminal, while the 
V1 version use SecureSessionV1Server and SecureSessionV1Terminal.

Here are some helpful links..

The V1 Frame Design is http://jmp.sh/1Uo0dr7, though I should note there 
are changes to the DataHeader, which holds the mac and the plaintextLength.

The code is found in http://www.squeaksource.com/Cryptography and the 
SecureSession package requires the Cryptography package and for a 
notable speed improvements the Cryptography plugins build for your VM.

- Robert


More information about the Squeak-dev mailing list