Commit Graph

1833 Commits (c8e00a409b99caad0e69bb1893e14082a69e538d)

Author SHA1 Message Date
John Safranek c8e00a409b KEX Cipher Lists
1. Using the configurable list from the WOLFSSH for setting the KEX
   algorithm list.
2. Removed the ID lists for the KEX algorithm list used in
   DoKexInit().
3. Changing DoKexInit() to use the configurable KEX list.
2024-02-29 13:18:49 -08:00
John Safranek 1319564bdd KEX Cipher Lists
1. Using the configurable list from the WOLFSSH for setting the cipher
   list and the MAC list.
2. Removed the ID lists for the cipher list and MAC list used in
   DoKextInit().
3. Changing DoKexInit() to use the configurable cipher and MAC lists.
2024-02-29 13:18:49 -08:00
John Safranek 672d36e245 KEX Cipher Lists
1. Add APIs for setting the algorithm lists used in the KEX initization
   messages.
2. Add API to check if a specified algorithm name is available.
3. Add APIs to list available algorithms.
4. Add algorithm lists to the WOLFSSH_CTX and WOLFSSH structures.
5. Added a local function to fetch algorithm strings based on their type and
   an index.
6. Added starter tests for the algorithm functions.
7. Move the canned algorithm list strings before CtxInit() so they may be
   used for default lists in the WOLFSSH_CTX.
8. Carry over the algorithm name lists from WOLFSSH_CTX to WOLFSSH.
9. Remove dead code.
10. Add parameter names to a few function prototypes.
2024-02-29 13:18:49 -08:00
John Safranek 077b39de8d SHA1 Revision
1. Restore SHA-1 as enabled by default.
2. Introduce a "soft disable" for SHA-1 algorithms. SHA-1 is allowed to
   be used, but the default configuration will not advertise it as
   available in the KEX.
2024-02-29 13:18:49 -08:00
Daniel Pouzzner 13598c773a
Merge pull request #658 from JacobBarthelmeh/dev_bump
dev bundle, version 1.4.16
2024-02-27 18:16:59 -05:00
JacobBarthelmeh 9e9db3121d fix for echo of characters with shell connection 2024-02-22 09:10:17 -08:00
JacobBarthelmeh 8b7a15f0fd check for channel closed on shutdown 2024-02-22 07:44:24 -08:00
JacobBarthelmeh dda8905daa dev bundle, version 1.4.16 2024-02-22 06:52:04 -07:00
John Safranek 4193671164
Merge pull request #657 from JacobBarthelmeh/sftp_large
Fix for large file transfers on client side with SFTP
2024-02-15 17:39:56 -08:00
JacobBarthelmeh cd3130fa7e add large sftp file transfer test case 2024-02-15 09:32:58 -07:00
JacobBarthelmeh 1e982a7a22 fix for file offset when larger than word32 size 2024-02-15 06:07:10 -07:00
John Safranek 71ba56a7d4
Merge pull request #655 from JacobBarthelmeh/sshd_forcedcmd
set pipes as non blocking before last read
2024-02-13 10:57:45 -08:00
John Safranek 2d8bb0fbe1
Merge pull request #656 from JacobBarthelmeh/windows_tests
add windows github action build test
2024-02-06 14:24:02 -08:00
JacobBarthelmeh c157d56d71 add windows github action build test 2024-02-03 18:04:50 -07:00
JacobBarthelmeh 46cdfc570d set pipes as non blocking before last read 2024-02-03 00:24:04 -07:00
Daniel Pouzzner 94354d43bd
Merge pull request #653 from JacobBarthelmeh/sftp_large
fix for build on windows, and fix for sftp file transfer from windows
2024-02-02 17:51:15 -05:00
JacobBarthelmeh 23e8405c43 if not a directory then set file type with windows 2024-02-02 10:11:33 -07:00
JacobBarthelmeh 8ce9d164ca fix windows build with sshd 2024-02-02 09:46:41 -07:00
JacobBarthelmeh 53a82e7524
Merge pull request #652 from ejohnstown/rsa-fix
RSA Verify Fix
2024-02-01 16:43:36 -07:00
John Safranek 53ce7d718b
RSA Verify Fix
1. Switch from wc_RsaSSL_VerifyInline() to wc_RsaSSL_Verify(). Fixes a
   bad free.
