diff options
author | Jon Simons <jon@jonsimons.org> | 2019-02-04 18:21:21 -0500 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2019-02-07 13:54:22 +0100 |
commit | 5d279a7ad7fc69c339ca89caf334b479ba787f70 (patch) | |
tree | 829511ff49f1434ed9f593a31c2d394f42895985 /src/ABI | |
parent | c2077ab7752c9d1fa149d7b5337d9e4aaeb96188 (diff) | |
download | libssh-5d279a7ad7fc69c339ca89caf334b479ba787f70.tar.gz libssh-5d279a7ad7fc69c339ca89caf334b479ba787f70.tar.xz libssh-5d279a7ad7fc69c339ca89caf334b479ba787f70.zip |
kex: honor client preference for rsa-sha2-{256,512} host key algorithms
Ensure to honor the client preference ordering when enabling one of
the RFC8332 RSA signature extensions (`rsa-sha2-{256,512}`).
Before this change, libssh unconditionally selects the `rsa-sha2-512`
algorithm for clients which may have offered "rsa-sha2-256,rsa-sha2-512".
The change can be observed before-and-after with the pkd tests:
./pkd_hello -t torture_pkd_openssh_rsa_rsa_sha2_256_512
Signed-off-by: Jon Simons <jon@jonsimons.org>
Reviewed-by: Jakub Jelen <jjelen@redhat.com>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'src/ABI')
0 files changed, 0 insertions, 0 deletions