Commit Graph

998 Commits (14f9c4e63fbded8f1e42137491801c949333ed37)

Author SHA1 Message Date
Takashi Kojo 14f9c4e63f add echoserver project for EWARM 2021-04-27 09:15:51 +09:00
Takashi Kojo 8dae886735 dummy filesystem under ide/IAR-EWARM/Projects for USER_FILESYSTEM 2021-04-23 12:21:56 +09:00
Takashi Kojo 329e45f03c WOLFSSH_USER_FILESYSTEM, fix WOLFSSL_USER_IO conflict 2021-04-23 12:21:56 +09:00
Takashi Kojo c2d27664f8 fix a leak 2021-04-23 12:20:04 +09:00
John Safranek e90c033c45
Merge pull request #329 from JacobBarthelmeh/testing
fixes for build with NO_WOLFSSH_CLIENT macro and --enable-all
2021-04-20 17:36:40 -07:00
JacobBarthelmeh c75216118f
Merge pull request #330 from danielinux/fix_no_dh
Fix configuration WOLFSSH_NO_DH
2021-03-26 21:49:57 +07:00
Daniele Lacamera 866a582e09 removed unused variable in the WOLFSSH_NO_DH configuration 2021-03-26 15:44:22 +01:00
Daniele Lacamera 0b73cc7472 Fix configuration WOLFSSH_NO_DH 2021-03-26 15:26:02 +01:00
Jacob Barthelmeh a0e19049f4 fixes for build with NO_WOLFSSH_CLIENT macro and --enable-all 2021-03-26 17:24:39 +07:00
JacobBarthelmeh a77bc90b75
Merge pull request #324 from danielinux/nosyscall-fixes
SCP: improvements to run on embedded RTOS
2021-03-26 16:37:13 +07:00
JacobBarthelmeh 12b6a0e6d8
Merge pull request #327 from danielinux/wolfssh_small_stack
Added option for --enable-small-stack
2021-03-23 21:48:45 +07:00
Daniele Lacamera fa0102eb89 Fixed permissions for private key 2021-03-22 17:48:26 +01:00
Daniele Lacamera f128bea779 Fixes after reviewer's comments 2021-03-22 17:40:12 +01:00
Daniele Lacamera 801ac2d656 Fixed scope of stack variables (found via asan) 2021-03-17 08:49:51 +01:00
Daniele Lacamera a36d91bc93 Fixes after reviewer's comments. 2021-03-16 09:48:36 +01:00
John Safranek 3b61ea2ab8
Merge pull request #325 from JacobBarthelmeh/sftp
fix for handling rekey
2021-03-11 08:21:10 -08:00
Daniele Lacamera 1d15b570b7 Renamed configure option to --enable-smallstack 2021-03-09 10:14:22 +01:00
Daniele Lacamera fa3919f28a Use constant expressions for array initialization 2021-03-09 10:10:19 +01:00
Daniele Lacamera cb2e988254 Fixed mixing declaration and code 2021-03-09 10:04:37 +01:00
Daniele Lacamera 40e12fd14d Added option for --enable-small-stack 2021-03-08 18:00:04 +01:00
Jacob Barthelmeh 6952d38246 client side needs to send Kex Dh on rekey 2021-03-03 18:21:09 +07:00
JacobBarthelmeh 35b8a50709
Merge pull request #326 from ejohnstown/sftp-sz
SFTP Size
2021-02-26 21:43:54 +07:00
John Safranek c93a7418cf
SFTP
For SFTP messages, check both minimum bound and maximum bound of the length value.
2021-02-23 11:42:11 -08:00
Daniele Lacamera 5169432e39 Removed options for NO_SCP_TIMESTAMP, NO_SCP_ENTER_DIRECTORY 2021-02-19 15:02:26 +01:00
Jacob Barthelmeh 4828cef216 fix for handling rekey 2021-02-19 01:27:24 +07:00
JacobBarthelmeh 4837dc03f6
Merge pull request #323 from ejohnstown/fuzz
Fuzz Fixes
2021-02-17 23:14:57 +07:00
Daniele Lacamera b95d43fd1c Reverted strtol to atoi 2021-02-17 07:19:46 +01:00
Daniele Lacamera 52a1e13470 Fixed compiler warnings, pre-commit tests 2021-02-16 13:20:19 +01:00
Daniele Lacamera 882e662bbf Exclude wolfSCP_connect from server-only build 2021-02-16 13:15:52 +01:00
Daniele Lacamera d7cd61d926 wolfSCP: allow overriding GETHDR, disable functions that call snprinf
according to compile options
2021-02-16 13:03:16 +01:00
Daniele Lacamera 4e76f3dd72 Set initial value to NULL for two variables 2021-02-16 13:02:45 +01:00
Daniele Lacamera 5a4f31fb60 When WOLFSSH_USER_IO is defined, don't declare default syscalls 2021-02-16 13:01:29 +01:00
Daniele Lacamera b68f98ae70 Removed function definitions when DEBUG is disabled 2021-02-16 12:59:52 +01:00
John Safranek 49084a93f1
Fuzz Fixes
1. When processing public key user auth, use GetSize() instead of GetUint32(). (ZD 11654 and 11655)
2. When processing public key user auth, initialize the key earlier.
2021-02-09 16:24:34 -08:00
JacobBarthelmeh c3aa7ec540
Merge pull request #320 from ejohnstown/get-size
Get Size
2021-02-05 01:10:33 +07:00
John Safranek 4a518018e0
Get Size
1. Revise the bounds check in GetString() to match the old bounds checks.
2. Replace the last few instances of getting the length of a SSH string and checking it by hand with calls to GetString().
2021-02-04 09:45:56 -08:00
JacobBarthelmeh 3326c4bd0d
Merge pull request #321 from ejohnstown/nobreak
Rename the FALL_THROUGH macro as NO_BREAK as a better descriptor.
2021-02-04 01:49:14 +07:00
John Safranek 0d841d2fa0
Merge pull request #322 from JacobBarthelmeh/release
prepare for release 1.4.6
2021-02-03 09:06:46 -08:00
Jacob Barthelmeh 5327a7f761 prepare for release 1.4.6 2021-02-03 22:43:46 +07:00
Jacob Barthelmeh 997bd8a0d0 fix for windows sftp build 2021-02-03 22:26:58 +07:00
JacobBarthelmeh 8a00381e0c
Merge pull request #319 from ejohnstown/agent
Agent Updates
2021-02-03 21:27:18 +07:00
John Safranek c9bced2a2b
Rename the FALL_THROUGH macro as NO_BREAK as a better descriptor. 2021-02-02 14:38:55 -08:00
John Safranek 5285132db9
Get Size
1. Add a function GetSize() that calls GetUint32() then checks that the
   value read in plus the data index is still less than the data length.
