]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
New 'contrib' tool: a script for faking initial KEX.
authorSimon Tatham <anakin@pobox.com>
Sat, 28 Feb 2015 07:58:29 +0000 (07:58 +0000)
committerSimon Tatham <anakin@pobox.com>
Sat, 28 Feb 2015 07:58:29 +0000 (07:58 +0000)
commit12d5b00d62240d1875be4ac0a6c5d29240696c89
treec8976d31835386784c3a4fb52e73f3b8daa59bb3
parent808e414130f67aa8dd21f6f8164720390bde8746
New 'contrib' tool: a script for faking initial KEX.

encodelib.py is a Python library which implements some handy SSH-2
encoding primitives; samplekex.py uses that to fabricate the start of
an SSH connection, up to the point where key exchange totally fails
its crypto.

The idea is that you adapt samplekex.py to construct initial-kex
sequences with particular properties, in order to test robustness and
security fixes that affect the initial-kex sequence. For example, I
used an adaptation of this to test the Diffie-Hellman range check
that's just gone into 0.64.
.gitignore
contrib/encodelib.py [new file with mode: 0644]
contrib/samplekex.py [new file with mode: 0755]