Commit Graph

2059 Commits (2b2825560e3ce0bb5b9894efe2d626bf24b427b6)

Author SHA1 Message Date
John Safranek 2b2825560e Simplify autogen
The autogen script is doing too many things. The tests that are set up
in the git hooks are already tested by GitHub with actions on branch
push. Also they don't work if you install wolfSSL somewhere specific.
All one needs to do is run `autoreconf -ivf` to make the configure
script. This is all autogen does now, with the addition of warnings.
2025-01-15 15:32:37 -08:00
Sean Parkinson a2ed75ed73
Merge pull request #756 from lealem47/fatfs_build
Fix SFTP build with WOLFSSH_FATFS
2024-12-16 09:12:59 +10:00
Sean Parkinson 93af2c253c
Merge pull request #755 from anhu/typo
Not ML-DSA; ML-KEM
2024-12-16 09:05:07 +10:00
Lealem Amedie fd45a864fb Fix SFTP build with WOLFSSH_FATFS 2024-12-13 15:08:40 -07:00
Anthony Hu 01dc57bda3 Not ML-DSA; ML-KEM 2024-12-13 13:28:40 -05:00
Anthony Hu b86dc9ae66
Merge pull request #753 from JacobBarthelmeh/wolfsshd_shell
kill child process after SSH connection failure
2024-12-06 16:34:47 -05:00
JacobBarthelmeh ce5b401ebd add regression test for closing down child on SSH connection issue 2024-11-26 12:01:23 -07:00
JacobBarthelmeh c8692f7570 kill child process after SSH connection failure 2024-11-25 16:36:54 -07:00
David Garske 735cd89c6f
Merge pull request #752 from JacobBarthelmeh/wolfsshd
fix for handling memory on socket timeout
2024-11-15 13:11:32 -08:00
JacobBarthelmeh d9e534797d add memory leak check test 2024-11-15 13:52:48 -07:00
JacobBarthelmeh 6e70a07cfd fix for handling memory on socket timeout 2024-11-15 11:10:16 -07:00
Daniel Pouzzner 563e6c4353
Merge pull request #750 from JacobBarthelmeh/scp_example
Scp example free memory on failure
2024-11-09 00:26:26 -06:00
Daniel Pouzzner 9bbef7d974
Merge pull request #749 from JacobBarthelmeh/static
pass heap hint to init rng call
2024-11-09 00:24:41 -06:00
JacobBarthelmeh d288a0deb2 try to close file on socket send failure 2024-11-08 11:18:41 -07:00
JacobBarthelmeh 71301530a1 SCP client continue on to free struct's after failure 2024-11-08 11:18:29 -07:00
JacobBarthelmeh 8ec3bcaa25 pass heap hint to init rng call 2024-11-07 16:47:29 -07:00
David Garske 5305170672
Merge pull request #747 from JacobBarthelmeh/release
prepare for release 1.4.19
2024-11-01 12:44:51 -07:00
Daniel Pouzzner d3a8ec6dc0
Merge pull request #743 from JacobBarthelmeh/sftp
keep trailing delimiter with SFTP open
2024-11-01 14:24:23 -05:00
JacobBarthelmeh 7d87c0ef7a prepare for release 1.4.19 2024-10-31 15:05:15 -06:00
JacobBarthelmeh 6037d0bba8 error out when buffer is too small for null terminator 2024-10-30 09:43:13 -06:00
Daniel Pouzzner fe25b4ef99
Merge pull request #746 from JacobBarthelmeh/testing
add CI test against master and last two wolfSSL releases
2024-10-15 12:49:25 -05:00
JacobBarthelmeh b78fad7eef use older ubuntu version with zephyr test 2024-10-14 11:54:11 -06:00
JacobBarthelmeh 9e68977945 test setting different wolfssl version for test 2024-10-11 16:23:20 -06:00
JacobBarthelmeh 8a1b62ffea add sanity checks 2024-10-10 14:28:19 -06:00
Daniel Pouzzner 11fa704548
Merge pull request #740 from JacobBarthelmeh/static
static analysis report review
2024-10-08 18:08:21 -05:00
John Safranek 8d1efe9fdf Testing Update
1. Update the sshd test to use the newer actions.
2. Parameterize the test for macos and ubuntu.
3. Parameterize the version of wolfssl used.
4. Parameterize the wolfSSH options used.
5. Update a couple test scripts to output their $0 variable instead of
   the wrong string.
