John Safranek
9ad1d1cb0c
Merge pull request #710 from JacobBarthelmeh/scp_example
...
add check for channel closed error
2024-06-17 15:56:29 -07:00
JacobBarthelmeh
0a0bf3f815
return WS_CHANNEL_CLOSED from wolfSSH_shutdown instead of WS_SUCCESS
2024-06-14 16:11:02 -06:00
JacobBarthelmeh
23a9333b2d
add check for channel closed error
2024-06-10 15:54:42 -06:00
John Safranek
524b5c6052
Merge pull request #702 from JacobBarthelmeh/scp_example
...
adjust scp error return checking for closed channels
2024-06-05 15:30:15 -07:00
John Safranek
3024d28270
Merge pull request #695 from JacobBarthelmeh/541
...
Server side auth pending support
2024-06-05 15:27:36 -07:00
David Garske
2e0f509e81
Merge pull request #709 from ejohnstown/rsa-verify-refactor
...
RSA Verify Refactor
2024-06-05 15:04:03 -07:00
John Safranek
12b0a43a66
RSA Verify Refactor
...
1. If the signature to verify is short, pad it to the key length with
leading zeros. Some implementations of SSH will prune leading zeros
from an mpint value as a string for the signature.
2. Change some of the GetSize() and play with pointers to using
GetStringRef() or GetMpint().
3. Added an RSA private key for testing with PuTTY client.
2024-06-05 14:36:04 -07:00
David Garske
b6ccb07de4
Merge pull request #703 from anhu/ipv6_part2
...
improvements for ipv6
2024-06-03 16:22:16 -07:00
David Garske
c330222975
Merge pull request #708 from ejohnstown/sign-h-rsa
...
Sign H Casting
2024-06-03 12:05:25 -07:00
David Garske
79ef513386
Merge pull request #705 from ejohnstown/rsa-raw
...
Using Decode Raw RSA Private Key
2024-06-03 12:05:16 -07:00
Anthony Hu
ec4909b21c
WOLFSSH_UNUSED
2024-06-03 14:56:51 -04:00
Anthony Hu
1697d603c0
Changes inspired by ejohnstown comments.
2024-06-03 14:40:52 -04:00
John Safranek
4281ee4b4e
Sign H Casting
...
1. Fix the typecasting when signing H with RSA.
2. Assign the sign return value to ret, then assign it to *sigSz if
successful.
3. Similar change for the encoded sign value.
2024-06-03 11:30:42 -07:00
John Safranek
a021c42074
Using Decode Raw RSA Private Key
...
1. If wc_RsaPrivateKeyDecodeRaw() is available, use it to load the
private key from GetOpenSshKeyRsa(). If unavailable, process the key
the original way.
2. Check for wolfSSL version and if greater than v5.7.0, the new
function is available.
3. When loading an OpenSSH format RSA key, if wolfSSL's RSA_LOW_MEM is
set, skip the u value, and do not calculate dP and dQ.
4. Rename RsaCalcInverses() to RsaCalcDX().
2024-06-03 10:46:04 -07:00
Takashi Kojo
4ab1d21e66
connection check on wolfSSH_SFTP_STAT
2024-06-03 09:09:39 +09:00
John Safranek
0e72885161
Merge pull request #704 from wolfSSL/scp-example
...
scpclient.c: correct call to wolfSSH_SetPublicKeyCheckCtx
2024-05-31 21:19:25 -07:00
Anthony Hu
499a742097
improvements for ipv6
2024-05-31 17:32:20 -04:00
Juliusz Sosinowicz
6de1230e6b
scpclient.c: correct call to wolfSSH_SetPublicKeyCheckCtx
2024-05-31 17:06:34 +02:00
JacobBarthelmeh
d09e00a22f
Merge pull request #698 from miyazakh/sha1_softdisable
...
Enable sha1 when WOLFSSH_NO_SHA1_SOFT_DISABLE is enabled
2024-05-30 11:42:52 -06:00
David Garske
914f984264
Merge pull request #700 from JacobBarthelmeh/scp
...
error out when trying to send non existent local files
2024-05-29 13:40:28 -07:00
JacobBarthelmeh
c3aaa6e570
adjust scp error return checking for closed channels
2024-05-29 13:44:58 -06:00
David Garske
11f0b22a0d
Merge pull request #701 from anhu/ipv6_fix
...
Fix compile error triggered by enabling TEST_IPV6
2024-05-28 09:43:21 -07:00
Anthony Hu
17a9ff4caa
Fix compile error triggered by enabling TEST_IPV6
2024-05-27 17:09:00 -04:00
JacobBarthelmeh
e483578904
Merge pull request #699 from gojimmypi/PR-Espressif-Example-Update
...
Update Espressif examples for Managed Component publish
2024-05-23 17:25:25 -06:00
JacobBarthelmeh
7d6fbcf770
add test case
2024-05-23 13:57:23 -06:00
JacobBarthelmeh
0e11a143fd
error out if unable to open the local file when doing a SCP send
2024-05-23 13:49:48 -06:00
gojimmypi
45a857b960
Update Espressif examples for Managed Component publish
2024-05-22 16:10:44 -07:00
Hideki Miyazaki
3c8939c55d
sha1 is only enabled when user intentionally enables NO_SHA1_SOFT_DISABLE
2024-05-22 11:19:19 +09:00
David Garske
702e0ee890
Merge pull request #696 from ejohnstown/update-test
...
OS Check Test
2024-05-20 09:01:37 -07:00
John Safranek
c004c15232
Update Test
...
1. Change kyber test to use the cache naming in the other test.
2. Remove moving wolfSSL to another directory. Clears a bunch of
warnings.
3. Build liboqs to install in the same directory as wolfSSL.
2024-05-17 16:32:50 -07:00
John Safranek
5478fda815
Merge pull request #694 from JacobBarthelmeh/544
...
Key completion callback
2024-05-17 16:18:47 -07:00
John Safranek
ed58ea0755
Update Test
...
1. Add a new test that checks both macOS and Ubuntu in one test, rather
than as two separate tests.
2. Remove the old ubuntu and macos tests.
2024-05-17 16:10:48 -07:00
JacobBarthelmeh
dc66602e12
add example auth pending
2024-05-17 16:11:30 -06:00
Fabio
02a4fad997
Asynchronous server side user authentication.
2024-05-17 15:34:23 -06:00
JacobBarthelmeh
9285a0a38b
account for WOLFSSH_NO_DH build
2024-05-17 15:18:24 -06:00
JacobBarthelmeh
fa8a8182a8
add sanity checks and adjust parameter name
2024-05-17 14:57:49 -06:00
JacobBarthelmeh
ebfd175bf1
add example and account for curve25519 / kyber1
2024-05-17 14:51:46 -06:00
Fabio Alemagna
b40dfaf498
Callback on keying completion, plus wolfSSH_GetText.
2024-05-17 14:03:53 -06:00
JacobBarthelmeh
5ef2bc5bbc
Merge pull request #693 from ejohnstown/guards-update
...
Guards Update: cannedKeyAlgoNames
2024-05-16 14:02:05 -06:00
John Safranek
a7bc5f95e9
Guards Update: cannedKeyAlgoNames
...
1. Update the guards around the strings used to make the
cannedKeyAlgoNames. If any algorithm is disabled, leave it out of the
list. (I'm looking at you Ed25519!)
2. Added comments to those guards.
3. Reflow the alignment.
2024-05-16 12:47:52 -07:00
David Garske
e12e725678
Merge pull request #692 from ejohnstown/kyber-fancy-action
...
Kyber Testing
2024-05-16 09:46:05 -07:00
John Safranek
8da722e0ec
Kyber Testing
...
1. Switch to using variables for the versions.
2. Updated cache use per recommondations.
3. Renamed the cached items with "kyber" in the name.
2024-05-16 09:21:34 -07:00
John Safranek
19e39d9491
Kyber Testing
...
1. Updated to use more standard actions.
2. Cache the outputs of the dependencies.
2024-05-15 18:52:27 -07:00
John Safranek
c053303caa
Kyber Testing
...
Add a workflow for a kyber test.
2024-05-15 16:44:07 -07:00
JacobBarthelmeh
5f3a72e5f7
Merge pull request #689 from ejohnstown/ed25519
...
Add Ed25519
2024-05-15 14:50:53 -06:00
JacobBarthelmeh
23dd6a80d1
Merge pull request #691 from ejohnstown/readdir-override
...
ReadDir Override
2024-05-15 14:27:55 -06:00
John Safranek
8178c42452
ReadDir Override
...
1. Whitespace. Reflow some comments.
2. Remove some redundant "TODO" comments.
2024-05-15 12:00:14 -07:00
Fabio Alemagna
edb4b4c49b
ReadDir Override
...
Make wolfSSH_SFTPNAME_readdir defining SFTP_Name_readdir. It has to be
defined as a macro, but it can be defined to expand to its own name if
also a function with the same name is defined.
What matters is that it takes 3 arguments:
1) the filesystem context as first argument;
2) WDIR* as second argument;
3) WS_SFTPNAME* as third argument
On successful execution, it returns WS_SUCCESS and the WS_SFTPNAME
structure pointed by the third argument will be filled with the
relevant info, otherwise a WS_* error code is returned.
2024-05-15 11:57:39 -07:00
David Garske
038fa323f1
Merge pull request #687 from lealem47/pack_updates
...
Updates to STM32Cube Pack
2024-05-15 09:03:46 -07:00
David Garske
a08c09dbab
Merge pull request #690 from ejohnstown/zephyr-memory-tweak
...
Zephyr Memory Tweak
2024-05-15 09:03:22 -07:00