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
b711d62238
add piping of stderr
2024-01-26 14:00:21 -07:00
John Safranek
271e560045
Release v1.4.15: Last Second Fixes
...
1. Added a UNICODE define to the Windows build of the wolfSSHd auth
module so it picked the correct strings.
2. Fixed a typo in the ChangeLog.
2023-12-22 15:28:21 -08:00
JacobBarthelmeh
0e3ec03c2d
resolving build warnings
2023-12-22 14:24:59 -07:00
JacobBarthelmeh
9cc9711dc8
add override for default sshd user
2023-12-05 10:39:52 -07:00
JacobBarthelmeh
f8de131e81
fix for shared socket ID between connections
2023-10-13 16:56:17 -06:00
John Safranek
491f3dce57
WMACRO Update
...
1. Fix missing updates to wolfSSHd.
2. Fix missing update to scp.
2023-09-01 09:34:26 -07:00
JacobBarthelmeh
034ed7fe9f
fix ups for format, spelling, includes, and string compare
2023-08-30 13:32:17 -07:00
JacobBarthelmeh
ab742ca766
wolfSSHd port to Windows
...
handling of terminal size adjustments
stub case for ECH virtual terminal command
2023-08-30 09:08:25 -07:00
JacobBarthelmeh
e55b4f7e70
fix for getgroups with QNX
2023-06-27 23:30:32 -07:00
JacobBarthelmeh
aaf8b04fae
adjust set and get groups
2023-06-15 01:48:31 -06:00
John Safranek
8b4ae3681c
Mac Build Fix
...
Put macro wrapper around function getgrouplist(). The mac is treating it
as taking a pointer to int rather than gid_t.
2023-06-07 17:33:32 -07:00
John Safranek
f41135dbd9
Merge pull request #520 from JacobBarthelmeh/auth
...
fix empty password support regression
2023-06-01 11:17:55 -07:00
JacobBarthelmeh
f18f9adf1f
fix for check on empty password
2023-05-24 14:53:50 -07:00
JacobBarthelmeh
94df77ff76
fix empty password support regression
2023-05-19 06:58:23 -07:00
JacobBarthelmeh
b11e87b384
add secondary groups as well
2023-05-05 15:20:27 -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
f74c2db6eb
wolfSSHd Shadow Fix
...
1. Checking the string returned from crypt() to make sure it isn't a
"*".
2. Checking the lengths of the strings when checking the password.
2023-03-24 14:06:25 -07:00
JacobBarthelmeh
49256a2e40
update comment
2022-10-19 13:31:06 -07:00
JacobBarthelmeh
0f9304d70d
update client macro guard and add small stack dcert
2022-10-19 12:52:59 -07:00
Jacob Barthelmeh
9e3c2f3b78
check on user name in UPN if exists
...
add check on host IP address in certificate alt names
2022-10-10 08:29:50 -07:00
JacobBarthelmeh
657db7cd7e
allow verify of public key with no authorized keys file if using a CA
2022-09-07 14:40:55 -07:00
JacobBarthelmeh
3e1a6ff342
add mutual X509 auth of host key and sshd_config parsing additions
2022-09-06 16:15:34 -07:00
Hayden Roche
7c486e518a
initial openssh-style certificate parsing
2022-09-06 15:56:42 -07:00
JacobBarthelmeh
e1f0a67c38
add chroot jailing to sshd
2022-08-29 09:27:42 -07:00
JacobBarthelmeh
0830b56fab
fix for permissions level seperation
2022-08-26 23:07:32 -07:00
JacobBarthelmeh
3f52af5e45
g++ fix warning on define
2022-08-22 17:34:49 -06:00
Jacob Barthelmeh
5a1f42ba07
update copyright, wrap isspace, fix formating
2022-08-16 13:28:06 -06:00
Jacob Barthelmeh
387ac299b0
fix for compiler warnings
2022-08-12 10:22:18 -06:00
JacobBarthelmeh
ebd0e51e53
handle basic absolute paths for authorized keys file
2022-08-11 15:40:22 -07:00
Jacob Barthelmeh
8f3cdc8230
infer fixes, clang build fixes, initial build on OSX
2022-08-05 12:05:07 -06:00
JacobBarthelmeh
f51375802b
add more comments and always print out error messages
2022-08-03 15:04:34 -07:00
JacobBarthelmeh
4d90993e16
stub UseDNS, add checking config UsePrivilegeSeparation, scan-build warning fixes
2022-07-29 23:08:19 -07:00
JacobBarthelmeh
c978b83c28
add check for PermitRootLogin config
2022-07-29 16:32:39 -07:00
Hayden Roche
e255679861
Add support for PasswordAuthentication config option.
2022-07-27 16:46:15 -07:00
Hayden Roche
48b627d70d
Refactor various wolfSSHD code.
...
- Move function declarations for WOLFSSHD_CONFIG from wolfsshd.h to a new
header, configuration.h. Change config.c to configuration.c. (using
"configuration" so as not to collide with autotools' config.h)
- Make the WOLFSSL_CONFIG* member of WOLFSSHD_AUTH const. At least at the
moment, it shouldn't be necessary for this member to be writable.
- Replace wolfSSHD_ConfigGetOption with functions to get specific members from
the config.
- Namespace all config functions with wolfSSHD_Config* and all auth functions
with wolfSSHD_Auth.
- Add const to function parameters, where possible.
- Remove wolfSSHD_ prefix from static functions. Just use PascalCase. These
don't need namespacing since they aren't visible outside their translation unit.
- Modify GetConfigInt to expect leading and trailing whitespace to have already
been removed. It will have been removed in the context this function is used in
configuration.c.
2022-07-27 15:21:11 -07:00
JacobBarthelmeh
8d1d2fb633
add support for grace login timer
2022-07-26 10:56:30 -07:00
Hayden Roche
374f675553
Add support for PEM host keys.
2022-07-26 09:27:07 -07:00
JacobBarthelmeh
85109e66cf
raise and lower permissions levels
2022-07-25 09:26:05 -07:00
JacobBarthelmeh
d16f642734
pass full string in as salt
2022-07-21 16:26:26 -07:00
JacobBarthelmeh
f8439af47e
add support to handle PermitEmptyPasswords config
2022-07-21 16:23:01 -07:00
JacobBarthelmeh
311738d057
add link to liblogin with QNX for crypt
2022-07-21 14:43:43 -07:00
JacobBarthelmeh
11c1a3998d
use function callbacks for auth
2022-07-21 13:31:22 -07:00
JacobBarthelmeh
7b8ce149d7
add look for libpam and adjust for QNX build
2022-07-21 13:31:22 -07:00
JacobBarthelmeh
2982ae88ee
define for crypt use, set fd for shell, tie in sftp
2022-07-21 13:31:22 -07:00
Hayden Roche
76a17c9765
sshd improvements, get password auth working
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