Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | tests: Add ecdsa pubkey_from_privkey test. | Andreas Schneider | 2012-02-04 | 1 | -0/+44 |
| | |||||
* | tests: Add ecdsa publickey_from_privatekey test. | Andreas Schneider | 2012-02-04 | 1 | -0/+26 |
| | |||||
* | tests: Add a testing of importing ecdsa pubkeys. | Andreas Schneider | 2012-02-04 | 1 | -0/+40 |
| | |||||
* | tests: Add test for reading ecdsa privkey. | Andreas Schneider | 2012-02-04 | 1 | -0/+39 |
| | |||||
* | Improve ssh_options_get(ssh_session, enum ssh_options_e, char**). | Lee Hambley | 2011-11-03 | 1 | -4/+4 |
| | | | | | | | * Use SSH_ERROR and SSH_OK instead of `-1` and `0`. * Re-factor for code duplication * No longer call `ssh_set_error_invalid(ssh_session)` when the ssh_session is NULL. | ||||
* | pki: Add a ssh_key_cmp() function. | Andreas Schneider | 2011-10-29 | 1 | -0/+6 |
| | |||||
* | tests: Fix build warning. | Andreas Schneider | 2011-10-29 | 1 | -1/+0 |
| | |||||
* | Implement ssh_options_get_port(ssh_session, unsigned int*). | Lee Hambley | 2011-10-28 | 1 | -0/+14 |
| | |||||
* | Implement ssh_options_get(ssh_session, enum ssh_options_e, char**). | Lee Hambley | 2011-10-28 | 1 | -0/+46 |
| | |||||
* | Torture: test new ssh_pki_generate function | Aris Adamantiadis | 2011-09-24 | 1 | -1/+136 |
| | |||||
* | options: Fix NULL value handling. | Andreas Schneider | 2011-09-06 | 1 | -5/+3 |
| | |||||
* | pki: Use consistent API for ssh_pki_export_privkey_to_pubkey(). | Andreas Schneider | 2011-08-30 | 1 | -13/+13 |
| | |||||
* | build: Fix the build of keyfiles torture test. | Andreas Schneider | 2011-08-28 | 1 | -1/+1 |
| | |||||
* | tests: Add pki signature test. | Andreas Schneider | 2011-08-21 | 1 | -0/+14 |
| | |||||
* | tests: Add pki torture tests for keytypes. | Andreas Schneider | 2011-08-21 | 1 | -0/+24 |
| | |||||
* | tests: Fix memleak in torture_pki. | Andreas Schneider | 2011-08-21 | 1 | -0/+2 |
| | |||||
* | tests: Added more pki tests. | Andreas Schneider | 2011-08-20 | 1 | -3/+137 |
| | |||||
* | tests: Fix build warning. | Andreas Schneider | 2011-08-20 | 1 | -0/+2 |
| | |||||
* | tests: Fix the torture_pki test. | Andreas Schneider | 2011-08-20 | 1 | -2/+0 |
| | |||||
* | pki: Use a consistent naming scheme. | Andreas Schneider | 2011-08-19 | 1 | -3/+3 |
| | |||||
* | tests: Fix torture_pki build warnings. | Andreas Schneider | 2011-08-19 | 1 | -22/+28 |
| |