Page MenuHomeSolus

Update libssh2 to 1.9.0
ClosedPublic

Authored by kyrios123 on Sep 18 2019, 3:50 PM.
Tags
None
Referenced Files
F11070517: D7177.diff
Sat, Aug 12, 12:28 AM
F10982891: D7177.id.diff
Sun, Jul 23, 12:04 PM
F10980344: D7177.id17244.diff
Sun, Jul 23, 3:25 AM
F10878265: D7177.diff
Jun 21 2023, 6:24 AM
F10878216: D7177.id17230.diff
Jun 21 2023, 5:32 AM
F10875749: D7177.id17244.diff
Jun 20 2023, 7:17 AM
F10870266: D7177.diff
Jun 18 2023, 8:51 AM
F10806495: D7177.diff
May 30 2023, 1:22 AM
Subscribers

Details

Summary
  • adds ECDSA keys and host key support when using OpenSSL
  • adds OpenSSH style key file reading
  • adds PEM passphrase protected file support for Libgcrypt
  • adds SHA256 hostkey fingerprint
  • adds libssh2_agent_get_identity_path() and libssh2_agent_set_identity_path()
  • adds explicit zeroing of sensitive data in memory
  • adds additional bounds checks to network buffer reads
  • adds the ability to use the server default permissions when creating sftp directories
  • adds support for building with OpenSSL no engine flag
  • increased sftp packet size to 256k
  • fixed oversized packet handling in sftp
  • fixed a possible crash if sftp stat gets an unexpected response
  • fixed incorrect parsing of the KEX preference string value
  • fixed conditional RSA and AES-CTR support
  • fixed a small memory leak during the key exchange process
  • fixed a possible memory leak of the ssh banner string
  • fixed various small memory leaks in the backends
  • fixed possible out of bounds read when parsing public keys from the server
  • fixed possible out of bounds read when parsing invalid PEM files
  • no longer null terminates the scp remote exec command
  • now handle errors when diffie hellman key pair generation fails
  • Fixed the misapplied userauth patch that broke 1.8.1
  • moved the MAX size declarations from the public header

Signed-off-by: Pierre-Yves <pyu@riseup.net>

Test Plan

curl --verbose https://getsol.us:443

Diff Detail

Repository
R1862 libssh2
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

JoshStrobl edited the summary of this revision. (Show Details)
JoshStrobl added a subscriber: JoshStrobl.

LGTM, thanks!

This revision is now accepted and ready to land.Sep 19 2019, 7:43 AM
This revision was automatically updated to reflect the committed changes.