2024-02-01 15:13:16 -08:00
John Safranek 815d22f729
Merge pull request #650 from miyazakh/no_rsa
fix WOLFSSH_NO_RSA
2024-01-31 13:20:53 -08:00
Hideki Miyazaki bb81ad0afc
additional gate for RSA 2024-01-31 08:18:16 +09:00
John Safranek 710e6e0d58
Merge pull request #651 from JacobBarthelmeh/ext
fix return value for test shell scripts
2024-01-29 17:04:17 -07:00
JacobBarthelmeh b662bcaaf1 fix return value for test shell scripts 2024-01-29 16:40:35 -07:00
John Safranek 3a3a49c7cb
Merge pull request #615 from JacobBarthelmeh/ext
add piping of stderr
2024-01-29 16:30:09 -07:00
JacobBarthelmeh 7156ac81e0 adjust test socket close down and pull of zephyr sdk 2024-01-29 14:55:09 -07:00
Hideki Miyazaki b256522f5b
fix WOLFSSH_NO_RSA 2024-01-27 13:03:10 +09:00
JacobBarthelmeh 126a884aff adjust sshd test for user name 2024-01-26 14:35:50 -07:00
JacobBarthelmeh 521981ea1b check in x509 test script 2024-01-26 14:01:52 -07:00
JacobBarthelmeh ab45a98d18 fix for building with QNX 2024-01-26 14:01:52 -07:00
JacobBarthelmeh 903bc98c34 update example client shell settings 2024-01-26 14:01:52 -07:00
JacobBarthelmeh 2366417b06 increase type size for command name and improve handling read of pipes after command exits 2024-01-26 14:01:52 -07:00
JacobBarthelmeh 31ffa18492 account for last bit of left over data in pipes after command exits 2024-01-26 14:01:50 -07:00
JacobBarthelmeh 0a24dccd7f add additional x509 connection test 2024-01-26 14:01:11 -07:00
JacobBarthelmeh e8f34afe6e fix to only use stdout/stderr pipes with forced commands 2024-01-26 14:01:06 -07:00
JacobBarthelmeh fee6f31ab6 add option to generate user certs 2024-01-26 14:00:31 -07:00
JacobBarthelmeh b711d62238 add piping of stderr 2024-01-26 14:00:21 -07:00
John Safranek dce3cf09e9
Merge pull request #614 from JacobBarthelmeh/err
send error status on exit
2024-01-23 14:26:23 -08:00
JacobBarthelmeh ad8bd954a1 do not set SIG_IGN now that the parent process is getting the childs exit status 2024-01-23 14:44:20 -07:00
JacobBarthelmeh 39b6e26c7e improve unix/linux wait for child exit status 2024-01-23 14:39:47 -07:00
JacobBarthelmeh 6e5a614260 update return code test case 2024-01-22 15:28:12 -07:00
JacobBarthelmeh 7d2b4c5e39 fix typo in macro guard 2024-01-22 15:10:53 -07:00
John Safranek 406a7fcc31
Merge pull request #631 from JacobBarthelmeh/test
print out log on fail
2024-01-19 17:29:16 -08:00
JacobBarthelmeh 80a21ccc09 print out log on fail and remove print out from alarm 2024-01-19 09:22:13 -07:00
JacobBarthelmeh 8fe719c373 disable test case until resolving for use with github actions 2024-01-19 09:18:41 -07:00
JacobBarthelmeh 965a0c5b46 add debug for test case 2024-01-19 09:18:41 -07:00
JacobBarthelmeh 11329a4b62 add error return test case 2024-01-19 09:18:41 -07:00
JacobBarthelmeh 9b5c54cd7f account for small highwater mark test case 2024-01-19 09:18:41 -07:00
JacobBarthelmeh 3efdeaa037 fix build with disable term 2024-01-19 09:18:41 -07:00
JacobBarthelmeh 6791f979aa account for sleep on windows 2024-01-19 09:18:41 -07:00