Commit Graph

95 Commits (c368efb8b27ae065626d31d2387cc87cc9a06289)

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 77c8db6cc2 Rebase for tpm public key authentication with wolfssh 2025-04-01 16:44:55 -07:00
JacobBarthelmeh b62b19c7cd prepare for release 1.4.20 2025-02-19 14:18:29 -07:00
JacobBarthelmeh 7d87c0ef7a prepare for release 1.4.19 2024-10-31 15:05:15 -06:00
Anthony Hu 20287f5568 Purge OQS from wolfSSH. Use kyber from wolfssl. 2024-08-20 14:57:39 -04:00
John Safranek e9ec4fd9fd Release v1.4.18
The usual updates for the release.
2024-07-18 14:43:57 -07:00
John Safranek c821a8c609 Revert "Configure Updates"
This reverts commit 63a3068dc7.
2024-07-18 11:44:29 -07:00
JacobBarthelmeh 995a047dad
Merge pull request #724 from ejohnstown/term-update
Configure Update
2024-07-17 17:02:52 -06:00
John Safranek a15e24cc37 Configure Updates
1. Update the configure.ac for an incorrect TERM flag. Was mixing
   TERM and PTERM, but most things use TERM, switch to TERM.
2024-07-17 15:06:52 -07:00
John Safranek 63a3068dc7 Configure Updates
1. Update the configure.ac for an incorrect PTERM flag.
2024-06-20 16:35:54 -07:00
John Safranek d2889924cb
Update Version to v1.4.17
1. Update the library version
2. Update the ChangeLog
2024-03-22 12:36:05 -07:00
John Safranek 1736a4cabf
Update Copyright Date
1. Bring all copyright dates up to 2024.
2. Fix a few files with incorrect licensing.
2024-03-22 12:17:09 -07:00
JacobBarthelmeh dda8905daa dev bundle, version 1.4.16 2024-02-22 06:52:04 -07:00
John Safranek 3feaad95af
Release v1.4.15: Release Testing Fixes
1. Add a check for limits.h to configure.ac.
2. In wolfSSHd's configuration.c file, add an include of limits.h if
   available. It is including the header indirectly while using it
   directly.
2023-12-22 11:05:15 -08:00
John Safranek b87f0f5e2a
Release v1.4.15
The usual updates for the release.
2023-12-21 14:02:56 -08:00
John Safranek 7e17dc9d39
Test Fixes
1. Remove the grace period wolfSSHd test. It asks for a password, and
   when running as an action it doesn't have stdin, so it fails. The
   test works when stdin is available.
2. Remove the check for __uint128_t from configure. wolfSSL exports this
   value, if present, in its options.h. After wolfSSL v5.6.4, wolfSSL
   also exports this to options.h when building it with CMake. The check
   in wolfSSH isn't necessary now.
2023-12-06 12:08:48 -08:00
John Safranek 3b50a89b2f
Configure Type Checking
Add checks to configure.ac for the types __uint128_t, size_t, uint8_t,
and uintptr_t.
2023-10-24 15:23:01 -07:00
John Safranek 7965c97ceb wolfSSH Client
1. Add scaffold to the build for the wolfSSH client.
2. A little whitespace change in configure.ac.
2023-09-25 09:23:13 -07:00
John Safranek cf840c82b0
Initial PTY Window Size
1. Changed gathering the PTY window size from being OS dependent to
   availability of ioctl.h so both Linux and MacOS would start with the
   correct size.
2. Added a check to configure for sys/ioctl.h.
3. Changed GetTerminalSize() so it returns the pix width and height as
   well.
2023-09-18 15:05:33 -07:00
JacobBarthelmeh 981d946d8e prepare for release 1.4.14 2023-07-06 13:27:32 -07:00
John Safranek 7ccedec9c3
Release v1.4.13
1. Update the version number in configure.ac.
2. Update the change log.
2023-04-03 14:21:20 -07:00
John Safranek 95bcc4541c
Release v1.4.13
1. Update the copyright year in all file header comments.
2. Update the STM32CUBE files to use the correct GPL headers.
2023-04-03 10:41:10 -07:00
John Safranek 124a6cc32d Updates for new release. 2022-12-20 14:33:53 -08:00
JacobBarthelmeh e47dca36f3 add HAVE_PTHRED define for including correct WOLFSSL_THREAD 2022-12-19 16:37:25 -07:00
John Safranek 09e3446b96 Add Certificate Manager Stub File
1. For the new X.509 user certificate support, add a new stub source
   file for the wrapper code around wolfSSL's CertManager.
