<feed xmlns='http://www.w3.org/2005/Atom'>
<title>otp.git/lib/ssh/test, branch OTP-21.3.7</title>
<subtitle>Mirror of Erlang/OTP repository.
</subtitle>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/'/>
<entry>
<title>ssh: Refactor decryption in ssh_protocol_SUITE</title>
<updated>2019-02-18T16:05:47+00:00</updated>
<author>
<name>Hans Nilsson</name>
<email>hans@erlang.org</email>
</author>
<published>2019-02-13T13:28:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=b46b332ef58ebc32784d5b395e92395a36bceeff'/>
<id>b46b332ef58ebc32784d5b395e92395a36bceeff</id>
<content type='text'>
Previously this test suite used a short-cut that didn't work well with the new crypto
API being experimented with in other branches.

This commit uses the legacy decode and decryption functions in ssh_transport. It is of
course normally a bad idea to test something with itself. However, other test suites
test the interoperability with OpenSSH and by that implicitly of the decoding/decryption.

The ssh_protocol_SUITE tests sending malformed and even malicious PDUs to the Erlang/OTP
SSH implementation. Therefore the tests in this suite is not dependent on being different
than thoose of the system under test.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously this test suite used a short-cut that didn't work well with the new crypto
API being experimented with in other branches.

This commit uses the legacy decode and decryption functions in ssh_transport. It is of
course normally a bad idea to test something with itself. However, other test suites
test the interoperability with OpenSSH and by that implicitly of the decoding/decryption.

The ssh_protocol_SUITE tests sending malformed and even malicious PDUs to the Erlang/OTP
SSH implementation. Therefore the tests in this suite is not dependent on being different
than thoose of the system under test.
</pre>
</div>
</content>
</entry>
<entry>
<title>ssh: Internal refactor and ct:log -&gt; ct:pal</title>
<updated>2019-01-25T17:04:10+00:00</updated>
<author>
<name>Hans Nilsson</name>
<email>hans@erlang.org</email>
</author>
<published>2019-01-18T12:22:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=2cc9f05ff029ab625d713c17cbbd449e5454b592'/>
<id>2cc9f05ff029ab625d713c17cbbd449e5454b592</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>ssh: Change unit in measurements</title>
<updated>2019-01-25T17:04:08+00:00</updated>
<author>
<name>Hans Nilsson</name>
<email>hans@erlang.org</email>
</author>
<published>2019-01-18T11:30:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=dd331b351c1891cc4cf4c134f8982f7cef264d1f'/>
<id>dd331b351c1891cc4cf4c134f8982f7cef264d1f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>ssh: Invert ssh_bench</title>
<updated>2019-01-25T17:04:05+00:00</updated>
<author>
<name>Hans Nilsson</name>
<email>hans@erlang.org</email>
</author>
<published>2019-01-17T14:52:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=9b0256865cf2b469311c6a4d56c8233df38b5825'/>
<id>9b0256865cf2b469311c6a4d56c8233df38b5825</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>ssh: Wait a bit for the docker client to finnish in ssh_compat_SUITE</title>
<updated>2019-01-07T14:29:01+00:00</updated>
<author>
<name>Hans Nilsson</name>
<email>hans@erlang.org</email>
</author>
<published>2019-01-04T14:08:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=330a1ffcb7ad9ba6700801492e160d4b923239ca'/>
<id>330a1ffcb7ad9ba6700801492e160d4b923239ca</id>
<content type='text'>
The testing with a remote client in a docker and a local server could
show some hazards.  For instance instructing the client to sftp a
file to the server is not necessarily ready in the server's file system
when the common_test is scheduled.

To avoid that the test suite dooms a file operation to not have been
performed, simply sleep at increasing times for a while with testing
if it is done.  After a while give up and signal a fault.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The testing with a remote client in a docker and a local server could
show some hazards.  For instance instructing the client to sftp a
file to the server is not necessarily ready in the server's file system
when the common_test is scheduled.

