<feed xmlns='http://www.w3.org/2005/Atom'>
<title>libssh.git/tests/pkd, branch wip/expose_buffer_methods</title>
<subtitle>libssh shared repository</subtitle>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/fidencio/public_git/libssh.git/'/>
<entry>
<title>tests: Migrate pkd_hello to new cmocka API</title>
<updated>2015-09-07T10:44:23+00:00</updated>
<author>
<name>Andreas Schneider</name>
<email>asn@cryptomilk.org</email>
</author>
<published>2015-09-07T10:44:23+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/fidencio/public_git/libssh.git/commit/?id=7bfe8d2f036b67cad164e5a74ede9f8c98912f3d'/>
<id>7bfe8d2f036b67cad164e5a74ede9f8c98912f3d</id>
<content type='text'>
Signed-off-by: Andreas Schneider &lt;asn@cryptomilk.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Andreas Schneider &lt;asn@cryptomilk.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>cmake: Fix zlib include directory</title>
<updated>2015-07-03T10:36:26+00:00</updated>
<author>
<name>Andreas Schneider</name>
<email>asn@cryptomilk.org</email>
</author>
<published>2015-07-03T10:36:26+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/fidencio/public_git/libssh.git/commit/?id=728c2fbd017451a868ed9471c9d001f6d4ffff96'/>
<id>728c2fbd017451a868ed9471c9d001f6d4ffff96</id>
<content type='text'>
Signed-off-by: Andreas Schneider &lt;asn@cryptomilk.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Andreas Schneider &lt;asn@cryptomilk.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>pkd: Make sure we do not pass -1 to close.</title>
<updated>2015-01-14T14:20:43+00:00</updated>
<author>
<name>Andreas Schneider</name>
<email>asn@cryptomilk.org</email>
</author>
<published>2015-01-14T09:45:41+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/fidencio/public_git/libssh.git/commit/?id=68e720a3dab575c5b5f68c70a14004ba0bd1dc54'/>
<id>68e720a3dab575c5b5f68c70a14004ba0bd1dc54</id>
<content type='text'>
CID: #1245696

Signed-off-by: Andreas Schneider &lt;asn@cryptomilk.org&gt;
Reviewed-by: Aris Adamantiadis &lt;aris@0xbadc0de.be&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
CID: #1245696

Signed-off-by: Andreas Schneider &lt;asn@cryptomilk.org&gt;
Reviewed-by: Aris Adamantiadis &lt;aris@0xbadc0de.be&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>pkd: Check return value of pkd_run_tests().</title>
<updated>2015-01-14T14:20:34+00:00</updated>
<author>
<name>Andreas Schneider</name>
<email>asn@cryptomilk.org</email>
</author>
<published>2015-01-14T09:43:14+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/fidencio/public_git/libssh.git/commit/?id=c224508bf88d3ed683b86659f9856272150135f8'/>
<id>c224508bf88d3ed683b86659f9856272150135f8</id>
<content type='text'>
CID: #1245697

Signed-off-by: Andreas Schneider &lt;asn@cryptomilk.org&gt;
Reviewed-by: Aris Adamantiadis &lt;aris@0xbadc0de.be&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
CID: #1245697

Signed-off-by: Andreas Schneider &lt;asn@cryptomilk.org&gt;
Reviewed-by: Aris Adamantiadis &lt;aris@0xbadc0de.be&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: fix pkd build breakages</title>
<updated>2014-10-15T08:26:24+00:00</updated>
<author>
<name>Jon Simons</name>
<email>jon@jonsimons.org</email>
</author>
<published>2014-10-13T10:06:39+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/fidencio/public_git/libssh.git/commit/?id=a25790d34388d4f71371655d21a38d283ad4d85e'/>
<id>a25790d34388d4f71371655d21a38d283ad4d85e</id>
<content type='text'>
Fix a build breakage when '-DWITH_SERVER=OFF' is set: skip building the
pkd test for that case.  Add some missing includes for the OpenIndiana
and FreeBSD builds.

Signed-off-by: Jon Simons &lt;jon@jonsimons.org&gt;
Reviewed-by: Andreas Schneider &lt;asn@cryptomilk.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix a build breakage when '-DWITH_SERVER=OFF' is set: skip building the
pkd test for that case.  Add some missing includes for the OpenIndiana
and FreeBSD builds.

