Commit Graph

71 Commits (10d97e151fbab0c8d06be441cdc8c2e121bca65d)

Author SHA1 Message Date
JacobBarthelmeh 161c5ae24f expand CI test for non-fpki build, fix check for error state with CertEnumCertificatesInStore, add extended key usage type check if present, fix for EKU checks with X509 use and add test case 2026-09-05 01:32:02 -07:00
JacobBarthelmeh 0be0fae009 use wolfSSH_ prefix on wolfSSH specific config's HostKeyStore, HostKeyStoreSubject, HostKeyStoreFlags 2026-09-05 01:32:02 -07:00
JacobBarthelmeh 4baba585d5 fix for flags handling, ocsp case, macro guards, unused variable, changed default from MY to required to be set
enable SHA1 with windows cert store test case

expand test cases, adjust to authorized key file, minor dead code adjustments

add more documentation, refactor duplicate code sections, clean up test cases, more adjustments to logging spamming protections
2026-09-05 01:32:02 -07:00
Mark Atwood 48fc50c9bc fix: read wolfSSL version from WOLFSSL_DIR only
The wolfSSL dependency version came solely from
WOLFSSL_DIR/wolfssl/version.h. That header is generated by configure as
well as tracked, so `make distclean` in the wolfSSL tree removes it. With
it gone the --dep-version override was never passed and gen-sbom fell
back to `pkg-config --modversion wolfssl`, which reports the *installed*
wolfSSL. On a host whose installed build differs from WOLFSSL_DIR the
SBOM recorded that unrelated version (9.9.9 in the report) and still
exited 0, attesting a component wolfSSH was not built against.

Fall back to AC_INIT in WOLFSSL_DIR/configure.ac, which survives
distclean, and fail when neither source is readable rather than letting
an installed copy answer for the tree. SBOM_WOLFSSL_VERSION still
overrides both.
2026-08-27 09:43:33 -07:00
Mark Atwood d52677082f fix: unpin SBOM CI from merged wolfssl PR ref
wolfSSL/wolfssl#10343 merged on 2026-07-27, but the SBOM workflow still
checked out wolfssl at refs/pull/10343/head. GitHub keeps PR refs alive
after merge, so CI stayed green while validating a pre-merge snapshot
rather than master. Point wolfssl_ref and its fallback at master.

Distinguish the two gen-sbom lookup failures. A set-but-wrong
WOLFSSL_DIR previously printed the "re-run with WOLFSSL_DIR=..." advice
to someone who had already set it; it now names the path that was
probed and states that WOLFSSL_DIR is a source tree, not an install
prefix.

Refresh the README and in-recipe notes that still told users to track
the #10343 branch until it merged.
2026-08-27 09:43:33 -07:00
Sameeh Jubran f0e4b404d5 sbom: harden gen-sbom path resolution and align docs
Guard the SBOM_GEN wolfSSL fallback with $(if $(WOLFSSL_DIR),...) so an
unset WOLFSSL_DIR leaves it empty (yielding the intended "set WOLFSSL_DIR"
error) instead of resolving to an absolute /scripts/gen-sbom that could run
an unrelated host script. Reword the fragment header to describe the actual
gen-sbom resolution (vendored copy if present, else WOLFSSL_DIR) rather than
claiming offline tarball builds that aren't wired up yet. Condition the
README's wolfSSL-dependency statement on a sufficiently new gen-sbom to
match the existing degradation note.

Signed-off-by: Sameeh Jubran <sameeh@wolfssl.com>
2026-08-27 09:43:33 -07:00
Sameeh Jubran 7ff47dc54c sbom: fix license detection and clarify wolfssl dependency note
Default SBOM_LICENSE_OVERRIDE to GPL-3.0-only so the SBOM records the
correct license instead of NOASSERTION, and point the --dep-wolfssl
note at wolfSSL/wolfssl#10343.

Signed-off-by: Sameeh Jubran <sameeh@wolfssl.com>
2026-08-27 09:43:33 -07:00
Mark Atwood b79c3e8e89 docs: add SBOM/EU CRA Compliance section to README and build docs 2026-08-27 09:43:33 -07:00
aidan garske d818d032ba Address review: clear crypto callback on error, gate SHA-1 to RSA, cryptocb docs, fix comment 2026-07-07 14:28:56 -07:00
aidan garske 5f715daf02 Add TPM X.509 host certificate docs and CI coverage 2026-07-07 14:28:56 -07:00
Emma Stensland c56dc1027f added ml-dsa plain key and cert algorithms 2026-07-06 16:51:21 -05:00
aidan garske a2c28c9c3c Add TPM 2.0 resident server host keys for ECDSA and RSA 2026-06-16 13:59:52 -07:00
gojimmypi bc6974f875
spelling edits 2025-04-12 16:36:11 +02:00
aidan garske 77c8db6cc2 Rebase for tpm public key authentication with wolfssh 2025-04-01 16:44:55 -07:00
Anthony Hu 175bbc17b2 Doc edit. 2025-03-21 20:05:09 -04:00
Anthony Hu 0183905dbe Replace Kyber 512 with ML-KEM 768.
Devin did some work here.
2025-03-21 19:35:02 -04:00
Anthony Hu 01dc57bda3 Not ML-DSA; ML-KEM 2024-12-13 13:28:40 -05:00
Anthony Hu 20287f5568 Purge OQS from wolfSSH. Use kyber from wolfssl. 2024-08-20 14:57:39 -04: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
Anthony Hu 4c8be76926 Document how to try out the shell feature. 2024-04-12 11:43:20 -04:00
John Safranek ff071a2d46 Update the certificate build directions so that the "fred" certificate would work. 2024-03-27 10:37:27 -07:00
Anthony Hu 698fb5d930 Change references in README.md from John to Fred. 2024-03-26 15:28:51 -04:00
Anthony Hu 3610e2b297 Add Curve25519 KEX support. 2024-03-08 16:20:42 -05:00
John Safranek 25a4984e59
Remove Example Server
The example server was never used. All new behaviors were added to the
echoserver only. Now with wolfSSHd, the server example can finally be
removed.

