aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssh/test
AgeCommit message (Collapse)Author
2015-12-03Merge branch 'maint'Zandra
2015-12-01Support SSH key callback module optionsVipin Nair
This patch allows extra callback options to be passed to the module implementing the SSH callback module behaviour. A module implementing the SSH key callback API is used to customize the handling of public key. This patch allows extra callback options to be passed to the module implementing the SSH callback module behaviour. The key_cb option has been changed: {key_cb, atom()} -> {key_cb, key_cb()} Where: key_cb() :: atom() | {atom(), list()} The callback options, if specified, is made available to the callback module via the options passed to it under the key 'key_cb_private'. More details and some backgorund is available here[1]. [1]: http://erlang.org/pipermail/erlang-patches/2015-November/004800.html
2015-11-27Merge branch 'maint'Hans Nilsson
* maint: Updated OTP version Update release notes ssh: vsn.mk updated ssh: New test cases for SSH_MSG_KEX_DH_GEX_REQUEST_OLD ssh: update existing testcases ssh: Improve group selection ssh: implemented server side SSH_MSG_KEX_DH_GEX_REQUEST_OLD for putty client Conflicts: OTP_VERSION
2015-11-27Merge branch 'maint-18' into maintHans Nilsson
* maint-18: Updated OTP version Update release notes ssh: vsn.mk updated ssh: New test cases for SSH_MSG_KEX_DH_GEX_REQUEST_OLD ssh: update existing testcases ssh: Improve group selection ssh: implemented server side SSH_MSG_KEX_DH_GEX_REQUEST_OLD for putty client Conflicts: lib/ssh/src/ssh_transport.erl lib/ssh/test/ssh_protocol_SUITE.erl lib/ssh/vsn.mk
2015-11-26ssh: New test cases for SSH_MSG_KEX_DH_GEX_REQUEST_OLDHans Nilsson
2015-11-26ssh: update existing testcasesHans Nilsson
2015-11-24Merge branch 'maint'Hans Nilsson
* maint: ssh: testcases for starting daemon with given fd ssh: Make it possible for more than one daemon started with option fd
2015-11-24Merge branch 'hans/ssh/fd_more/OTP-12966' into maintHans Nilsson
* hans/ssh/fd_more/OTP-12966: ssh: testcases for starting daemon with given fd ssh: Make it possible for more than one daemon started with option fd
2015-11-24Merge branch 'maint'Hans Nilsson
* maint: ssh: fix dialyzer reported error ssh: renegotiate test group for AES_GCM ssh: documentation updates ssh: AEAD_AES_(128|256)_GCM and aes(128|256)[email protected] crypto ssh: refactor packet reception
2015-11-23ssh: renegotiate test group for AES_GCMHans Nilsson
2015-11-20ssh: testcases for starting daemon with given fdHans Nilsson
2015-11-17Merge branch 'maint'Hans Nilsson
* maint: ssh: Add env var info printout to ssh_algorithms_SUTE:init_per_suite ssh: more public keys added to test suite
2015-11-13ssh: Add env var info printout to ssh_algorithms_SUTE:init_per_suiteHans Nilsson
2015-11-13ssh: more public keys added to test suiteHans Nilsson
2015-11-06Merge branch 'maint'Hans Nilsson
* maint: ssh: changes after doc review ssh: Document pwdfun ssh: make corrections of keyboard-interactive client ssh: enable users to give option keyboard_interact_fun ssh: pwdfun/4 and simple tests
2015-11-06Merge branch 'hans/ssh/pwdfun/OTP-13055' into maintHans Nilsson
* hans/ssh/pwdfun/OTP-13055: ssh: changes after doc review ssh: Document pwdfun ssh: make corrections of keyboard-interactive client ssh: enable users to give option keyboard_interact_fun ssh: pwdfun/4 and simple tests Conflicts: lib/ssh/doc/src/ssh.xml
2015-11-06Merge branch 'maint'Hans Nilsson
* maint: ssh: correct a bad doc xref public_key: renamed priv/ssh_moduli -> priv/moduli ssh, public_key: updates after doc review ssh: changes after doc review ssh: extend 'dh_gex_limits' to server side ssh: option dh_gex_groups with tag ssh_moduli_file ssh, public_key: random selection of diffie-hellman moduli
2015-11-04ssh: extend 'dh_gex_limits' to server sideHans Nilsson
OTP-13066
2015-11-04ssh: option dh_gex_groups with tag ssh_moduli_fileHans Nilsson
Makes this existing option also accept a file in openssh format OTP-13052
2015-11-04ssh, public_key: random selection of diffie-hellman moduliHans Nilsson
Also tool (public_key:gen_moduli_hrl) to convert an openssh moduli file to erlang format.
2015-11-04ssh: pwdfun/4 and simple testsHans Nilsson
Also solves OTP-13053
2015-11-04Merge branch 'maint'Hans Nilsson
2015-11-02ssh: Make tests for bad packet_len and field lengths inside packetsHans Nilsson
Includes a ssh_transport:pack/3 function for generating invalid packets
2015-10-29Merge branch 'maint'Hans Nilsson
* maint: ssh: Adjust the test ssh_renegotiate_SUITE:rekey_limit ssh: fix spelling error pulic -> public
2015-10-29ssh: Adjust the test ssh_renegotiate_SUITE:rekey_limitHans Nilsson
- Remove random length padding to make the data volume deterministic - Increase data volume limit for re-keying because the kexinit message has grown
2015-10-29ssh: fix spelling error pulic -> publicHans Nilsson
2015-10-28Merge branch 'maint'Hans Nilsson
* maint: ssh: testcases for bad service names
2015-10-28ssh: testcases for bad service namesHans Nilsson
2015-10-21Merge branch 'maint'Hans Nilsson
* maint: ssh: dynamic check of supported algos in ssh_to_openssh_SUITE ssh: delete now obsolete test case group 'hardening_tests'
2015-10-20ssh: dynamic check of supported algos in ssh_to_openssh_SUITEHans Nilsson
2015-10-20ssh: delete now obsolete test case group 'hardening_tests'Hans Nilsson
Thoose tests are already moved to other test suites. However, the init_per_group and end_per_group clauses were accidently left
2015-10-20Merge branch 'maint'Hans Nilsson
* maint: ssh: Removed testcases from ssh_to_openssh_SUITE ssh: test suites probes ssh client ssh: running ssh_algorithms_SUITE tests in parallel ssh: wait for subsystem exit in ssh_connection_SUITE:max_channels_option
2015-10-19ssh: Removed testcases from ssh_to_openssh_SUITEHans Nilsson
They are covered in ssh_algorithms_SUITE
2015-10-19ssh: test suites probes ssh clientHans Nilsson
Previously we called the ssh client with the -Q option to query about supported algorithms. Since old clients do not support this and at least one lies, we now set up a fake server at let the ssh client start negotiation instead. Much more robust hopefully.
2015-10-19ssh: running ssh_algorithms_SUITE tests in parallelHans Nilsson
2015-10-19ssh: wait for subsystem exit in ssh_connection_SUITE:max_channels_optionHans Nilsson
2015-10-19Merge branch 'maint'Hans Nilsson
* maint: ssh: Implemented ssh_transport:ecdh_validate_public_key (partly) ssh: dialyzer fix public_key: add/update -spec for ssh functions ssh, public_key: use pubkey encode/decode in app public_key ssh, public_key: Change EC Public Key representation to what was intended
2015-10-16ssh, public_key: Change EC Public Key representation to what was intendedHans Nilsson
2015-10-14Merge branch 'maint'Henrik Nord
Conflicts: OTP_VERSION
2015-10-14Merge branch 'maint-18' into maintHenrik Nord
Conflicts: lib/ssh/vsn.mk
2015-10-13Merge branch 'maint'Hans Nilsson
2015-10-12ssh: add info on GEX algos in ssh_alghoritms:init_suiteHans Nilsson
2015-10-09ssh: added 'after' to receive stmts in test/Hans Nilsson
2015-10-08ssh: Option max_channels added.Hans Nilsson
It actually counts the number of subsystem alive. Allocating a channel does not consume any resources (except some cpu cycles), but the subsystem start spawns processes.
2015-10-08Merge branch 'maint'Hans Nilsson
2015-10-08Merge branch 'hans/ssh/option_dh_gex_limits_ignored/OTP-13029' into maintHans Nilsson
2015-10-08ssh: Tests updated for ecdsaHans Nilsson
2015-10-07ssh: added dh_gex testsHans Nilsson
2015-10-07Merge branch 'maint'Hans Nilsson
2015-10-06ssh: compression tests skipped if alg is not supportedHans Nilsson