wolfSSL / wolfssh

wolfSSH is a small, fast, portable SSH implementation, including support for SCP and SFTP.
https://www.wolfssl.com
367 stars 88 forks source link

Guards Update: cannedKeyAlgoNames #693

Closed ejohnstown closed 3 months ago

ejohnstown commented 3 months ago

Description

  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.

Testing

Build wolfSSL

./configure --enable-wolfssh --enable-cryptonly && make clean && make
sudo make install

Build and test wolfSSH

./configure --enable-debug && make clean && make
./examples/client/client -u $USER -p 22

For the failure case, this client connection attempt should indicate a -1051 error occurred.