John Safranek
bbd3d76291
Add some option disables to the api test and the echoserver.
2021-02-02 11:45:21 -08:00
John Safranek
717ea6a050
Separate the ECC disable into ECDSA and ECDHE disables.
2021-02-02 10:58:04 -08:00
John Safranek
92fcd081c9
More Options
...
1. When setting the disable options, unset them first. Avoids duplicate definition warnings.
2. Regrouped some of the bulk disable options.
3. Detect when a complete set of an algorithm is disabled, and set the
bulk disable option for it.
2021-02-02 10:58:04 -08:00
John Safranek
b7f073faa3
More Options
...
1. Added general disable flags for RSA and ECDSA.
2. Replaced HAVE_ECC, NO_RSA, NO_DSA with the general disable flags.
2021-02-02 10:58:03 -08:00
John Safranek
ae0c5efb2f
Merge pull request #300 from dgarske/str_funcs
...
Use the internal version of `strdup `
2021-02-02 09:29:05 -08:00
JacobBarthelmeh
20bf416afd
Merge pull request #317 from guidovranken/zd11621
...
In ReceiveScpConfirmation reserve room for NULL-terminator.
2021-02-02 23:15:06 +07:00
Guido Vranken
2e6c670769
In ReceiveScpConfirmation reserve room for NULL-terminator.
...
ZD 11621
2021-02-02 13:24:07 +01:00
David Garske
f2498d869a
Use the internal version of `strdup`. For portability this is better. Keil libc doesn't have it. ZD 11320
2021-02-01 16:44:54 -08:00
John Safranek
3647697d46
Merge pull request #287 from JacobBarthelmeh/testing
...
close local file on error case
2021-02-01 16:41:45 -08:00
John Safranek
2c958b3e39
Merge pull request #316 from JacobBarthelmeh/fuzz
...
check ret of HighWaterCheck and adjust when to increase buffer amount
2021-02-01 13:55:43 -08:00
Jacob Barthelmeh
68e678c59c
check ret of HighWaterCheck and adjust when to increase buffer amount
2021-01-30 03:18:35 +07:00
John Safranek
6aba44e6dc
Merge pull request #315 from JacobBarthelmeh/sftp
...
adjust length for code standard
2021-01-28 09:25:11 -08:00
Jacob Barthelmeh
48aababf8b
fix for fall through use
2021-01-28 02:29:50 +07:00
Jacob Barthelmeh
982f3a7500
adjust length for code standard
2021-01-28 02:02:49 +07:00
John Safranek
322d7cd6f7
Merge pull request #314 from JacobBarthelmeh/static_analysis
...
sanity null check on localTime
2021-01-27 08:39:21 -08:00
John Safranek
37d1b5b4e9
Merge pull request #313 from JacobBarthelmeh/memory
...
potential memory leak cleanup
2021-01-27 08:37:01 -08:00
Jacob Barthelmeh
714a4f6ac6
sanity null check on localTime
2021-01-27 22:06:43 +07:00
JacobBarthelmeh
58d0b54ed8
potential memory leak cleanup
2021-01-27 21:42:37 +07:00
JacobBarthelmeh
49bac53e2f
Merge pull request #306 from guidovranken/oss-fuzz-26413
...
Call ParseBasePathHelper only after scpBasePath has been set
2021-01-27 19:02:29 +07:00
JacobBarthelmeh
3711e6a7ab
Merge pull request #312 from ejohnstown/fuzz
...
Fuzz
2021-01-27 18:48:46 +07:00
John Safranek
c7a392d351
if a handshake info has a stored kex init message already before trying to store a kex init message, free it
2021-01-26 17:36:15 -08:00
John Safranek
3653afac34
check that the generator and primeGroup are set before trying to flatten them into output
2021-01-26 16:59:42 -08:00
JacobBarthelmeh
e097c234fc
Merge pull request #304 from guidovranken/oss-fuzz-27298
...
Use WSTRNCMP for comparing session command string
2021-01-27 03:30:51 +07:00
JacobBarthelmeh
d7bffed780
Merge pull request #307 from guidovranken/fix-wsScpSendCallback-comments
...
Correct references to return values in comments around wsScpSendCallback
2021-01-27 03:25:43 +07:00
JacobBarthelmeh
34cfc52961
Merge pull request #305 from guidovranken/oss-fuzz-27436
...
Fix memmove length calculation in wolfSSH_CleanPath
2021-01-27 02:50:25 +07:00
David Garske
43d653867f
Merge pull request #303 from guidovranken/27666
...
Use overflow-safe bounds checking in DoKexDhReply
2021-01-13 07:13:29 -08:00
Guido Vranken
6452ea1366
Correct references to return values in comments around wsScpSendCallback
2021-01-08 23:30:22 +01:00
Guido Vranken
cd9ef04815
Call ParseBasePathHelper only after scpBasePath has been set
2021-01-08 11:31:48 +01:00
Guido Vranken
ec2ecb8a82
Fix memmove length calculation in SFTP client example
2021-01-08 11:07:15 +01:00
Guido Vranken
ace2546ce2
Fix memmove length calculation in wolfSSH_CleanPath
2021-01-08 10:34:22 +01:00
Guido Vranken
568eab27d5
Use WSTRNCMP for comparing session command string
2021-01-08 10:05:34 +01:00
Guido Vranken
0484497905
Use overflow-safe bounds checking in DoKexDhReply
...
Resolves OSS-Fuzz issue 27666 (see ZD 11429)
2021-01-03 01:12:28 +01:00
Chris Conlon
707312065b
Merge pull request #294 from kojo1/mqx
...
add ide/MQX
2020-12-29 13:56:39 -07:00
JacobBarthelmeh
0d08f069bf
Merge pull request #301 from ejohnstown/hide-sha
...
Hide SHA from Echoserver
2020-12-11 02:33:31 +07:00
John Safranek
31912462a0
Hide SHA from Echoserver
...
1. Remove calls to wc_Sha256 Init, Update, and Final and remove the
instances of the wc_Sha256 structure.
2. Remove the c32toa function, it isn't used at this point.
3. Add calls to wc_Sha256Hash().
This removes the Sha256 structure off the stack and replaces it with the
direct call to the single-shot hash routine. Flattening the size of the
hashed data and hashing it in was removed as redundant.
2020-12-10 08:42:37 -08:00
John Safranek
ee139f8e0d
Merge pull request #291 from JacobBarthelmeh/sftp
...
add special case for real path and refactor clean_path
2020-11-09 09:02:03 -08:00
Jacob Barthelmeh
7acf574001
add test case for updated realpath
2020-11-09 22:54:38 +07:00
JacobBarthelmeh
86fdc40a58
Merge pull request #297 from ejohnstown/agent-null
...
Null Agent
2020-10-29 11:42:22 +08:00
John Safranek
7900d47036
Check that the agent was set in the SSH session before trying to set its channel ID. (ZD 11099)
2020-10-28 15:50:10 -07:00
John Safranek
1cd6d4c29c
Merge pull request #295 from douzzer/ZD11139-SendKexDhReply-clear-sigKeyBlock
...
in SendKexDhReply(), clear sigKeyBlock before use (fixes ZD11139).
2020-10-27 16:13:56 -07:00
Daniel Pouzzner
d80f141569
in SendKexDhReply(), clear sigKeyBlock before use (fixes ZD11139).
2020-10-27 16:58:16 -05:00
JacobBarthelmeh
36bbb9f9ec
Merge pull request #296 from ejohnstown/skip-bad-guess
...
KEX Packet Follows Fix
2020-10-27 13:02:19 -06:00
John Safranek
79d2ff2760
KEX Packet Follows Fix
...
1. When filtering out the unknown names from name lists, the one that
will be the client's guess KEX type can get removed if unknown. Let
the first item in the client's list be added if unknown.
2020-10-27 09:38:02 -07:00
Takashi Kojo
94bf4a83c8
add ide/MQX/include.am, README, Makefile
2020-10-22 06:55:01 +09:00
Jacob Barthelmeh
209d5f5c16
fix heap hint and type
2020-10-16 10:57:27 -06:00
Jacob Barthelmeh
e693e159a0
fix variable type
2020-10-15 15:29:57 -06:00
JacobBarthelmeh
dec94e79af
Merge pull request #293 from ejohnstown/more-options
...
More Options
2020-10-15 15:19:33 -06:00
John Safranek
22c67b26ce
More Options
...
1. Moved the options checking to internal.h so other sources can use it.
2. Added some additional option checks and groups.
3. Added some guard checksto the key exchange.
2020-10-15 13:51:10 -07:00
John Safranek
28f5d750c9
More Options
...
1. Fix the key offerings in the echoserver and client with ifdef guards.
2. Fix a couple guards that weren't copy-pasted correctly.
2020-10-15 08:48:02 -07:00
John Safranek
b9ccb6f4fb
Fix a couple dead stores.
2020-10-14 16:44:50 -07:00