To avoid that the test suite dooms a file operation to not have been
performed, simply sleep at increasing times for a while with testing
if it is done.  After a while give up and signal a fault.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'hans/ssh/port_leak/OTP-15397' into maint-21</title>
<updated>2018-12-27T09:45:52+00:00</updated>
<author>
<name>Erlang/OTP</name>
<email>otp@erlang.org</email>
</author>
<published>2018-12-27T09:45:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=92a8fcdbfa0fc5ed65cf0d45ab2711cc3dd2a493'/>
<id>92a8fcdbfa0fc5ed65cf0d45ab2711cc3dd2a493</id>
<content type='text'>
* hans/ssh/port_leak/OTP-15397:
  ssh: Fix port leakage for daemons failing at start
  ssh: Add port close test

# Conflicts:
#	lib/ssh/test/ssh_basic_SUITE.erl
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* hans/ssh/port_leak/OTP-15397:
  ssh: Fix port leakage for daemons failing at start
  ssh: Add port close test

# Conflicts:
#	lib/ssh/test/ssh_basic_SUITE.erl
</pre>
</div>
</content>
</entry>
<entry>
<title>ssh: Add port close test</title>
<updated>2018-12-21T16:16:30+00:00</updated>
<author>
<name>Hans Nilsson</name>
<email>hans@erlang.org</email>
</author>
<published>2018-12-21T11:43:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=c9cc06c9e3545716e7a5dba8d6bfaf2cf8ef0078'/>
<id>c9cc06c9e3545716e7a5dba8d6bfaf2cf8ef0078</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>crypto: Update test engine with fake rsa support</title>
<updated>2018-11-30T13:51:43+00:00</updated>
<author>
<name>Hans Nilsson</name>
<email>hans@erlang.org</email>
</author>
<published>2018-11-16T15:16:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=21c3fbcbbd2971d8a7af0212162045ab778ab0eb'/>
<id>21c3fbcbbd2971d8a7af0212162045ab778ab0eb</id>
<content type='text'>
We need to test the Engine interface not only for loading, key retrieval and hashing,
so it is complemented with a fake rsa method to check sign/verify also.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We need to test the Engine interface not only for loading, key retrieval and hashing,
so it is complemented with a fake rsa method to check sign/verify also.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'hans/ssh/eddsa/OTP-15094' into maint</title>
<updated>2018-11-19T16:25:13+00:00</updated>
<author>
<name>Hans Nilsson</name>
<email>hans@erlang.org</email>
</author>
<published>2018-11-19T16:25:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=68b7a5fb25a06131220e01876c0b1e5434161da3'/>
<id>68b7a5fb25a06131220e01876c0b1e5434161da3</id>
<content type='text'>
* hans/ssh/eddsa/OTP-15094:
  ssh: Add Edward curves to the documentation
  ssh: Update test cases for eddsa
  ssh: Add public keys 'ssh-ed25519' and 'ssh-ed448'
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* hans/ssh/eddsa/OTP-15094:
  ssh: Add Edward curves to the documentation
  ssh: Update test cases for eddsa
  ssh: Add public keys 'ssh-ed25519' and 'ssh-ed448'
</pre>
</div>
</content>
</entry>
<entry>
<title>ssh: Generalize unpublished test support option</title>
<updated>2018-11-19T16:23:34+00:00</updated>
<author>
<name>Hans Nilsson</name>
<email>hans@erlang.org</email>
</author>
<published>2018-11-01T13:44:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=709534a5417f20f8edda1d3664669ed9d3129354'/>
<id>709534a5417f20f8edda1d3664669ed9d3129354</id>
<content type='text'>
Also rename the corresponding testcase in ssh_options_SUITE and add logging.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also rename the corresponding testcase in ssh_options_SUITE and add logging.
</pre>
</div>
</content>
</entry>
</feed>
