Andreas Schneider
|
b1c0121507
|
valgrind: Add suppression for glibc dlopen issue
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
|
2016-01-19 11:03:52 +01:00 |
|
Andreas Schneider
|
f6bea8d061
|
torture: Fix a memory leak
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
|
2016-01-19 11:02:13 +01:00 |
|
Andreas Schneider
|
9bb7e68b86
|
torture: Add missing include for AF_INET
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
|
2016-01-18 15:19:20 +01:00 |
|
Andreas Schneider
|
20718ec52b
|
tests: Require pam_wrapper 1.0.1
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
|
2016-01-18 12:02:45 +01:00 |
|
Andreas Schneider
|
a3557b81de
|
tests: Wait for sshd to start before connecting
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
|
2016-01-18 12:01:56 +01:00 |
|
Andreas Schneider
|
485d78d768
|
tests: Turn on kbdint tests in torture_auth
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
|
2016-01-14 08:04:49 +01:00 |
|
Andreas Schneider
|
7aa84318ae
|
tests: Turn on PAM support in sshd with pam_wrapper
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
|
2016-01-14 08:04:49 +01:00 |
|
Andreas Schneider
|
0e98f1214d
|
torture: Improve process termination function
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
|
2016-01-14 08:04:49 +01:00 |
|
Andreas Schneider
|
6e7eae968a
|
tests: Support other openssh versions ...
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
|
2016-01-14 08:04:49 +01:00 |
|
Andreas Schneider
|
5bb9b570f4
|
tests: Rename torture_sftp_static to torture_sftp_ext
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
|
2016-01-14 08:04:49 +01:00 |
|
Andreas Schneider
|
571f547556
|
tests: Migrate torture_sftp_read to a cwrap test
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
|
2016-01-14 08:04:49 +01:00 |
|
Andreas Schneider
|
af3de262b6
|
tests: Migrate torture_sftp_dir to cwrap test
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
|
2016-01-14 08:04:49 +01:00 |
|
Andreas Schneider
|
bd4a0aa705
|
torture: Add sftp session pointer to torture_state
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
|
2016-01-14 08:04:49 +01:00 |
|
Andreas Schneider
|
4bc6af6c17
|
tests: Migrate torture_request_env to cwrap test
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
|
2016-01-14 08:04:49 +01:00 |
|
Andreas Schneider
|
27834cce2c
|
tests: Migrate torture_session to cwrap test
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
|
2016-01-14 08:04:49 +01:00 |
|
Andreas Schneider
|
a30d16c48a
|
torture: Start sshd as root
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
|
2016-01-14 08:04:49 +01:00 |
|
Andreas Schneider
|
e4653b82bd
|
tests: Migrate torture_proxycommand to new cwrap test
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
|
2016-01-14 08:04:49 +01:00 |
|
Andreas Schneider
|
b65dcb3a35
|
tests: Migrate torture_knownhosts to new cwrap test
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
|
2016-01-14 08:04:49 +01:00 |
|
Andreas Schneider
|
c1fb948397
|
torture: Enable old host key algos for testing
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
|
2016-01-14 08:04:49 +01:00 |
|
Andreas Schneider
|
be25b58380
|
tests: Migrate torture_forward to a cwrap test
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
|
2016-01-14 08:04:49 +01:00 |
|
Andreas Schneider
|
66f51df9df
|
torture: Fix torture_ssh_session() for cwrap testing
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
|
2016-01-14 08:04:49 +01:00 |
|
Andreas Schneider
|
3014e3c458
|
tests: Migrate torture_algorithms to a cwrap test
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
|
2016-01-14 08:04:49 +01:00 |
|
Andreas Schneider
|
dd0d04ae8d
|
torture: Enable old cipher and kex algos in sshd
We need to test them, so enable them in the sshd.
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
|
2016-01-14 08:04:49 +01:00 |
|
Andreas Schneider
|
112d4cc7e6
|
tests: Migrate torture_auth as a cwrap test
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
|
2016-01-14 08:04:49 +01:00 |
|
Andreas Schneider
|
ee8664418a
|
tests: Add public keys for bob
This also allows bob to auth as alice.
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
|
2016-01-14 08:04:49 +01:00 |
|
Andreas Schneider
|
ae89b6c078
|
torture: Create a torture_terminate_process() function
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
|
2016-01-14 08:04:49 +01:00 |
|
Andreas Schneider
|
d403c01a30
|
tests: Convert torture_connect to a cwrap test
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
|
2016-01-14 08:04:49 +01:00 |
|
Andreas Schneider
|
14f1ce2e5b
|
torture: Add torture_teardown_sshd_server().
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
|
2016-01-14 08:04:49 +01:00 |
|
Andreas Schneider
|
62b0f58d24
|
torture: Restrict files to we write to our user.
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
|
2016-01-14 08:04:49 +01:00 |
|
Andreas Schneider
|
c3f963e71e
|
torture: Add function to setup sshd server
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
|
2016-01-14 08:04:49 +01:00 |
|
Andreas Schneider
|
fd09c4cb29
|
torture: Add torture_teardown_socket_dir().
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
|
2016-01-14 08:04:49 +01:00 |
|
Andreas Schneider
|
13f68fc2d5
|
torture: Add torture_setup_socket_dir().
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
|
2016-01-14 08:04:49 +01:00 |
|
Andreas Schneider
|
7a523597ad
|
torture: Add server to get address and port.
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
|
2016-01-14 08:04:49 +01:00 |
|
Andreas Schneider
|
c2d636270c
|
tests: Add ssh host keys for test environment.
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
|
2016-01-14 08:04:49 +01:00 |
|
Andreas Schneider
|
21b0d29e38
|
cmake: Configure nss_wrapper and uid_wrapper
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
|
2016-01-14 08:04:49 +01:00 |
|
Andreas Schneider
|
6596d27e19
|
cmake: Search for cwrap and sshd.
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
|
2016-01-14 08:04:49 +01:00 |
|
Fabiano Fidêncio
|
0d7da3207f
|
Fix a bunch of -Wmaybe-uninitialized
Reviewed-By: Aris Adamantiadis <aris@0xbadc0de.be>
|
2015-12-17 15:01:05 +01:00 |
|
Aris Adamantiadis
|
677fa8ced2
|
tests: add test for cipher.(de|en)crypt
|
2015-09-23 15:09:23 +02:00 |
|
Andreas Schneider
|
f55b10e4ed
|
tests: Fix return code of torture_init
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
|
2015-09-09 09:17:46 +02:00 |
|
Axel Eppe
|
d8be35de7f
|
tests: Add tests for the new ssh_pki cert functions
Signed-off-by: Axel Eppe <aeppe@google.com>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
|
2015-09-07 13:30:34 +02:00 |
|
Andreas Schneider
|
7bfe8d2f03
|
tests: Migrate pkd_hello to new cmocka API
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
|
2015-09-07 12:44:23 +02:00 |
|
Andreas Schneider
|
3b0b1c3ee3
|
pki: Use the standard logging function
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
|
2015-09-07 10:57:34 +02:00 |
|
Andreas Schneider
|
82a80b205b
|
tests: Migrate to new cmocka API
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
|
2015-09-07 10:40:12 +02:00 |
|
Andreas Schneider
|
5b586fdfec
|
cmake: Handle libssh threas library correctly
This should fix the build on Windows and would not install pkg files.
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
|
2015-09-07 07:46:11 +02:00 |
|
Andreas Schneider
|
d54a1ab798
|
tests: Add checks for ssh_key_is_private()
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
|
2015-08-10 13:57:47 +02:00 |
|
Aris Adamantiadis
|
52b5258ed4
|
fix permissions
|
2015-07-08 16:33:34 +02:00 |
|
Andreas Schneider
|
728c2fbd01
|
cmake: Fix zlib include directory
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
|
2015-07-03 12:36:26 +02:00 |
|
Douglas Heriot
|
a65af1b3b8
|
cmake: Do not use CMAKE_(SOURCE|BINARY)_DIR
|
2015-06-24 18:17:05 +02:00 |
|
Andreas Schneider
|
90e4786523
|
valgrind: Add suppression for openssl FIPS dlopen leak
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
|
2015-05-06 10:27:09 +02:00 |
|
Andreas Schneider
|
f65f41acc2
|
valgrind: Ignore valgrind free bug on exit
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
|
2015-05-06 10:23:27 +02:00 |
|