summaryrefslogtreecommitdiff
path: root/lib/ssh/test
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'maint'Jakub Witczak2023-02-215-1/+75
|\
| * ssh: accept PKCS#8 host keyJakub Witczak2023-02-105-1/+75
| |
* | Update copyright yearErlang/OTP2023-02-141-1/+1
|/
* ssh: replace size/1 by XXX_size/1Kiko Fernandez-Reyes2023-01-171-2/+2
|
* Update copyright yearErlang/OTP2022-09-202-2/+2
|
* ssh: Implement max_initial_idle_timeHans Nilsson2022-08-191-1/+23
|
* ssh: Tests of ssh:daemon_replace_options/2Hans Nilsson2022-08-081-45/+251
|
* Merge branch 'hans/ssh/cuddle_tests' into maintHans Nilsson2022-08-033-11/+11
|\ | | | | | | | | | | * hans/ssh/cuddle_tests: ssh/test: Fix four compile warnings in testsuites ssh/test: Fix random errors in test
| * ssh/test: Fix four compile warnings in testsuitesHans Nilsson2022-08-012-5/+3
| |
| * ssh/test: Fix random errors in testHans Nilsson2022-08-011-6/+8
| |
* | Merge pull request #6066 from ↵Hans Nilsson2022-08-011-0/+26
|\ \ | |/ |/| | | | | HansN/hans/ssh/authentication-none/GH-6021/OTP-18134 Option to skip SSH authentication for some niche cases
| * ssh: Testcase for option 'no_auth_needed'Hans Nilsson2022-06-081-0/+26
| |
* | Merge branch 'deterministic-build' of https://github.com/TD5/otp into maintBjörn Gustavsson2022-06-291-0/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 'deterministic-build' of https://github.com/TD5/otp: make: Allow OTP to be built deterministically compiler: Make test_lib robust to +deterministic compiler: Make compiler forward +determinsitic flag to epp compiler: Make yecc respect +deterministic compiler: Make leex respect +deterministic compiler: Make asn1ct_gen respect +deterministic compiler: Make EPP respect +deterministic OTP-18165
| * | make: Allow OTP to be built deterministicallyTom Davies2022-06-241-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a --enable-deterministic-build to the configure script, which sets ERL_DETERMINISTIC=yes throughout the relevant Makefiles, which then invoke the relevant build stages with the +deterministic option. This addresses absolute paths being included in generated .erl files and compiled .beam files that resulted in builds from different source directories generating different artefacts (which is a component of the issue in erlang#4482). I think it would make sense to make this the default at some stage, but I've put the change behind a flag for now to decouple making deterministic OTP builds possible from making them the default. Having +deterministic set results in compiler options being removed from the module info for modules where this options was used. This may have other implications for users of OTP. For tests themselves, +determinism is not set, since many test cases depend on accessing the test module's compilation options, or other features not available in deterministic mode, in order to configure themselves. For tests of the determinism feature specifically, +deterministic must be explicitly passed to the compiler within the relevant test cases.
* | | Merge branch 'maint-24' into maintIngela Anderton Andin2022-06-081-1/+1
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | * maint-24: Updated OTP version Prepare release Update copyright year
| * | Update copyright yearErlang/OTP2022-06-071-1/+1
| | |
| * | ssh: Introduce option max_log_item_lenHans Nilsson2022-05-171-0/+61
| | |
* | | ssh: Introduce option max_log_item_lenHans Nilsson2022-05-241-0/+61
| | |
* | | Update copyright yearErlang/OTP2022-05-171-1/+1
| | |
* | | ssh: Move extract_public_key to ssh_fileHans Nilsson2022-04-281-1/+1
| |/ |/|
* | Update copyright yearErlang/OTP2022-02-157-7/+7
| |
* | ssh: Change Edwards curves representationHans Nilsson2022-02-111-20/+25
| | | | | | | | | | The temporary ed_pri and ed_pub are now changed in ssh to #ECPoint and #ECPrivate as in public_key and ssl.
* | Merge pull request #5564 from kianmeng/fix-typos-in-lib-sshCons T Åhs2022-02-0217-47/+47
|\ \ | | | | | | | | | | | | Fix typos in lib/ssh OTP-17873
| * | Fix typos in lib/sshKian-Meng, Ang2022-01-2017-47/+47
| | |
* | | otp: Fix `make TYPE=$TYPE` to work for all typesLukas Larsson2022-01-211-1/+1
|/ /
* | Merge branch 'maint'Hans Nilsson2022-01-131-3/+119
|\ \ | |/ | | | | | | | | | | * maint: ssh: Extend ssh_dbg with 'handshake' ssh: Extend ssh_protocol_SUITE with incomplete connection start ssh: Fix parallel_login option and an intermediate controlling proc
| * ssh: Extend ssh_protocol_SUITE with incomplete connection startHans Nilsson2022-01-111-3/+119
| |
* | Merge branch 'maint'Hans Nilsson2022-01-119-9/+31
|\ \ | |/ | | | | | | * maint: Support Ed25519/Ed448 SSH host keys in OpenSSL format
| * Support Ed25519/Ed448 SSH host keys in OpenSSL formatJon Carstens2021-12-189-9/+31
| |
* | Merge branch 'maint'Hans Nilsson2021-12-175-8/+56
|\ \ | |/ | | | | | | * maint: ssh: Update build scripts for ssh_compat_SUITE docker
| * ssh: Update build scripts for ssh_compat_SUITE dockerHans Nilsson2021-12-175-8/+56
| |
* | Merge branch 'maint'Rickard Green2021-12-1321-21/+21
|\ \ | |/ | | | | | | * maint: Update copyright year
| * Update copyright yearRickard Green2021-12-1321-21/+21
| |
* | Merge pull request #5430 from max-au/max-au/peerify-sshHans Nilsson2021-11-261-19/+4
|\ \ | |/ |/| [ssh] peer-ify application tests
| * [ssh] peer-ify application testsMaxim Fedorov2021-11-191-19/+4
| | | | | | | | Use ?CT_PEER instead of test_server:start_node.
* | ssh: Fix algorithm test suite for crypto fips mode changingHans Nilsson2021-11-231-38/+82
| | | | | | | | | | The ssh_algorithms_SUITE enabled fips mode to late, that is, after having configured the groups/1.
* | ssh: Skip compatibility testing for OpenSSH versions that timeoutHans Nilsson2021-11-231-1/+23
|/ | | | | It seems to be a problem with the docker system on a certain test machine that has a zero fault policy.
* ssh: Use connect_timeout as default for negotiation timeout instead of infinityHans Nilsson2021-10-141-0/+11
|
* [ssh] Add better error handling in connect/2,3,4Cons T Åhs2021-10-121-15/+180
| | | | | | | | | | Fix issues where incorrect arguments might result in a function_clause exception and potential information leakage in a stack trace. * Add tests with incorrectly typed arguments and verify that an informative error is returned rather than an exception. * Add error detection of arguments to connect/2,3,4. * Add better abstraction and collection of errors.
* test suites: replace ?t: with test_server:Maxim Fedorov2021-09-082-3/+3
| | | | | | Removing ?t retained for backward compatibility allows to search for test_server callsites easier. Replace ?t:fail and test_server:fail with ct:fail.
* ssh: Fix compiler warnings in testsHans Nilsson2021-08-173-12/+11
|
* ssh: Log more info at init of ssh_compat_SUITEHans Nilsson2021-08-171-0/+1
|
* ssh: Check the improved kex error messageHans Nilsson2021-06-041-0/+67
|
* Merge branch 'hans/ssh/24-pwd_leak_revisited/ERIERL-656/OTP-17468' into maintHans Nilsson2021-06-043-0/+140
|\ | | | | | | | | | | | | | | | | * hans/ssh/24-pwd_leak_revisited/ERIERL-656/OTP-17468: ssh: Test case for leak of sensitive information ssh: New test help module ssh_log_h.erl ssh: Rework crash state formatting in ssh_connection_handler ssh: Avoid sensitive data in progress and supervisor reports ssh: Extend ssh_options with cleaning function
| * ssh: Test case for leak of sensitive informationHans Nilsson2021-06-031-0/+65
| |
| * ssh: New test help module ssh_log_h.erlHans Nilsson2021-06-032-0/+75
| | | | | | | | for checking logger/error messages
| * Merge branch 'hans/ssh/no_extra_nl_in_knownhosts/OTP-17427' into maint-24Erlang/OTP2021-06-011-2/+53
| |\ | | | | | | | | | | | | | | | | | | | | | | | | * hans/ssh/no_extra_nl_in_knownhosts/OTP-17427: ssh: Check the generated known_hosts file ssh: Avoid adding a blank line in .ssh/known_hosts # Conflicts: # lib/ssh/test/ssh_pubkey_SUITE.erl
* | | ssh: extend ssh_cth hooks to report updated known_hostsHans Nilsson2021-05-271-16/+56
| | |
* | | ssh: No knownhosts entry created in testsHans Nilsson2021-05-2712-80/+165
| | | | | | | | | | | | | | | | | | Running tests for ssh earlier cloged the .ssh/knownhosts of the user running the test with 28 entries. This is fixed now, and no entry should be created.
* | | ssh: Misc test simplificationsHans Nilsson2021-05-273-12/+15
| | |