2. Replaced a few checks of the size of some data with calls to
   GetSize(). Included are public key type length, public key length,
   and the signature length in DoUserAuthPublicKey().
2021-02-02 14:19:19 -08:00
John Safranek 351bc7585e
SSH-AGENT
1. For the client agent command line option, add the flag to the flag string.
2. Update PostSignRequest() to support all flavors of ECDSA and to
   switch out code for missing algorithms.
3. Hide function SendRequestIdentities().
2021-02-02 14:13:48 -08:00
John Safranek 2b2a30ca54
SSH-AGENT Update
1. Remove redundant include from agent.h.
2. Add global disable flags for SSH-RSA using SHA2-256 and SHA2-512.
   These are possible signatures indications when using the ssh-agent.
2021-02-02 14:09:59 -08:00
John Safranek c26f72cf98
Maintenance
1. If the public key user authentication fails, don't retry it.
2. Add some more specific logging about the type of a signature getting generated.
2021-02-02 14:03:32 -08:00
John Safranek 88e7919fbf
SSH-AGENT
Add command line option to the client to allow use of the agent.
2021-02-02 14:01:39 -08:00
JacobBarthelmeh b81f577b6c
Merge pull request #318 from ejohnstown/release-cleanup
Release Cleanup
2021-02-03 04:40:45 +07:00
John Safranek 7ecff575c9
Remove redundant 'FALL_THROUGH' from a switch-case. 2021-02-02 13:35:44 -08:00
JacobBarthelmeh 52c60faa8c
Merge pull request #298 from ejohnstown/options
More Options
2021-02-03 04:13:34 +07:00