2. Update the makefile includes to use the new source file and header.
3. Update configure with the `--enable-certs` option.
2022-08-24 06:34:30 -07:00
Jacob Barthelmeh 8e118ef222 prepare for release v1.4.11 2022-08-22 10:08:55 -06:00
Jacob Barthelmeh 5a1f42ba07 update copyright, wrap isspace, fix formating 2022-08-16 13:28:06 -06:00
Jacob Barthelmeh 8f3cdc8230 infer fixes, clang build fixes, initial build on OSX 2022-08-05 12:05:07 -06:00
Andrew Hutchings f7fad8b8d0 Fix compiling issues 2022-07-28 15:34:21 +01:00
JacobBarthelmeh 311738d057 add link to liblogin with QNX for crypt 2022-07-21 14:43:43 -07:00
JacobBarthelmeh 7b8ce149d7 add look for libpam and adjust for QNX build 2022-07-21 13:31:22 -07:00
JacobBarthelmeh e493d3aeb2 assume sshd builds use shell, better support for routing session types after SSH accept 2022-07-21 13:31:22 -07:00
Hayden Roche 787d5be900 Add more functionality to wolfsshd, other improvements.
- Moved all wolfsshd source code into apps/wolfsshd/. Then future apps, e.g.
an ssh-keygen type utility, will get their own subdirectory under apps/.
- Rename wolfauth.(c|h) to auth.(c|h), rename wolfconfig.c to config.c.
- Add support for checking user public keys against an authorized keys file.
Doesn't support parsing options and comments in the key file, yet. Parsing
special tokens (e.g. %h) and absolute paths in the AuthorizedKeysFile string
are also not supported.
- Comment out currently unused USER_NODE code. Could be useful later on if
we integrate wolfsshd in an environment where the OS doesn't have its own
username service.
- Modify configure.ac to bring in libcrypt if wolfsshd is enabled.
2022-07-21 13:31:22 -07:00
Jacob Barthelmeh 27cf3d31b9 add initial reading of sshd_config file 2022-07-21 13:31:22 -07:00
Jacob Barthelmeh c81fcbca39 initial autotools sshd addition 2022-07-21 13:31:22 -07:00
John Safranek 73249c7257
Merge pull request #408 from anhu/saber
SABER Level 1 Support in wolfSSH
2022-05-24 14:51:39 -07:00
Jacob Barthelmeh 019ea52618 prepare for release 1.4.10 2022-05-12 13:35:34 -06:00
Anthony Hu cdde29da65 SABER Level 1 Support in wolfSSH 2022-05-05 16:47:41 -04:00
David Garske 6a893c918e Fixes for cross-compiling. 2022-03-21 16:24:14 -07:00
John Safranek ba42d6f732
Fix missing pread() and pwrite()
1. configure.ac: Check that the DECLs for `pread()` and `pwrite()` exist
   in unistd.h.
2. port.c: If `pread()` or `pwrite()` aren't available, use the local
   versions that are wrappers around `seek()` and `read()` and
   `write()`.
2022-01-27 10:36:42 -08:00
John Safranek 796423bfac
Update tests and examples to include config.h
1. All the sources for the tests and examples did not have an include
   for config.h. This fixed some inconsistent builds with an older
   version of gcc.
2. Moved config.h from the src directory to the top level of the repo
   directory.
2022-01-26 15:06:07 -08:00
Jacob Barthelmeh 980b9d8f60 prepare for release version 1.4.8 2021-11-04 08:49:22 -06:00
Elms 35e5a9bd70 configure: Add `--with-wolfssl` and use `--prefix` to look for wolfSSL 2021-10-26 10:39:12 -07:00
Jacob Barthelmeh 056bd8a87c prepare for release v1.4.7 2021-07-23 15:39:29 +07:00
John Safranek dbea6e6a47
M4 Update
1. Update the m4 files we updated in wolfSSL.
2. Update the configure.ac.
2021-07-01 14:42:49 -07:00
Daniele Lacamera 1d15b570b7 Renamed configure option to --enable-smallstack 2021-03-09 10:14:22 +01:00
Daniele Lacamera 40e12fd14d Added option for --enable-small-stack 2021-03-08 18:00:04 +01:00
Jacob Barthelmeh 5327a7f761 prepare for release 1.4.6 2021-02-03 22:43:46 +07:00
John Safranek 4b021fcfa0
Release v1.4.5
1. Update changelog and readme.
2. Update configure.ac.
2020-08-28 16:34:21 -07:00
John Safranek 4055d91c11
ECC Update for wolfSSL v4.5.0
wolfSSL v4.5.0 introduced a new function, `wc_ecc_set_rng()`, which is
present when ECC_TIMING_RESISTANCE is enabled. Added a check to the
configure script for that function, and disable calls to the function
if it isn't present. This allows wolfSSH to build against older
versions of wolfSSL.
2020-08-21 16:57:43 -07:00