Commit Graph

490 Commits

Author SHA1 Message Date
Brendan Shanks 8217b7457e Update mbedtls submodule to my macos branch of mbedtls-2.16.10. 2021-03-27 22:53:03 -07:00
Brendan Shanks 336f62e29b Hide 'Encryption', 'Authentication', 'Compression' menus in Edit Favorites. 2021-01-16 23:07:30 -08:00
Brendan Shanks 003b6c6407 Update mbedtls submodule to my macos branch of mbedtls-2.16.9. 2020-12-18 23:00:07 -08:00
Brendan Shanks a287669ea1 Update mbedtls submodule to my macos branch of mbedtls-2.16.8. 2020-09-07 23:24:44 -07:00
Brendan Shanks 4947a7c1b9 Update libssh2 submodule 2020-04-05 12:16:58 -07:00
Brendan Shanks 668114a6d5 Update libssh2 submodule, contents should be the same just without a squash merge 2020-04-02 23:25:14 -07:00
Brendan Shanks 27ee9fd213 Update mbedtls submodule to my macos branch of mbedtls-2.16.5. 2020-04-01 23:40:03 -07:00
Brendan Shanks b929c299dc Update mbedtls submodule to my macos branch of mbedtls-2.16.3. 2019-12-27 22:17:40 -08:00
Brendan Shanks fd1000cfc8 Add "Failed to retrieve authentication methods" dialog 2019-08-26 22:47:28 -07:00
Brendan Shanks 8b4b98515a Fix "password" authentication with retries and error dialogs 2019-08-05 00:10:48 -07:00
Brendan Shanks 3c2acd81c8 SSH2ErrorDialog() const argument 2019-08-05 00:04:32 -07:00
Brendan Shanks 0782520773 Remove getenv() 2019-08-04 23:39:24 -07:00
Brendan Shanks 19f2abd166 Add more NULL checking/error handling 2018-11-04 22:16:39 -08:00
Brendan Shanks e40173c290 Put more debug messages behind the 'trace' checkbox 2018-11-04 22:11:10 -08:00
Brendan Shanks 55aa3f0f08 Only enable libssh2 trace when 'trace' checkbox is checked 2018-10-09 23:02:07 -07:00
Brendan Shanks 1d7f677b9c Update mbedtls submodule to my macos branch of mbedtls-2.13.1. Also includes (lousy) entropy poller. 2018-09-25 23:54:17 -07:00
Brendan Shanks 1bc577b987 Bump version number to 3.0b1, change copyright string to '(c) 2016-2018 Brendan Shanks' 2018-09-02 23:40:10 -07:00
Brendan Shanks 92d848d916 AboutBox: Remove lsh credits, add libssh2/mbed TLS copyrights 2018-09-02 23:35:35 -07:00
Brendan Shanks e17c667b36 Remove lsh 2018-07-31 23:39:31 -07:00
Brendan Shanks e535c4d4f2 Remove lsh paths from CW project 2018-07-31 23:35:54 -07:00
Brendan Shanks 5881e310c6 Copy GUSITTY.cp out of lsh directory 2018-07-31 23:29:58 -07:00
Brendan Shanks 31db19f8da Remove strsignal(), only used by lsh 2018-07-31 23:04:05 -07:00
Brendan Shanks b2aed0bdf4 Move struct lshcontext into ssh2.h and remove more lsh includes 2018-07-31 23:01:43 -07:00
Brendan Shanks e133135151 Remove _window_changed from lshcontext 2018-07-30 22:26:17 -07:00
Brendan Shanks c791d602bf Remove g_error_fd and _error_fd/buffer/pos/write 2018-07-30 22:26:17 -07:00
Brendan Shanks 6ad279e3c8 Remove everything related to termios from lshcontext 2018-07-30 22:26:10 -07:00
Brendan Shanks 0c7dc7ae7b Update mbedtls submodule to my macos branch of mbedtls-2.12.0 2018-07-30 21:43:31 -07:00
Brendan Shanks 89b1621668 Remove gmp paths from CW project 2018-06-29 17:27:32 -07:00
Brendan Shanks 7323f69920 Remove gmp 2018-06-28 23:49:51 -07:00
Brendan Shanks 0d02f4e407 Remove lsh includes from ssh2.c 2018-06-28 23:49:50 -07:00
Brendan Shanks 62dc159aa9 Update mbedtls submodule to my macos branch of mbedtls-2.11.0 2018-06-28 23:33:19 -07:00
Brendan Shanks 894a25dddf Fix crash when multiple windows are open and a window is closed
Fix crash when multiple windows are open and a window is closed. libssh2_exit() was
being called, de-init'ing mbed TLS. libssh2_init/exit() are now called at application launch/quit.
2018-06-28 23:27:10 -07:00
Brendan Shanks bf9958a273 Fix crash after failed authentication 2018-06-28 23:27:10 -07:00
Brendan Shanks 152f7a8d10 Route outgoing keystrokes through ssh_protocol_write(), rather than sockets and GUSI 2018-06-28 23:27:10 -07:00
Brendan Shanks 7208d01e91 ssh2_thread: Initialize 'context' to NULL 2018-06-28 23:27:10 -07:00
Brendan Shanks 76af9acc2a Disable _convertLFs, was causing CR ('\r') sent by remote to beocme a newline ('\n') 2018-06-28 23:27:09 -07:00
Brendan Shanks 1c41674e23 Update mbedtls submodule to my macos branch of mbedtls-2.9.0 (fixed)
Update to fixed commit. I previously squash merged upstream mbedtls into
the macos branch, this was not a good idea.
2018-06-27 13:14:22 -07:00
Brendan Shanks e8566de54f Reformat AboutBox.r and telnet.r using Rez includes (#11)
By passing type declaration files to DeRez, the resource files can be output as meaningful
resource statements, rather than just hex dumps.

Also, 'Types.r' is used as the Rez prefix file in the CodeWarrior project.

Commands used to generate these files:

OS X 10.6, using system Rez and Universal Headers from CW:
DeRez AboutBox.rsrc Types.r -i /Volumes/CodeWarrior/Metrowerks\ CodeWarrior\ 8.0/Metrowerks\ CodeWarrior/MacOS\ Support/Universal/Interfaces/RIncludes/ > AboutBox.r

macOS 10.13, using Xcode Rez and Carbon headers:
DeRez -isysroot `xcrun --sdk macosx --show-sdk-path` AboutBox.rsrc Carbon.r > AboutBox.r

Both methods produce the exact same file.

Thanks to eschaton for the suggestion
2018-06-15 14:13:38 -07:00
Brendan Shanks b823b4337b Update libssh2 submodule 2018-05-31 22:47:05 -07:00
Brendan Shanks e3ceb20ccd Remove lsh_object stuff from lshcontext 2018-05-31 12:14:06 -07:00
Brendan Shanks b545990164 Remove CVSROOT (#9) 2018-05-31 11:10:38 -07:00
Brendan Shanks 2bf4e595c9 Add SSH window resize support 2018-05-30 22:36:12 -07:00
Brendan Shanks cf5a038d74 Update mbedtls submodule to my macos branch of mbedtls-2.9.0 2018-05-29 00:16:26 -07:00
Brendan Shanks 63bc285a57 Add known_hosts handling for libssh2 implementation
Add known_hosts handling for libssh2 implementation. known_hosts file is stored in
same place as before, but is now written with the app's creator code ('Ssh2').
If a known_hosts file with 'CWIE' is found, it will be renamed and a new file written
in its place (the old lsh format is not compatible).
SHA256 hostkey hashes are used, and stored in the file by the hostname as entered by the user
(I think this matches the OpenSSH client behavior). Port numbers are not added though.
2017-09-11 23:42:22 -07:00
Brendan Shanks 732738ff99 Add known_hosts error string 2017-09-10 23:27:19 -07:00
Brendan Shanks 0d20a02bcd Correctly handle channel closing (i.e. logging out of shell) by closing window 2017-09-07 23:59:32 -07:00
Brendan Shanks d56cb8d5a6 Correctly handle EOF when reading from stdin (on window close) 2017-09-05 23:57:11 -07:00
Brendan Shanks 28dacfe5d5 Modify getprefsd() to take a Pascal string as 'name' 2017-08-18 00:09:02 -07:00
Brendan Shanks d59263d9df Replace internal pstrcat() with PLstrcat() 2017-08-16 11:26:55 -07:00
Brendan Shanks 6f46df7db9 Replace internal pstrcpy() with PLstrcpy() 2017-08-16 10:54:37 -07:00