Commit Graph

42 Commits (master)

Author SHA1 Message Date
Andrew Hutchings c368efb8b2 Make Keyboard Interactive a compile time option
Now an off-by-default compile-time option. This saves resources and
confusion if you are not expecting it.

ZD #19704
2025-04-22 13:12:42 +01:00
aidan garske 3775d1843a newline 2025-04-01 22:05:47 -07:00
aidan garske 69e266178f Used port.h macros 2025-04-01 21:58:49 -07:00
aidan garske 77c8db6cc2 Rebase for tpm public key authentication with wolfssh 2025-04-01 16:44:55 -07:00
Anthony Hu 0183905dbe Replace Kyber 512 with ML-KEM 768.
Devin did some work here.
2025-03-21 19:35:02 -04:00
David Garske cea99e5e83
Merge pull request #787 from wolfSSL/devin/1740666408-add-fatfs-test-action
FATFS improvements, test and Linux example
2025-03-07 06:32:22 -08:00
Andrew Hutchings dfc0f72480 Make the FATFS a cache step 2025-03-06 11:15:29 +00:00
Andrew Hutchings a37591f3f5 Remove FATFS and link to it instead 2025-03-06 10:33:40 +00:00
Devin AI 647508beb8 Add GitHub Action for testing wolfSSH server with Paramiko SFTP client
Co-Authored-By: andrew@wolfssl.com <andrew@wolfssl.com>
2025-02-28 11:44:42 +00:00
Devin AI da01ceac13 Add GitHub Action to test FATFS support for wolfsftp client
This adds a GitHub Action workflow to test the FATFS support for the wolfsftp client.
The workflow:
- Installs dependencies
- Clones and builds wolfSSL with appropriate flags
- Compiles the FATFS library
- Configures and builds wolfSSH with FATFS support
- Creates a test file
- Sets up an SSH server
- Uses the wolfsftp client to transfer a test file
- Verifies the file in the FATFS image

Co-Authored-By: andrew@wolfssl.com <andrew@wolfssl.com>

Co-Authored-By: andrew@wolfssl.com <andrew@wolfssl.com>
2025-02-27 15:40:06 +00:00
Devin AI 502b5a60f5 Fix SFTP data truncation issue by moving sentSzSave to state structure
Co-Authored-By: andrew@wolfssl.com <andrew@wolfssl.com>
2025-02-25 19:00:32 +00:00
JacobBarthelmeh bbe3bac2d5 add regression test and use a better macro name 2025-02-18 10:50:05 -07:00
Andrew Hutchings a4733ecd95 RFC-4256 Keyboard-Interactive authentication
This implements Keyboard-Interactive authentication.

Adds an additional callback set by `wolfSSH_KeyboarAuthPrompts()` which
will set a callback in the server to ask the application to provide the
prompt details for the client.
2025-02-11 14:19:52 +00:00
Andrew Hutchings d108c69c5d Add cppcheck test to GitHub actions
Found and fixed:

* Fix typos in Renesas demo
* Fix uninitialized variable reads
* Fix redundant condition
* Fix argument checks
* Fix some null ptr dereferences
* Fix ambiguous statement
2025-02-05 19:49:01 +00:00
David Garske 86499a5094
Merge pull request #762 from JacobBarthelmeh/kex
Add back in P521 and P384 by default when enabled
2025-01-31 09:59:05 -08:00
JacobBarthelmeh c476e8846e refactor sshd test case script 2025-01-30 18:16:55 -07:00
Daniel Pouzzner e7be0cd812
Merge pull request #751 from JacobBarthelmeh/scp
SCP hang with interop fix
2025-01-30 16:25:48 -06:00
JacobBarthelmeh d5d45ca7a8 add comments on test case 2025-01-30 10:28:35 -07:00
Andrew Hutchings 35bf1f8521 Fix GitHub Actions upload artifact
The v3 support was removed on 2025-01-30
2025-01-30 16:42:37 +00:00
JacobBarthelmeh d9e534797d add memory leak check test 2024-11-15 13:52:48 -07:00
JacobBarthelmeh e8f034372b add example scp test case 2024-11-13 15:22:02 -07: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
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
Eric Blankenhorn 0719578e29 Fix testsuite with singlethreaded 2024-07-01 09:12:36 -05:00
John Safranek c004c15232 Update Test
1. Change kyber test to use the cache naming in the other test.
2. Remove moving wolfSSL to another directory. Clears a bunch of
   warnings.
3. Build liboqs to install in the same directory as wolfSSL.
2024-05-17 16:32:50 -07:00
John Safranek ed58ea0755 Update Test
1. Add a new test that checks both macOS and Ubuntu in one test, rather
   than as two separate tests.
2. Remove the old ubuntu and macos tests.
2024-05-17 16:10:48 -07:00
John Safranek 8da722e0ec Kyber Testing
1. Switch to using variables for the versions.
2. Updated cache use per recommondations.
3. Renamed the cached items with "kyber" in the name.
2024-05-16 09:21:34 -07:00
John Safranek 19e39d9491 Kyber Testing
1. Updated to use more standard actions.
2. Cache the outputs of the dependencies.
2024-05-15 18:52:27 -07:00
John Safranek c053303caa Kyber Testing
Add a workflow for a kyber test.
2024-05-15 16:44:07 -07:00
John Safranek 2a139c9ed5
Merge pull request #677 from julek-wolfssl/zephyr-nofs
Add NO_FILESYSTEM to Zephyr port
2024-05-02 12:12:47 -07:00
John Safranek 1254c939c9 macOS Action Update
1. In the brew install step explicitly install autoconf and add libtool.
2. Skip running autogen.sh for wolfSSH, just use autoreconf directly.
3. Use "--enable-wolfssh" when building wolfSSL.
2024-04-26 09:11:48 -07:00
Juliusz Sosinowicz 2b2337055a Add NO_FILESYSTEM to Zephyr port 2024-04-16 16:27:51 +02: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
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 7156ac81e0 adjust test socket close down and pull of zephyr sdk 2024-01-29 14:55:09 -07:00
JacobBarthelmeh 126a884aff adjust sshd test for user name 2024-01-26 14:35:50 -07:00
JacobBarthelmeh c6bc8992e6 add sshd test run 2023-11-28 10:29:31 -07:00
Juliusz Sosinowicz 37412ff50f Init zephyr support
- SSH
- SFTP
- SCP
2023-10-02 20:38:21 +02:00
John Safranek e1f07a346a
Actions
1. Add build action for Ubuntu.
2. Add build action for macOS.
2021-07-20 11:05:04 -07:00