aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2016-02-23Bump version to 0.7.3libssh-0.7.3Andreas Schneider2-3/+3
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2016-02-23Update ChangeLogAndreas Schneider1-0/+5
2016-02-23dh: Fix CVE-2016-0739Aris Adamantiadis1-5/+17
Due to a byte/bit confusion, the DH secret was too short. This file was completely reworked and will be commited in a future version. Signed-off-by: Aris Adamantiadis <aris@0xbadc0de.be> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2016-02-23options: Fix documentation typoHani Benhabiles1-1/+1
Signed-off-by: Hani Benhabiles <hani@linux.com> Reviewed-by: Andreas Schneider <asn@samba.org> (cherry picked from commit f8bde7156ff22f4ef08582ed877190380657010d)
2016-02-23pki: Fixed documentation about return value.Younes Serraj1-1/+1
Documentation now is congruent with the code: - SSH_OK is returned on success, - SSH_ERROR is returned on error. Signed-off-by: Younes Serraj <younes.serraj@gmail.com> Reviewed-by: Andreas Schneider <asn@samba.org> (cherry picked from commit 66c6ae1a55b83cac8581be1d1a8906a62e327a34)
2015-12-30cmake: use check_symbol for (v)snprintfpouete1-2/+3
Updated how snprintf and vsnprintf are discovered by cmake. Visual studio 2015 now include it in the file stdio.h. More information here : https://msdn.microsoft.com/en-us/library/bb531344.aspx Reviewed-By: Aris Adamantiadis <aris@0xbadc0de.be>
2015-12-24CMake: include CheckIncludeFiles for calls to check_include_files.Sebastián Peyrott1-0/+1
2015-12-17Fix a bunch of -Wmaybe-uninitializedFabiano Fidêncio4-6/+6
Reviewed-By: Aris Adamantiadis <aris@0xbadc0de.be>
2015-11-10headers: fix missing mode_t (2nd)Dirk Neukirchen1-0/+1
Reviewed-By: Aris Adamantiadis <aris@0xbadc0de.be>
2015-11-10Revert "headers: fix missing mode_t"Aris Adamantiadis1-10/+0
I commited a patch file *headdesk* This reverts commit 378fcccc0ac914254151f69cebb47e9b2c06bd31.
2015-11-10headers: fix missing mode_tDirk Neukirchen1-0/+10
Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de> Reviewed-by: Aris Adamantiadis <aris@0xbadc0de.be>
2015-10-28Ignore all build and obj* directoriesAndreas Schneider2-3/+3
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2015-10-20agent: Fix agent auth on big endian machinesAndreas Schneider3-4/+24
BUG: https://red.libssh.org/issues/204 Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2015-09-21crypto: fix potential memory leak in ECDHAris Adamantiadis1-0/+4
2015-09-16kex: Fix zlib compressionlibssh-0.7.2Andreas Schneider1-0/+1
Signed-off-by: Andreas Schneider <asn@cryptomilk.org> (cherry picked from commit 747e7d05db4ef4b9c2204c58dfb0125eb5394ba3)
2015-09-15Bump version to 0.7.2Andreas Schneider3-2/+10
2015-09-15cmake: Use tar.xz source package generatorAndreas Schneider1-1/+1
Signed-off-by: Andreas Schneider <asn@cryptomilk.org> (cherry picked from commit 1f3a9105ffecb93123eed7a86bc74ac44faa6852)
2015-09-15kex: Prefer sha2 over sha1Andreas Schneider1-5/+4
Signed-off-by: Andreas Schneider <asn@cryptomilk.org> (cherry picked from commit b0f22fde62c6db09493299830c650cbeee28cb0c)
2015-09-08cmake: Handle libssh threas library correctlyAndreas Schneider5-10/+32
This should fix the build on Windows and would not install pkg files. Signed-off-by: Andreas Schneider <asn@cryptomilk.org> (cherry picked from commit 5b586fdfecbe12f3f8e69099d809ca96c7cb978e)
2015-09-08bignum: Fix OpenSSL crash in SAFE_FREEMichael Wilder1-0/+4
Signed-off-by: Michael Wilder <wilder.michael@cimcor.com> Reviewed-by: Andreas Schneider <asn@samba.org> (cherry picked from commit 2f193b5cbb0c57160d3c590140bc04befccfbb32)
2015-08-18server: Fix return code check of ssh_buffer_pack()Andreas Schneider1-1/+1
Thanks to Andreas Gutschick <andreas.gutschick@mitel.com> Signed-off-by: Andreas Schneider <asn@cryptomilk.org> (cherry picked from commit 36d9b62f1fa5493a54a1e776422b032f66bc0936)
2015-08-18doc: Fix typos in sftp tutorialAndreas Schneider1-2/+2
Thanks to Anthony Baker <AnthonyBaker@fico.com> Signed-off-by: Andreas Schneider <asn@cryptomilk.org> (cherry picked from commit da4bebbe1e0384baec004641618bd981f50894ff)
2015-08-10tests: Add checks for ssh_key_is_private()Andreas Schneider1-0/+30
Signed-off-by: Andreas Schneider <asn@cryptomilk.org> (cherry picked from commit d54a1ab7981644b8d6f8e1ea58e5ba997f0b0cd6)
2015-08-10pki: Fix return values of ssh_key_is_(public|private)Andreas Schneider1-2/+2
Thanks to Kevin Haake <khaake@red-cocoa.com> Signed-off-by: Andreas Schneider <asn@cryptomilk.org> (cherry picked from commit e1081796aff82812d877a43e240c779408a36171)
2015-08-01sftp: Fix incorrect handling of received length fieldsTilo Eckert1-7/+13
Signed-off-by: Tilo Eckert <tilo.eckert@flam.de>
2015-07-30auth: Fix return status for ssh_userauth_agent()Peter Volpe1-0/+5
BUG: https://red.libssh.org/issues/201 Return SSH_AUTH_DENIED instead of SSH_AUTH_ERROR when the provided agent offers no public keys. Signed-off-by: Peter Volpe <pvolpe@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org> (cherry picked from commit dc9c4d22ab25771cae66dc0f3f1662bfa4376cab)
2015-07-03cmake: Fix zlib include directoryAndreas Schneider3-7/+7
Signed-off-by: Andreas Schneider <asn@cryptomilk.org> (cherry picked from commit 728c2fbd017451a868ed9471c9d001f6d4ffff96)
2015-07-03cmake: Fix OpenSSL detection in non-standard pathAndreas Schneider1-6/+6
This should fix the detection on Windows. Signed-off-by: Andreas Schneider <asn@cryptomilk.org> (cherry picked from commit 613b71b3851697f8e83ab83bb1c785b644a648a4)
2015-07-03cmake: Fail if can't find OpenSSL aes and des headersAndreas Schneider1-17/+25
Signed-off-by: Andreas Schneider <asn@cryptomilk.org> (cherry picked from commit 70cc11618a71abec9b8ac79aab614ec09b21e8e4)
2015-06-30include: Add stdarg.h so we can check for va_copy macroAndreas Schneider1-0/+1
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2015-06-30Bump version to 0.7.1libssh-0.7.1Andreas Schneider3-2/+9
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2015-06-29SSH_AUTH_PARTIAL is now correctly passed to the caller of ↵Tilo Eckert1-8/+7
ssh_userauth_publickey_auto(). Implicitly fixed unsafe return code handling that could result in use-after-free. Signed-off-by: Tilo Eckert <tilo.eckert@flam.de> Reviewed-by: Andreas Schneider <asn@cryptomilk.org> (cherry picked from commit 0423057424ce5af157e56defb129ad0607953985)
2015-06-29available auth_methods must be reset on partial authenticationTilo Eckert1-1/+1
Signed-off-by: Tilo Eckert <tilo.eckert@flam.de> Reviewed-by: Andreas Schneider <asn@cryptomilk.org> (cherry picked from commit cc25d747d45f139729f1728cc5dcbd1666709a4f)
2015-06-29channels: Fix exit-signal data unpackingPeter Volpe1-1/+1
Signed-off-by: Peter Volpe <pvolpe@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org> (cherry picked from commit 763735106564a3bff1ba9a3fece0dca58eec403f)
2015-06-29agent: Add ssh_set_agent_socketPeter Volpe2-3/+21
Allow callers to specify their own socket for an ssh agent. Signed-off-by: Peter Volpe <pvolpe@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org> (cherry picked from commit 7aeba71a92d5a2dcb606e94f95516b975242586c)
2015-06-24Don't allocate a new identity list in the new session's options.Seb Boving1-6/+0
The previous list is not freed. Since the new session just got created, an identity list is already allocated and empty. Signed-off-by: Sebastien Boving <seb@google.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org> (cherry picked from commit e020dd8d5917c3c957b73211cecc618d9f0207cb)
2015-06-24cmake: Do not use CMAKE_(SOURCE|BINARY)_DIRDouglas Heriot5-7/+7
(cherry picked from commit a65af1b3b8a4ea50fd687b6583eac93e38cf4f3b)
2015-06-24pki: Fix allocation of ed25519 public keysTiamo Laitakari1-2/+2
Signed-off-by: Tiamo Laitakari <tiamo.laitakari@cs.helsinki.fi> Reviewed-by: Andreas Schneider <asn@cryptomilk.org> (cherry picked from commit 5478de1a64251c3f7e19260e599045061136f2e9)
2015-06-24Documentation fix where unsigned is used where signed is expectedJordy Moos2-3/+3
Signed-off-by: Jordy Moos <jordymoos@gmail.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org> (cherry picked from commit fa9fbb1d670e1ee99ba8c5255c2d80ac699496e4)
2015-06-24misc: Correctly guard the sys/time.h includeAndreas Schneider2-3/+8
Signed-off-by: Andreas Schneider <asn@cryptomilk.org> (cherry picked from commit ef751a26d0cb746966aaee64cfb5d1a87efba535)
2015-06-24include: Add support for older MSVC versionsAndreas Schneider1-0/+4
Signed-off-by: Andreas Schneider <asn@cryptomilk.org> (cherry picked from commit 30a7229fc5f147c9f39abfa9272546773f58678c)
2015-06-24kex: Add comments to #if clausesAndreas Schneider1-6/+10
Signed-off-by: Andreas Schneider <asn@cryptomilk.org> (cherry picked from commit 1d69e073af6a460eb00cc68869cde9caf7031856)
2015-06-03channels: fix exit-status not correctly setAris Adamantiadis1-5/+3
2015-05-29Comment that ssh_forward_cancel() is deprecated.Mike DePaulo1-0/+1
Signed-off-by: Aris Adamantiadis <aris@badcode.be>
2015-05-29Reintroduce ssh_forward_listen() (Fixes: #194)Mike DePaulo1-0/+5
Signed-off-by: Aris Adamantiadis <aris@badcode.be>
2015-05-11ChangeLog: Set release date for 0.7.0libssh-0.7.0Andreas Schneider1-1/+1
2015-05-08cpack: Use application version.Andreas Schneider1-3/+3
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2015-05-06Bump version to 0.7.0Andreas Schneider2-2/+2
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2015-05-06Update ChangeLogAndreas Schneider1-1/+63
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2015-05-06valgrind: Add suppression for openssl FIPS dlopen leakAndreas Schneider1-0/+12
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>