summaryrefslogtreecommitdiff
path: root/regress
AgeCommit message (Collapse)Author
10 daysSkip SK unit tests when built without security-keyDarren Tucker
11 daysAdd USE_LIBC_SHA2 for (at least) NetBSD 9.Darren Tucker
11 daysDefine OPENSSL_NO_SHA including OpenSSL from test.Darren Tucker
We don't use SHA256 from OpenSSL in the sk-dummy module and the definitions can conflict with system sha2.h (eg on NetBSD) so define OPENSSL_NO_SHA so we don't attempt to redefine them.
11 daysupstream: use libc SHA256 functions; make this work when compileddjm@openbsd.org
!WITH_OPENSSL OpenBSD-Regress-ID: fda0764c1097cd42f979ace29b07eb3481259890
11 daysupstream: Add test for ssh hashed known_hosts handling.dtucker@openbsd.org
OpenBSD-Regress-ID: bcef3b3cd5a1ad9899327b4b2183de2541aaf9cf
11 daysfix broken OPENSSL_HAS_ECC testDamien Miller
spotted by dtucker
2021-10-01make sk-dummy.so work without libcrypto installedDamien Miller
2021-10-01upstream: Fix up whitespace left by previousdtucker@openbsd.org
change removing privsep. No other changes. OpenBSD-Regress-ID: 87adec225d8afaee4d6a91b2b71203f52bf14b15
2021-10-01upstream: Remove references to privsep.dtucker@openbsd.org
This removes several do..while loops but does not change the indentation of the now-shallower loops, which will be done in a separate whitespace-only commit to keep changes of style and substance separate. OpenBSD-Regress-ID: 4bed1a0249df7b4a87c965066ce689e79472a8f7
2021-10-01upstream: Use "skip" instead of "fatal"dtucker@openbsd.org
if SUDO isn't set for the *-command tests. This means running "make tests" without SUDO set will perform all of the tests that it can instead of failing on the ones it cannot run. OpenBSD-Regress-ID: bd4dbbb02f34b2e8c890558ad4a696248def763a
2021-09-29Remove TEST_SSH_ECC.Darren Tucker
Convert the only remaining user of it to runtime detection using ssh -Q.
2021-09-29upstream: Test certificate hostkeys held in ssh-agent too. Would havedjm@openbsd.org
caught regression fixed in sshd r1.575 ok markus@ OpenBSD-Regress-ID: 1f164d7bd89f83762db823eec4ddf2d2556145ed
2021-09-24Move the fgrep replacement to hostkey-rotate.sh.Darren Tucker
The fgrep replacement for buggy greps doesn't work in the sftp-glob test so move it to just where we know it's needed.
2021-09-24Replacement function for buggy fgrep.Darren Tucker
GNU (f)grep <=2.18, as shipped by FreeBSD<=12 and NetBSD<=9 will occasionally fail to find ssh host keys in the hostkey-rotate test. If we have those versions, use awk instead.
2021-09-03upstream: Add test for client termination status on signal.dtucker@openbsd.org
Based on patch from Alexxz via github PR#235 with some tweaks, to match patch in bz#3281. OpenBSD-Regress-ID: d87c7446fb8b5f8b45894fbbd6875df326e729e2
2021-09-01upstream: Fix ssh-rsa fallback for old PuTTY interop tests.dtucker@openbsd.org
OpenBSD-Regress-ID: a19ac929da604843a5b5f0f48d2c0eb6e0773d37
2021-09-01upstream: Add a function to skip remaining tests.dtucker@openbsd.org
Many tests skip tests for various reasons but not in a consistent way and don't always clean up, so add that and switch the tests that do that over. OpenBSD-Regress-ID: 72d2ec90a3ee8849486956a808811734281af735
2021-09-01upstream: Specify path to PuTTY keys.dtucker@openbsd.org
Portable needs this and it makes no difference on OpenBSD, so resync them. (Id sync only, Portable already had this.) OpenBSD-Regress-ID: 33f6f66744455886d148527af8368811e4264162
2021-08-31upstream: Better compat tests with old PuTTY.dtucker@openbsd.org
When running PuTTY interop tests and using a PuTTY version older than 0.76, re-enable the ssh-rsa host key algorithm (the 256 and 512 variants of RSA were added some time between 0.73 and 0.76). OpenBSD-Regress-ID: e6138d6987aa705fa1e4f216db0bb386e1ff38e1
2021-08-31Resync PuTTY interop tests.Darren Tucker
Resync behaviour when REGRESS_INTEROP_PUTTY is not set with OpenBSD.
2021-08-31upstream: Specify hostkeyalgorithms in SSHFP test.dtucker@openbsd.org
Specify host key algorithms in sshd's default set for the SSHFP test, from djm@. Make the reason for when the test is skipped a bit clearer. OpenBSD-Regress-ID: 4f923dfc761480d5411de17ea6f0b30de3e32cea
2021-08-30upstream: adapt to RSA/SHA1 deprectationdjm@openbsd.org
OpenBSD-Regress-ID: 952397c39a22722880e4de9d1c50bb1a14f907bb
2021-08-17Put stdint.h inside HAVE_STDINT_H.Darren Tucker
From Tom G. Christensen.
2021-08-11upstream: test -Oprint-pubkeydjm@openbsd.org
OpenBSD-Regress-ID: 3d51afb6d1f287975fb6fddd7a2c00a3bc5094e0
2021-08-10upstream: adapt to scp -M flag change; make scp3.sh test SFTP mode toodjm@openbsd.org
OpenBSD-Regress-ID: 43fea26704a0f0b962b53c1fabcb68179638f9c0
2021-08-08upstream: Although it's POSIX, not all shells used in Portable supportdtucker@openbsd.org
the implicit 'in "$@"' after 'for i'. OpenBSD-Regress-ID: 3c9aec6bca4868f85d2742b6ba5223fce110bdbc
2021-08-08Move portable specific settings down.Darren Tucker
This brings the top hunk of the file back in sync with OpenBSD so patches to the CVS Id should apply instead of always being rejected.
2021-08-08upstream: Move setting of USER further down the startup In portabledtucker@openbsd.org
we have to change this and having it in the same hunk as the CVS Id string means applying changes fails every. single. time. OpenBSD-Regress-ID: 87cd603eb6db58c9b430bf90adacb7f90864429b
2021-08-08upstream: Drop -q in ssh-log-wrapper.sh to preserve logs.dtucker@openbsd.org
scp and sftp like to add -q to the command line passed to ssh which overrides the LogLevel we set in the config files and suppresses output to the debug logs so drop any "-q" from the invoked ssh. In the one case where we actually want to use -q in the banner test, call the ssh binary directly bypassing the logging wrapper. OpenBSD-Regress-ID: e2c97d3c964bda33a751374c56f65cdb29755b75
2021-08-06upstream: Make diff invocation more portable.dtucker@openbsd.org
POSIX does not require diff to have -N, so compare in both directions with just -r, which should catch missing files in either directory. OpenBSD-Regress-ID: 0e2ec8594556a6f369ed5a0a90c6806419b845f7
2021-08-06upstream: regression test for scp -3djm@openbsd.org
OpenBSD-Regress-ID: b44375d125c827754a1f722ec6b6b75b634de05d
2021-08-03upstream: regression tests for scp SFTP protocol support; mostly bydjm@openbsd.org
Jakub Jelen in GHPR#194 ok markus OpenBSD-Regress-ID: 36f1458525bcb111741ec8547eaf58b13cddc715
2021-08-03upstream: Treat doas with arguments as a valid SUDO variable.anton@openbsd.org
Allows one to specify SUDO="doas -n" which I do while running make regress. ok dtucker@ OpenBSD-Regress-ID: 4fe5814b5010dbf0885500d703bea06048d11005
2021-07-25upstream: Skip unit and makefile-based key conversion tests whendtucker@openbsd.org
we're building with OPENSSL=no. OpenBSD-Regress-ID: 20455ed9a977c93f846059d1fcb48e29e2c8d732
2021-07-25upstream: Replace OPENSSL as the variable that points to thedtucker@openbsd.org
openssl binary with OPENSSL_BIN. This will allow us to use the OPENSSL variable from mk.conf or the make(1) command line indicating if we're building with our without OpenSSL, and ultimately get the regress tests working in the OPENSSL=no configuration. OpenBSD-Regress-ID: 2d788fade3264d7803e5b54cae8875963f688c4e
2021-07-24upstream: Skip RFC4716 format import and export tests when builtdtucker@openbsd.org
without OpenSSL. OpenBSD-Regress-ID: d2c2d5d38c1acc2b88cc99cfe00a2eb8bb39dfa4
2021-07-24upstream: test for first-match-wins in authorized_keys environment=djm@openbsd.org
options OpenBSD-Regress-ID: 1517c90276fe84b5dc5821c59f88877fcc34c0e8
2021-07-24upstream: Simplify keygen-convert by using $SSH_KEYTYPES directly.dtucker@openbsd.org
OpenBSD-Regress-ID: cdbe408ec3671ea9ee9b55651ee551370d2a4108
2021-07-23upstream: Test conversion of ed25519 and ecdsa keys too.dtucker@openbsd.org
OpenBSD-Regress-ID: 3676d2d00e58e0d6d37f2878f108cc2b83bbe4bb
2021-07-23upstream: Add test for exporting pubkey from a passphrase-protecteddtucker@openbsd.org
private key. OpenBSD-Regress-ID: da99d93e7b235fbd5b5aaa01efc411225e6ba8ac
2021-07-23upstream: regression test for time-limited signature keysdjm@openbsd.org
OpenBSD-Regress-ID: 2a6f3bd900dbee0a3c96f1ff23e032c93ab392bc
2021-07-19upstream: Use SUDO when setting up hostkey.dtucker@openbsd.org
OpenBSD-Regress-ID: 990cf4481cab8dad62e90818a9b4b36c533851a7
2021-07-19upstream: Increase time margin for rekey tests. Should helpdtucker@openbsd.org
reliability on very heavily loaded hosts. OpenBSD-Regress-ID: 4c28a0fce3ea89ebde441d7091464176e9730533
2021-07-19Add sshfp-connect.sh file missed in previous.Darren Tucker
2021-07-19upstream: Add test for host key verification via SSHFP records. Thisdtucker@openbsd.org
requires some external setup to operate so is disabled by default (see comments in sshfp-connect.sh). OpenBSD-Regress-ID: c52c461bd1df3a803d17498917d156ef64512fd9
2021-07-19upstream: Add ed25519 key and test SSHFP export of it. Only testdtucker@openbsd.org
RSA SSHFP export if we have RSA functionality compiled in. OpenBSD-Regress-ID: b4ff5181b8c9a5862e7f0ecdd96108622333a9af
2021-07-19upstream: Group keygen tests together.dtucker@openbsd.org
OpenBSD-Regress-ID: 07e2d25c527bb44f03b7c329d893a1f2d6c5c40c
2021-07-19upstream: Add test for ssh-keygen printing of SSHFP records.dtucker@openbsd.org
OpenBSD-Regress-ID: fde9566b56eeb980e149bbe157a884838507c46b
2021-07-14upstream: fix some broken tests; clean up outputdjm@openbsd.org
OpenBSD-Regress-ID: 1d5038edb511dc4ce1622344c1e724626a253566
2021-06-10upstream: Use $SUDO when reading sshd's pidfile here too.dtucker@openbsd.org
OpenBSD-Regress-ID: 6bfb0d455d493f24839034a629c5306f84dbd409