Signed-off-by: Jon Simons &lt;jon@jonsimons.org&gt;
Reviewed-by: Andreas Schneider &lt;asn@cryptomilk.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: introduce pkd_hello</title>
<updated>2014-10-12T13:01:02+00:00</updated>
<author>
<name>Jon Simons</name>
<email>jon@jonsimons.org</email>
</author>
<published>2014-10-10T19:38:45+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/fidencio/public_git/libssh.git/commit/?id=9dc932c02b6d88b380fdaee0b7184b23e2b85c2f'/>
<id>9dc932c02b6d88b380fdaee0b7184b23e2b85c2f</id>
<content type='text'>
Introduce a sample public-key testing daemon to the 'pkd' test directory,
and add support code for cycling through various combinations of different
key exchange, cipher, and MAC algorithms.

The goal of the 'pkd_hello' test is to make it easy to test interactions
between non-libssh clients and a libssh-server, and to provide a starting
point for testing new implementations for key types, ciphers, MACs, and
so on.  The thinking is that testing a new algorithm should be as simple
as adding a new line for it in the PKDTESTS_* lists.

Macros are used to generate the tests and helper functions for a couple of
clients -- here, OpenSSH and dropbear are included for the first cut.  If
binaries are found for these clients, their test lists will be enabled;
when binaries are not found for a given client, those tests are skipped.

Tests are run in one large batch by default, but can also be run individually
to help with tracking down things like signature bugs that may take many
iterations to reproduce.

Each test logs its stdout and stderr to its own file, which is cleaned up
when a test succeeds.  For failures, those logs can be combined with verbose
libssh output from pkd itself to start debugging things.

Some example usages:

  pkd_hello
    Run all tests with default number of iterations.

  pkd_hello --list
    List available individual test names.

  pkd_hello -i 1000 -t torture_pkd_openssh_ecdsa_256_ecdh_sha2_nistp256
    Run only the torture_pkd_openssh_ecdsa_256_ecdh_sha2_nistp256
    testcase 1000 times.

  pkd_hello -v -v -v -v -e -o
    Run all tests with maximum libssh and pkd logging.

Included in the tests are passes for all existing kex, cipher, and MAC
algorithms.

BUG: https://red.libssh.org/issues/144

Signed-off-by: Jon Simons &lt;jon@jonsimons.org&gt;
Reviewed-by: Andreas Schneider &lt;asn@cryptomilk.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Introduce a sample public-key testing daemon to the 'pkd' test directory,
and add support code for cycling through various combinations of different
key exchange, cipher, and MAC algorithms.

The goal of the 'pkd_hello' test is to make it easy to test interactions
between non-libssh clients and a libssh-server, and to provide a starting
point for testing new implementations for key types, ciphers, MACs, and
so on.  The thinking is that testing a new algorithm should be as simple
as adding a new line for it in the PKDTESTS_* lists.

Macros are used to generate the tests and helper functions for a couple of
clients -- here, OpenSSH and dropbear are included for the first cut.  If
binaries are found for these clients, their test lists will be enabled;
when binaries are not found for a given client, those tests are skipped.

Tests are run in one large batch by default, but can also be run individually
to help with tracking down things like signature bugs that may take many
iterations to reproduce.

Each test logs its stdout and stderr to its own file, which is cleaned up
when a test succeeds.  For failures, those logs can be combined with verbose
libssh output from pkd itself to start debugging things.

Some example usages:

  pkd_hello
    Run all tests with default number of iterations.

  pkd_hello --list
    List available individual test names.

  pkd_hello -i 1000 -t torture_pkd_openssh_ecdsa_256_ecdh_sha2_nistp256
    Run only the torture_pkd_openssh_ecdsa_256_ecdh_sha2_nistp256
    testcase 1000 times.

  pkd_hello -v -v -v -v -e -o
    Run all tests with maximum libssh and pkd logging.

Included in the tests are passes for all existing kex, cipher, and MAC
algorithms.

BUG: https://red.libssh.org/issues/144

Signed-off-by: Jon Simons &lt;jon@jonsimons.org&gt;
Reviewed-by: Andreas Schneider &lt;asn@cryptomilk.org&gt;
</pre>
</div>
</content>
</entry>
</feed>
