Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | tests: Fix memory leak in torture_server_x11 test | Andreas Schneider | 2015-05-06 | 1 | -0/+2 |
| | | | | Signed-off-by: Andreas Schneider <asn@cryptomilk.org> | ||||
* | cmake: Add missing OpenSSL include directory | Andreas Schneider | 2015-05-05 | 1 | -0/+2 |
| | | | | Signed-off-by: Andreas Schneider <asn@cryptomilk.org> | ||||
* | tests: Apply umask before calling mkstemp() | Andreas Schneider | 2015-05-05 | 1 | -0/+5 |
| | | | | | | CID: #978660 Signed-off-by: Andreas Schneider <asn@cryptomilk.org> | ||||
* | unittests: Fix memory leak in torture_pki_ed25519 | Andreas Schneider | 2015-04-02 | 1 | -0/+2 |
| | | | | Signed-off-by: Andreas Schneider <asn@cryptomilk.org> | ||||
* | tests: torture-misc: check for NULL return codes | Aris Adamantiadis | 2015-02-12 | 1 | -3/+17 |
| | | | | | Use the LOGNAME environment variable if USER is not set, as it sometimes happens in cron jobs. | ||||
* | tests: allow conditionnal execution on pattern | Aris Adamantiadis | 2015-02-02 | 11 | -12/+22 |
| | | | | | | | | Option can be used to filter out irrelevant tests usage: ./torture_pki '*ed25519' Signed-off-by: Aris Adamantiadis <aris@0xbadc0de.be> Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | ||||
* | ed25519: Add test for signatures and verification | Aris Adamantiadis | 2015-02-02 | 2 | -0/+122 |
| | | | | | Signed-off-by: Aris Adamantiadis <aris@0xbadc0de.be> Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | ||||
* | tests: Add ed25519 encrypted keys export | Aris Adamantiadis | 2015-02-02 | 1 | -0/+29 |
| | | | | | Signed-off-by: Aris Adamantiadis <aris@0xbadc0de.be> Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | ||||
* | tests: Add ed25519 encrypted keys import | Aris Adamantiadis | 2015-02-02 | 1 | -0/+18 |
| | | | | | Signed-off-by: Aris Adamantiadis <aris@0xbadc0de.be> Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | ||||
* | tests: Add ed25519 OpenSSH key saving | Aris Adamantiadis | 2015-02-02 | 1 | -4/+47 |
| | | | | | Signed-off-by: Aris Adamantiadis <aris@0xbadc0de.be> Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | ||||
* | tests: Add ed25519 OpenSSH key loading and operations | Aris Adamantiadis | 2015-02-02 | 1 | -2/+187 |
| | | | | | Signed-off-by: Aris Adamantiadis <aris@0xbadc0de.be> Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | ||||
* | tests: Fix torture_server_x11(). | Andreas Schneider | 2015-01-21 | 1 | -2/+7 |
| | |||||
* | tests: Add torture_server_x11 test. | Alan Dunn | 2015-01-20 | 2 | -0/+214 |
| | | | | | | | | torture_server_x11 tests whether a libssh server can correctly parse an X11 request. Signed-off-by: Alan Dunn <amdunn@gmail.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | ||||
* | buffer: Add a secure buffer mechanism to avoid memory spills | Aris Adamantiadis | 2014-09-07 | 1 | -0/+1 |
| | | | | Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | ||||
* | buffer: Implement "t" for text in ssh_buffer_pack(). | Aris Adamantiadis | 2014-09-07 | 1 | -2/+3 |
| | | | | Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | ||||
* | tests: Fix writing the '\0'. | Andreas Schneider | 2014-08-18 | 1 | -2/+2 |
| | | | | Signed-off-by: Andreas Schneider <asn@cryptomilk.org> | ||||
* | tests: Use public testkey passphrase function in pki test. | Andreas Schneider | 2014-08-15 | 1 | -7/+6 |
| | | | | | Signed-off-by: Andreas Schneider <asn@cryptomilk.org> Reviewed-by: Aris Adamantiadis <aris@0xbadc0de.be> | ||||
* | tests: Use public testkeys in pki test. | Andreas Schneider | 2014-08-15 | 1 | -178/+74 |
| | | | | | Signed-off-by: Andreas Schneider <asn@cryptomilk.org> Reviewed-by: Aris Adamantiadis <aris@0xbadc0de.be> | ||||
* | tests: Make write file a public torture function. | Andreas Schneider | 2014-08-15 | 1 | -28/+10 |
| | | | | | Signed-off-by: Andreas Schneider <asn@cryptomilk.org> Reviewed-by: Aris Adamantiadis <aris@0xbadc0de.be> | ||||
* | tests: Make sure we null terminate the buffer. | Andreas Schneider | 2014-08-15 | 1 | -3/+4 |
| | | | | | | | CID: 1230359 Signed-off-by: Andreas Schneider <asn@cryptomilk.org> Reviewed-by: Aris Adamantiadis <aris@0xbadc0de.be> | ||||
* | tests: Fix memory leak in buffer test. | Andreas Schneider | 2014-08-15 | 1 | -0/+2 |
| | | | | | Signed-off-by: Andreas Schneider <asn@cryptomilk.org> Reviewed-by: Aris Adamantiadis <aris@0xbadc0de.be> | ||||
* | torture_pki: avoid generating keys with ssh-keygen | Aris Adamantiadis | 2014-08-06 | 1 | -96/+212 |
| | | | | | | | | ssh-keygen makes the tests very slow because new keys are generated at the start of every test. ssh-keygen on OSX doesn't support ecdsa keys, even if libcrypto does. Reviewed-by: Andreas Schneider <asn@samba.org> | ||||
* | tests: test the canary feature in buffer_(un)pack() | Aris Adamantiadis | 2014-08-06 | 1 | -1/+27 |
| | | | | Reviewed-by: Andreas Schneider <asn@samba.org> | ||||
* | tests: test for ssh_buffer_(un)pack | Aris Adamantiadis | 2014-08-06 | 1 | -0/+98 |
| | | | | Reviewed-by: Andreas Schneider <asn@samba.org> | ||||
* | tests: Add test for the logging function. | Andreas Schneider | 2014-06-10 | 1 | -0/+40 |
| | |||||
* | pki crypto: expose new ssh_pki_key_ecdsa_name API | Jon Simons | 2014-04-09 | 1 | -10/+142 |
| | | | | | | | | | | | | | Enable retrieving the "ecdsa-sha2-nistpNNN" name of ECDSA keys with a new 'ssh_pki_key_ecdsa_name' API. This gives more information than the 'ssh_key_type_to_char' API, which yields "ssh-ecdsa" for ECDSA keys. The motivation is that this info is useful to have in a server context. The torture_pki unit test is updated to include the new API, and a few more passes are added to additionally test 384 and 521-bit keys. Signed-off-by: Jon Simons <jon@jonsimons.org> Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | ||||
* | tests: Check the the ecdsa_nid is the same. | Andreas Schneider | 2014-03-27 | 1 | -0/+2 |
| | |||||
* | tests: Add test case for bug #147 | Alan Dunn | 2014-03-27 | 1 | -0/+34 |
| | | | | | Signed-off-by: Alan Dunn <amdunn@gmail.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | ||||
* | src: Rename buffer_add_data() to ssh_buffer_add_data(). | Andreas Schneider | 2014-01-19 | 1 | -5/+5 |
| | |||||
* | src: Do not use deprecated functions. | Andreas Schneider | 2014-01-16 | 1 | -2/+2 |
| | |||||
* | tests: Fix pki test with gcrypt. | Andreas Schneider | 2013-12-11 | 1 | -0/+4 |
| | |||||
* | tests: Fix memory leaks. | Andreas Schneider | 2013-11-28 | 1 | -0/+9 |
| | |||||
* | tests: Add torture_pki_write_privkey_ecdsa test. | Andreas Schneider | 2013-11-27 | 1 | -0/+44 |
| | |||||
* | tests: Add torture_pki_write_privkey_dsa test. | Andreas Schneider | 2013-11-27 | 1 | -0/+40 |
| | |||||
* | tests: Add torture_pki_write_privkey_rsa test. | Andreas Schneider | 2013-11-27 | 1 | -0/+40 |
| | |||||
* | tests: Fix a valgrind warning. | Andreas Schneider | 2013-11-27 | 1 | -0/+1 |
| | |||||
* | tests: Add a test for ssh_channel(). | Andreas Schneider | 2013-10-31 | 2 | -0/+50 |
| | |||||
* | tests: Use fstat() after the open(). | Andreas Schneider | 2013-07-13 | 1 | -8/+8 |
| | |||||
* | BUG 103: Disable proxy command if set to 'none'. | Andreas Schneider | 2013-07-11 | 1 | -0/+18 |
| | | | | Signed-off-by: Andreas Schneider <asn@cryptomilk.org> | ||||
* | tests: Check return value of stat. | Andreas Schneider | 2013-06-18 | 1 | -1/+3 |
| | |||||
* | tests: Check return values of buffer functions. | Andreas Schneider | 2013-06-18 | 1 | -3/+7 |
| | |||||
* | tests: Use memory assert functions. | Andreas Schneider | 2013-06-17 | 1 | -7/+10 |
| | |||||
* | tests: Don't leak memory. | Andreas Schneider | 2013-06-13 | 1 | -1/+2 |
| | |||||
* | test: Try to fetch wrong values in buffer. | Aris Adamantiadis | 2012-11-27 | 1 | -0/+33 |
| | | | | Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | ||||
* | tests: Don't leak memory in options test. | Andreas Schneider | 2012-10-07 | 1 | -0/+4 |
| | |||||
* | test: Use cmocka instead of cmockery. | Andreas Schneider | 2012-10-07 | 1 | -10/+10 |
| | | | | | | cmocka is the successor of cmockery. http://git.cryptomilk.org/projects/cmocka.git/ | ||||
* | session: Use a struct for all options. | Andreas Schneider | 2012-02-05 | 2 | -18/+18 |
| | |||||
* | pki: Fix build if you don't have ECC support. | Andreas Schneider | 2012-02-04 | 1 | -6/+30 |
| | |||||
* | tests: Test ecdsa key generation and signing. | Andreas Schneider | 2012-02-04 | 1 | -0/+45 |
| | |||||
* | tests: Add duplicate ecdsa key test. | Andreas Schneider | 2012-02-04 | 1 | -0/+49 |
| |