[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 0/2] Apply kex fixes with unknown algos to v0-7


These patches are just cherry-picks already existing in master that fix
key exchange failures if users specify unknown algos (for instance via a
client configuration file).

Disabling algos unknown to libssh might be prohibited by policy. The
algos specified might well be valid for other SSH client implementations
like OpenSSH, but just not supported by libssh.

With these changes, unknown algos will just be ignored correctly.

*Please apply to v0-7.*

Andreas Schneider (1):
  priv: Add macro for MAX

Nikos Mavrogiannopoulos (1):
  ssh_options_set_algo: ensure we only set known algorithms internally

 include/libssh/kex.h  |  1 +
 include/libssh/priv.h |  4 +++
 src/kex.c             | 75 +++++++++++++++++++++++++++++++++++++++++++++++++++
 src/options.c         | 11 ++++----
 4 files changed, 85 insertions(+), 6 deletions(-)

-- 
2.15.1


Follow-Ups:
[PATCH 1/2] priv: Add macro for MAXMihai Moldovan <ionic@xxxxxxxx>
[PATCH 2/2] ssh_options_set_algo: ensure we only set known algorithms internallyMihai Moldovan <ionic@xxxxxxxx>
Archive administrator: postmaster@lists.cynapses.org