1. Remove the example server from the build.
2. Remove the file notes.md.
3. Update the readme.
2023-12-28 12:28:16 -08:00
John Safranek b87f0f5e2a
Release v1.4.15
The usual updates for the release.
2023-12-21 14:02:56 -08:00
Anthony Hu 9b96f58442 ecc_p256-kyber_level interop with OQS OpenSSH
The implementation now complies with the following draft:
https://www.ietf.org/id/draft-kampanakis-curdle-ssh-pq-ke-01.html

We implement the method as defined by the following name:
ecdh-nistp256-kyber-512r3-sha256-d00@openquantumsafe.org
2023-05-05 15:01:07 -04:00
John Safranek 6d6b4686b2
Fix SFTP Upload Stall
1. Update README for the change in the default channel receive window size.
2. In the SFTP client, add rekeying as a error that's OK to ignore.
3. In wolfSSH_stream_read(), clear the SSH object's error register.
2023-02-01 17:09:30 -08:00
Anthony Hu 2457fa2570 Correction to kex name. 2022-09-07 13:31:17 -04:00
David Garske 5b3b5e60e1
Merge pull request #437 from anhu/p256_kyber_level1
Replace Saber Level1 with hybrid ECDH-P256 Kyber-Level1.
2022-09-02 11:56:04 -07:00
John Safranek 33da820e45
Update CA Key
1. Add the CA key used with the CA cert.
2. Rename the ca-cert to follow the pattern.
3. Update readme and the keys include file.
2022-08-30 09:38:01 -07:00
JacobBarthelmeh 5d8922e5a2 update readme for certs., add examples certs. to include.am, update comment in example 2022-08-26 23:41:50 -07:00
John Safranek 1405eeae62 X.509 Certificate Support
1. Fix build error when building without certificates.
2. Add the root CA option to the echoserver usage.
3. Update the readme file to include the new certificate option.
4. Added command line option to load a CA cert into the echoserver.
2022-08-24 06:35:40 -07:00
Anthony Hu ae668a0e8d Replace Saber Level1 with hybrid ECDH-P256 Kyber-Level1. 2022-08-15 09:10:17 -04:00
Andrew Hutchings 0b6d6cc093 Make a note about 32bit Linux large file support 2022-07-29 14:07:58 +01:00
Anthony Hu 71761d9ccb Changes based on code review. 2022-05-19 17:32:46 -04:00
Anthony Hu cdde29da65 SABER Level 1 Support in wolfSSH 2022-05-05 16:47:41 -04:00
John Safranek a813f9c93a
Readme Update
1. Changed "ssh_client" to "ssh". This example is intended to use the
   usual ssh client.
2. Changed a later section header to be different from an earlier one.
   (examples)
3. Added some backticks around some short phrases that are meant to be
   commands or something included in code.
4. Added some links.
5. Update the build directions.
6. A bunch of lines were longer than 80 columns or got really close.
   These were rewrapped to be a little shorter. Whitespace only.
7. Remove non-markdown README file.
2022-02-04 13:26:17 -08:00
John Safranek c981e525d0
Merge branch 'master' into doc 2021-10-26 09:22:53 -07:00
John Safranek 513313e65e
Update readme. 2021-10-07 11:19:01 -07:00
Jacob Barthelmeh a3b5958106 update README's with helpful links, including one to the wolfSSH manual 2021-08-03 21:03:26 +07:00
John Safranek 5a4e022337
Added a note about the user accounts used by the echoserver to the readme. 2020-08-21 14:48:49 -07:00
John Safranek fd0711d5c7
update readme for the shell support 2020-07-08 14:59:14 -07:00
John Safranek 7d6e715e66 Update the readme files with the filename changes to the example user public keys. 2019-12-05 13:18:16 -08:00
John Safranek cc46579db7 Bump Version 2019-04-22 10:18:28 -07:00
David Garske c4874154c0
Merge pull request #134 from ejohnstown/nbsftp
Non-blocking wolfSFTP
2019-02-27 12:50:36 -08:00
Jacob Barthelmeh 4733878fc9 adjust the default window size 2019-02-08 16:40:14 -07:00
Jacob Barthelmeh d54a42161e move sftp client example to examples directory 2019-01-23 11:23:32 -07:00
Jacob Barthelmeh fff773213a change wolffwd example name to portfwd 2019-01-23 11:23:21 -07:00
John Safranek 97e5036b1c Touched for .1 release. 2018-11-15 16:21:52 -08:00
Jacob Barthelmeh 5c001de65a add SFTP to README 2018-11-13 10:04:47 -07:00