summaryrefslogtreecommitdiff
path: root/regress
AgeCommit message (Collapse)Author
2024-07-01Explicit TLS handshake with syslog client.Alexander Bluhm
Add a new TLS handshake callback for incoming connections. This will allow to inspect the client certificate later. For now only print a debug message and check it in regress. with and OK henning@
2024-07-01use "lcd" to change directory before "lls" rather then "cd", sinceDamien Miller
the directory we're trying to list is local. Spotted by Corinna Vinschen
2024-06-28Link regress unp-write-closed to build.Alexander Bluhm
2024-06-28Test writing to socket pair closed by the other side. This mustAlexander Bluhm
trigger EPIPE error. with and OK mvs@
2024-06-28Add more regress coverage for SSL_select_next_proto()Theo Buehler
2024-06-23rust-openssl: switch from deprecated config to config.tomlTheo Buehler
2024-06-20Work around dbclient cipher and mac query bug.Darren Tucker
Unlike earlier versions, recent Dropbear (at least v2024.85) requires a host arg when querying supported ciphers and macs via "-c/-m help". Earlier versions accept but do not require it, so always provide it. If these queries fail, skip the test with a warning.
2024-06-20Remove dropbear key types not supported by current OpenSSH.Darren Tucker
Allows subsequent test runs to work if OpenSSH is rebuilt w/out OpenSSL.
2024-06-19Provide defaults for ciphers and macs if querying for them fails sinceDarren Tucker
on some versions of Dropbear (at least v2024.85) "-m help" doesn't seem to work. Enable all supported pubkey algorithms in the server.
2024-06-19Use ed25519 keys for kex tests since that's supported by OpenSSH even whenDarren Tucker
built without OpenSSL. Only test diffie-hellman kex if OpenSSH is compiled with support for it.
2024-06-19Rework dropbear key setup to always generate ed25519 keys, other typesDarren Tucker
only if OpenSSH has support for the corresponding key type.
2024-06-18Re-enable ssh-dss tests if ssh is compiled with DSA supportDarren Tucker
2024-06-18Stop using DSA in dropbear interop tests.Anton Lindqvist
2024-06-17Add regress coverage for X509V3_get_d2i()Theo Buehler
2024-06-16zap a stray spaceTheo Buehler
2024-06-16same treatment for this testDamien Miller
2024-06-16penalty test is still a bit racyDamien Miller
2024-06-15openssl-ruby: prepare test for default ruby switchTheo Buehler
2024-06-15crank up penalty timeouts so this should work on even the slowest ofDamien Miller
test builders
2024-06-14Replace deprecated given/when and smartmatch operator in Perl scripts.Alexander Bluhm
2024-06-14split the PerSourcePenalties test in two: one tests penalty enforcementDamien Miller
but not penalty expiry, the other tests penalty expiry. This lets us disable the expiry testing in certain CI test environments.
2024-06-14don't redirect stderr for ssh-keyscan we expect to succeedDamien Miller
2024-06-14specify an algorithm for ssh-keyscan, otherwise it will makeDamien Miller
multiple attempts simultaneously and confuse the test
2024-06-11fix PIDFILE handling, broken for SUDO=doas in last commit hereDamien Miller
2024-06-08Perl 5.38 permanently stops reading a file after it has seen EOF.Alexander Bluhm
Call clearerr() to continously receive log file from remote machine while grepping for test patterns.
2024-06-06regress test for PerSourcePenaltiesDamien Miller
2024-06-06make sure logs are saved from sshd run via start_sshdDamien Miller
2024-06-06simplifyDamien Miller
2024-06-06prepare for PerSourcePenalties being enabled by default in futureDamien Miller
2024-06-05make test struct constTheo Buehler
2024-06-03Pledge violation messages are no longer accessible through dmesg sinceAnton Lindqvist
the switch to uprintf. Attach a pseudo terminal in pledge regress in order to observe the syscall number that caused the pledge violation, shrug.
2024-05-30Adjust hmac test for removal of static buffer from HMAC()Theo Buehler
2024-05-29asn1object: zap trailing whitespaceTheo Buehler
2024-05-29Make it possible for the large OID test to failTheo Buehler
failed was set to 0 at the top of the function, so failure and success were indistinguishable. Move failed = 0 to the end so it can actually fail.
2024-05-29Add regress coverage for some corner cases of i2d_ASN1_OBJECT()Theo Buehler
2024-05-29Add regress coverage for i2d_ASN1_OBJECT() fixesTheo Buehler
2024-05-28Test that invalid operations push the X509V3_R_UNSUPPORTED_OPTION errorTheo Buehler
2024-05-28Add regress coverage for X509V3_add1_i2d()Theo Buehler
2024-05-25Eliminate last timegm() correctly this timeTheo Buehler
Also add a test case with a generalized time representing the moment one second past the 32-bit epoch wrap.
2024-05-25Revert previousTheo Buehler
It wasn't quite right, but I also think the test is bogus.
2024-05-25asn1time: another use of gmtime was hiding hereTheo Buehler
2024-05-22Exercise EVP_chacha20_poly1305() with in-place decryptionTheo Buehler
This needs quite a bit of cleanup but let's have some tests rather than none.
2024-05-22this test has been broken since 2014, and has been testing the sameDamien Miller
key exchange algorithm repeatedly instead of testing all of them. Spotted by nreilly AT blackberry.com in bz3692 Who broke the test? me.
2024-05-19Add missing kex-names.c source file required since the ssh split.Anton Lindqvist
2024-05-17allow overriding the sshd-session binary pathDamien Miller
2024-05-16Check that lower-case variants of UTF-16 surrogate escape sequencesIngo Schwarze
are rejected with the correct error message.
2024-05-16Improve coverage of edge cases for 3-byte UTF-8 sequences.Ingo Schwarze
Coverage for 2-byte and 4-byte sequences was already reasonable.
2024-05-16Add a complete suite of tests covering ASCII characters in UTF-8 spelling.Ingo Schwarze
Most of this goes to nogroff.in rather than ascii.in for now because groff-1.23.0 is buggy as hell in this respect and i'm too lazy to debug the horrific function make_glyph_node() in the file groff/src/roff/troff/node.cpp right now.
2024-05-15Add a complete set of tests for all C0 and C1 control characters.Ingo Schwarze
This is particularly useful to make sure that man(1) does not let control characters sneak through to the output side, no matter how hard an input file tries to deceive it.
2024-05-14fix a char signedness bug such that this testing code becomes ableIngo Schwarze
to display the contents of databases containing UTF-8 strings on signed char architectures: for example on i386 and amd64, UTF-8 bytes are negative...