2024-10-04 15:44:15 -06:00
JacobBarthelmeh 52e4e32529 keep trailing delimiter with SFTP open 2024-10-04 14:59:40 -06:00
David Garske 3cabbdb703
Merge pull request #741 from JacobBarthelmeh/version
show version of wolfSSL linked to
2024-09-27 14:03:22 -07:00
JacobBarthelmeh b8e6f595b4 show version of wolfSSL linked to 2024-09-27 14:36:42 -06:00
JacobBarthelmeh f0922715af adjust macro guard to avoid leak for build without cert support 2024-09-27 11:30:30 -06:00
JacobBarthelmeh df17913967 sanity check on arguments passed in 2024-09-27 11:11:25 -06:00
JacobBarthelmeh 45534b0418 sanity check on state before dereference 2024-09-27 10:59:14 -06:00
JacobBarthelmeh 76a8d8262d adjust sanity check on sz before adding null terminator 2024-09-27 09:54:05 -06:00
JacobBarthelmeh 1dc46d5fe9 remove dead code 2024-09-27 09:31:30 -06:00
JacobBarthelmeh 34dfcec788 use heap hint passed in 2024-09-27 09:27:33 -06:00
JacobBarthelmeh 3e3d6a813b
Merge pull request #739 from ejohnstown/modes-update
Modes Update
2024-09-25 11:16:30 -06:00
John Safranek 7454ed05ee Modes Update
Several of the TTY mode bits we are checking and setting aren't a part
of POSIX, but are available on Linux. Adds guards to the non-POSIX
value checks and updates.
2024-09-25 09:31:56 -07:00
Daniel Pouzzner 958cfacaa7
Merge pull request #738 from ejohnstown/rm-inline
Remove Inline
2024-09-12 16:56:10 -05:00
John Safranek 49eedd26c3 Remove Inline
1. The function HashForId() was declared as INLINE. Remove it. The
   function is getting exported as WOLFSSH_LOCAL which conflicts with
   the inline.
2024-09-12 14:38:25 -07:00
John Safranek ceb461897b
Merge pull request #736 from wolfSSL/rm_oqs_kyber
Purge OQS from wolfSSH. Use kyber from wolfssl.
2024-08-20 15:19:37 -07:00
Anthony Hu 20287f5568 Purge OQS from wolfSSH. Use kyber from wolfssl. 2024-08-20 14:57:39 -04:00
JacobBarthelmeh d57f53b852
Merge pull request #735 from ejohnstown/fixup
Fixup
2024-08-16 16:20:45 -06:00
John Safranek af66f4a9c2 Fixup
1. Initialize a local variable DoKexInit() as a compiler complains it is
   getting used with a garbage value. (Not true, but hushing the
   compiler.)
2. In GetInputText() add braces around the error check if clauses, and
   give the version error its own check instead of a ternary return.
3. In GetInputData(), if the recv return was anything else, return a
   general socket error.
2024-08-16 15:01:04 -07:00
JacobBarthelmeh 456fac474d
Merge pull request #734 from ejohnstown/readme-update
Update Readme
2024-08-12 10:02:42 -06:00
John Safranek e1c9590648 Update Readme
1. Fixed a couple spots where the wolfSSL name was used instead of
   wolfSSH.
2024-08-12 08:55:52 -07:00
John Safranek f51889430f
Merge pull request #732 from JacobBarthelmeh/scp_example
continue to cleanup on fail case and use WLOG for debug messages
2024-08-08 18:11:06 -07:00
John Safranek 468a205cb7
Merge pull request #719 from JacobBarthelmeh/cat
cat of large file with ssh shell
2024-08-08 18:06:21 -07:00
JacobBarthelmeh 2fbe01092d account for partial sends 2024-08-05 14:48:51 -06:00
JacobBarthelmeh 15f4dc9d0f adjustments to test case 2024-08-05 13:31:47 -06:00
JacobBarthelmeh 781aa27582 touch up after rebase 2024-08-05 13:31:47 -06:00