(self)
| 63 | return w.write_flush() |
| 64 | |
| 65 | def _kex_payload_with_gss(self): |
| 66 | w = self.wbuf() |
| 67 | w.write(b'\x00\x11\x22\x33\x44\x55\x66\x77\x88\x99\xaa\xbb\xcc\xdd\xee\xff') |
| 68 | w.write_list(['gss-gex-sha1-dZuIebMjgUqaxvbF7hDbAw==', 'gss-gex-sha1-vz8J1E9PzLr8b1K+0remTg==', 'gss-group14-sha1-dZuIebMjgUqaxvbF7hDbAw==', 'gss-group14-sha1-vz8J1E9PzLr8b1K+0remTg==', 'gss-group14-sha256-dZuIebMjgUqaxvbF7hDbAw==', 'gss-group14-sha256-vz8J1E9PzLr8b1K+0remTg==', 'gss-group16-sha512-dZuIebMjgUqaxvbF7hDbAw==', 'gss-group16-sha512-vz8J1E9PzLr8b1K+0remTg==', 'gss-group18-sha512-dZuIebMjgUqaxvbF7hDbAw==', 'gss-group18-sha512-vz8J1E9PzLr8b1K+0remTg==', 'gss-group1-sha1-dZuIebMjgUqaxvbF7hDbAw==', 'gss-group1-sha1-vz8J1E9PzLr8b1K+0remTg==', 'gss-curve448-sha512-XXX', 'gss-nistp256-sha256-RANDOMCHARSTOTESTWILDCARDMATCHING']) |
| 69 | w.write_list(['ssh-ed25519']) |
| 70 | w.write_list(['chacha20-poly1305@openssh.com']) |
| 71 | w.write_list(['chacha20-poly1305@openssh.com']) |
| 72 | w.write_list(['hmac-sha2-512-etm@openssh.com']) |
| 73 | w.write_list(['hmac-sha2-512-etm@openssh.com']) |
| 74 | w.write_list(['none', 'zlib@openssh.com']) |
| 75 | w.write_list(['none', 'zlib@openssh.com']) |
| 76 | w.write_list(['']) |
| 77 | w.write_list(['']) |
| 78 | w.write_byte(False) |
| 79 | w.write_int(0) |
| 80 | return w.write_flush() |
| 81 | |
| 82 | def test_kex_read(self): |
| 83 | kex = self.ssh2_kex.parse(self.OutputBuffer, self._kex_payload()) |
no test coverage detected