Commit Graph

73 Commits (124a6cc32d5d80fb0d314e0b7059a8c6cdf832f5)

Author SHA1 Message Date
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
John Safranek 2be3f15106
Remove the select.h header from examples if autoconf cannot find it. 2020-07-22 15:25:51 -07:00
John Safranek 1250e1f9d8
SSH-AGENT
1. Added the agent support to the configure.ac script.
2. Updated the gitignore file to ignore any stamp-h file.
3. Changed to use the parsing functions and to make the parsing functions
   local.
4. Updates to multichannel.
5. Add -lutil only if needed.
6. Add configure checks for some headers that change based on target OS.
7. Bump version.
8. Test doesn't have real account or real key so agent doesn't test well.
2020-07-15 09:29:49 -07:00
John Safranek 9c4739e3b2
Shell Worker
1. Add the echoserver shell support as a configure option.
2. Added some header and function checks to configure.
3. Use the new header and function checks to select includes
   in the echoserver.
2020-07-08 13:40:00 -07:00
John Safranek eda6c82114
Fix a typo in the configure file wrt the description of the pty option. 2020-07-08 12:01:51 -07:00
John Safranek 8b8002f746
Removed an initialization of AR_FLAGS and let the libtool version happen.
This makes Ubuntu builds recreatable.
2020-05-28 15:32:48 -07:00
John Safranek 9583cfcebd
Release rollup
1. Fix a dead store by using the value.
2. Revert removing the clean from configure.
2020-04-27 19:10:36 -07:00
John Safranek 722c3bc082
Release Rollup
1. Wrap the include of sys/time.h in wolfscp.h with a check of configure's
   HAVE_SYS_TIME_H.
2. Add a header check to the configure script.
2020-04-24 13:39:35 -07:00
John Safranek a9ae05b33c
Release Rollup
1. Update configure with the new version.
2. Update the ChangeLog.
3. Update the readme.
2020-04-24 09:24:48 -07:00
John Safranek 9e33356e55
Configuration tweaks
1. Replaced all the echo statements with AS_ECHO.
2. Moved the jobserver option up with debug and pthreads.
3. Changed label for enable-term to disable-term since default is enabled.
4. Removed the forced make clean.
2020-04-23 10:45:04 -07:00
Chris Conlon 83f8372458 update copyright to 2020 2020-01-03 15:16:47 -08:00
Jacob Barthelmeh c5228e0fd5 add check on off_t size to build 2019-12-05 18:22:43 -07:00
John Safranek e9e7845974
v1.4.3 Release Prep 2019-10-31 10:37:37 -07:00
Jacob Barthelmeh 0cc06675c9 prepare for release v1.4.2 2019-08-05 14:21:35 -06:00
Jacob Barthelmeh ee3c0f1224 prepare for release version 1.4.0 2019-04-30 13:03:42 -06:00
JacobBarthelmeh 57a869ecf9
Merge pull request #155 from ejohnstown/bump
Bump Version
2019-04-22 14:53:00 -06:00
John Safranek cc46579db7 Bump Version 2019-04-22 10:18:28 -07:00
John Safranek 17a7419496 Update the copyright to 2019 2019-04-08 10:50:23 -07:00
Jacob Barthelmeh ff84dea8a0 add function to get extended data and example remote command execute
update client example remote command execute for Windows

add wolfSSH_stream_peek and console translation

improvements to console translation and add client side psuedo terminal

windows client -c fix, clang build, sanity check on side for exec

fix for warnings with VS 2010 build

cast return value of WSTRLEN

update termios guard and fix for scan-build check

advance extended data buffer index on read

fix for error.h after rebase
2019-03-29 09:25:27 -06:00
John Safranek ea515ca1b2 Add configure option to disable building the example tools. 2019-02-27 13:25:55 -08:00
John Safranek 97e5036b1c Touched for .1 release. 2018-11-15 16:21:52 -08:00
John Safranek 82fcbc130a Enable All for Configure
1. Add enable options for "all" and "distro". all enables all options.
distro enables all and turns on both shared and static library builds.
2. Updated the commit-tests script to perform a check on enable-all as well.
3. Made a few syntactical changes to commit-tests.
2018-09-20 15:40:16 -07:00
John Safranek f8f3d125b6 punctuation correction in configure.ac 2018-09-13 14:16:08 -07:00