1. When making a longname, mask the permission file type bits and check
it being a link.
2. Mask the permission bits the same way for checking the item being a
directory.
1. Add curve25519-sha256@libssh.org back to the list of key exchange
algorithms.
2. Treat curve25519-sha256@libssh.org as an alias for curve25519-sha256.
3. Remove the reference to ID_ECDH_SHA2_ED25519 from the list of algo
IDs. It isn't actually a thing.
FATFS compiling is currently broken due to several reasons. This fixes:
* Bad parameter count for `WRENAME`
* Missing `WFFLUSH` define
* `WOLFSSH_STOREHANDLE` required for `WOLFSSH_FATFS` to work
* Conflict when `NO_FILESYSTEM` is defined for wolfSSL and
`WOLFSSH_FATFS` is defined by wolfSSH
* Function called that can't be used with `WOLFSSH_FATFS`
* Functions defined but not used with `WOLFSSH_FATFS`
* Function parameters defined but not used
SCP on the server side would get an EAGAIN around the 128KB mark, which
would trigger an error. That error in-turn would cause two attempts to
close the file, which would segfault.
Also fix inverted error return status on scpclient.
This adds the `diffie-hellman-group16-sha512` key exchange and
`hmac-sha2-512` mac support.
Echoserver can now take `-x` for key exchange and `-m` for mac setting,
and `-c` for cipher so that this can be used in the test suite.
This implements Keyboard-Interactive authentication.
Adds an additional callback set by `wolfSSH_KeyboarAuthPrompts()` which
will set a callback in the server to ask the application to provide the
prompt details for the client.
Several of the TTY mode bits we are checking and setting aren't a part
of POSIX, but are available on Linux. Adds guards to the non-POSIX
value checks and updates.
1. Initialize a local variable DoKexInit() as a compiler complains it is
getting used with a garbage value. (Not true, but hushing the
compiler.)
2. In GetInputText() add braces around the error check if clauses, and
give the version error its own check instead of a ternary return.
3. In GetInputData(), if the recv return was anything else, return a
general socket error.
1. Switching to use the new SSH-KDF function in wolfCrypt when the
correct version of wolfSSL (v5.0.0 at a minimum) is used, when
certified version of wolfCrypt is used or Kyber is disabled.
2. Add WOLFSSL_WOLFSSH to the wolfSSL user_settings files for the Zephyr
testing.