Commit Graph

  • 2e8d9217b4 Fix _LIBSSH2_CRYPT_METHOD for libgcrypt support. Simon Josefsson 2007-01-18 11:21:12 +00:00
  • d3c334c3d6 Implement new _libssh2_cipher_* API. Simon Josefsson 2007-01-18 11:20:17 +00:00
  • e1bebf979b Support DSA verifications. Simon Josefsson 2007-01-18 07:51:41 +00:00
  • 50d587e2bc Check return value. Fix SHA1_Final. Simon Josefsson 2007-01-18 07:47:54 +00:00
  • e0fe196e45 Add. Simon Josefsson 2007-01-17 20:22:12 +00:00
  • dc994f64a9 Add more files. Simon Josefsson 2007-01-17 20:21:47 +00:00
  • 46cd4f42d8 Add more files. Simon Josefsson 2007-01-17 20:20:49 +00:00
  • 19690441cd Fix 3DES check. Simon Josefsson 2007-01-17 15:09:04 +00:00
  • dc7cdb8cb0 Use libssh2_sha1 instead of SHA1. Simon Josefsson 2007-01-17 15:07:54 +00:00
  • be4461e4cd Fix last commit. Simon Josefsson 2007-01-17 15:06:53 +00:00
  • 23d772867e Use libssh2_* wrappers for SHA-1. Simon Josefsson 2007-01-17 15:05:57 +00:00
  • c090ac7ed1 Use LIBSSH2_* instead of OPENSSL_NO_* (should ultimately be possible to chose by ./configure?). Simon Josefsson 2007-01-17 15:01:29 +00:00
  • 6873ada0b7 Use LIBSSH2_* instead of OPENSSL_NO_* (should ultimately be possible to chose by ./configure?). Simon Josefsson 2007-01-17 14:41:06 +00:00
  • 5c904b112e Unconditionally use SHA-1. Simon Josefsson 2007-01-17 14:35:40 +00:00
  • b4d7a4eede Add. Simon Josefsson 2007-01-16 15:51:31 +00:00
  • 22225099bc Add. Simon Josefsson 2007-01-16 15:36:43 +00:00
  • 2d8ee8b37c Begin to abstract RSA operations. Simon Josefsson 2007-01-16 15:33:09 +00:00
  • 219fa19a5f Also build openssl.c or libgcrypt.c. Simon Josefsson 2007-01-16 15:32:17 +00:00
  • 5443c76c8e Define an automake conditional iff libgcrypt is used. Simon Josefsson 2007-01-16 15:13:50 +00:00
  • 79761a6455 Use generic APIs for (HMAC-)MD5/SHA1 and RNG, and implement them via OpenSSL/libgcrypt. Simon Josefsson 2007-01-15 21:12:00 +00:00
  • 362d3466cf Add, for libgcrypt. Simon Josefsson 2007-01-15 18:16:27 +00:00
  • 6d65428511 Look for libgcrypt if --with-libgcrypt is given to ./configure. Note that until the libgcrypt work is complete, libssh2 also link to OpenSSL. Simon Josefsson 2007-01-15 18:16:07 +00:00
  • 677005375b Remove unfinished OPENSSL_NO_SHA ifdef stuff, since SHA-1 is required for libssh2 to work. Simon Josefsson 2007-01-10 17:29:46 +00:00
  • 8a2421bad1 Add basic self test. Simon Josefsson 2007-01-09 09:49:15 +00:00
  • 5cd3efc297 --copy added to automake --add-missing to avoid symlinks in bootstrapped CVS snapshot tarballs Mikhail Gusarov 2007-01-03 09:56:31 +00:00
  • f527a88095 Minus sign escaped to not be treated as emdash in man pages. Mikhail Gusarov 2007-01-02 05:47:00 +00:00
  • fd2368d2b1 fix compiler warnings (and some indent changes) Daniel Stenberg 2006-12-21 14:21:38 +00:00
  • 036bb51421 fix compiler warnings Daniel Stenberg 2006-12-21 14:20:20 +00:00
  • c92d1a5a23 fix compiler warnings, minor re-indenting Daniel Stenberg 2006-12-21 14:19:42 +00:00
  • 862a758026 Added an initial set of man pages. Daniel Stenberg 2006-12-21 14:09:12 +00:00
  • f7f897df07 fix warnings and allow passing user name and password on the command line Daniel Stenberg 2006-12-21 14:06:49 +00:00
  • ef8d1a2af8 Added the configure option --enable-debug-build which not only enables a debug build (using -g and disabling all -O options), but also sets a whole range of picky/strict compiler options depending on what compiler and version that is used. This function is ripped right off the curl configure script, written by yours truly. I left it using the same name as in the curl script to 1) make it obvious where it comes from, so that 2) it will be easier to update and keep it in sync with future modifications. Daniel Stenberg 2006-12-13 08:45:49 +00:00
  • 556cafc457 Removed use of ceil() since that is a math lib function and getting the exact accuracy of the microsecond to millisecond conversion simply cannot be that important. We don't even explicitly link with -lm... Daniel Stenberg 2006-12-13 08:42:54 +00:00
  • 75b5e06773 Fix indentation. Simon Josefsson 2006-12-09 09:06:06 +00:00
  • 91e496ff41 Add. Simon Josefsson 2006-12-07 16:12:44 +00:00
  • 6b1dc88b14 Add autobuild.m4, to make it easier to use http://autobuild.josefsson.org/. Simon Josefsson 2006-12-07 15:53:01 +00:00
  • 14b9deef24 Move symmetric OpenSSL EVP crypto calls to crypt.c. Simon Josefsson 2006-12-07 15:44:07 +00:00
  • 82d762cae5 Improve detection of closed channel. Eleminates lock-ups on multi-channel operation. Mikhail Gusarov 2006-11-27 07:37:40 +00:00
  • 1c1c74479e Reading bigger blocks from network before decryption. Significantly increases performance. Mikhail Gusarov 2006-11-27 07:31:28 +00:00
  • 3a33680e14 write(2) may write only part of passed data under FreeBSD. Make sure whole buffer is written. Mikhail Gusarov 2006-11-27 07:24:18 +00:00
  • 38fea1973d mention a few recent changes Daniel Stenberg 2006-11-24 10:14:31 +00:00
  • c63a212559 Add builddir/src to the include path, for the generated config header when building out of the source tree. Daniel Stenberg 2006-11-20 22:21:01 +00:00
  • a8451f58df ssh2_sample now gets the right include path to the current include directory Daniel Stenberg 2006-11-20 22:19:40 +00:00
  • 1dbe8ff365 check for inline in configure Daniel Stenberg 2006-11-20 22:10:56 +00:00
  • 82424d6735 Starting now, we use automake and libtool for the build. Daniel Stenberg 2006-11-20 08:58:29 +00:00
  • 3b1b45e644 Moved the private include files libssh2_priv.h and libssh2_config.h.in from include/ into the src/ directory. The include/ dir is now strictly for public headers. Daniel Stenberg 2006-11-20 08:41:04 +00:00
  • 84f10fca87 kill compiler warnings Daniel Stenberg 2006-11-19 13:39:01 +00:00
  • 077ba3efd5 until we automake, let 'make' build all by default Daniel Stenberg 2006-11-19 13:28:03 +00:00
  • ab26693769 kill warnings Daniel Stenberg 2006-11-19 13:26:19 +00:00
  • 1854b4536f Use pkg-config --cflags-only-I when getting the include files necessary to build with OpenSSL. Previous approach caused a bad compiler option get set. Daniel Stenberg 2006-11-17 10:26:11 +00:00
  • 1baaa31792 Patch from Daniel Stenberg James Housley 2006-11-14 01:30:39 +00:00
  • 7058b7fc2a Reproduce most of the POSIX permission/file type defines from sys/stat.h so that if compiled with a non-POSIX compiler these are still available for client software. James Housley 2006-11-13 22:35:02 +00:00
  • 1e889ca947 As pointed out, feof() will always fail after a rewind James Housley 2006-11-13 15:10:38 +00:00
  • bebd14a011 Bug: [ 1592645 ] Public key can not be readed from file James Housley 2006-11-13 11:33:03 +00:00
  • 7063d24724 /* RFC4253 section 6.1 Maximum Packet Length says: * * "All implementations MUST be able to process packets with * uncompressed payload length of 32768 bytes or less and * total packet size of 35000 bytes or less (including length, * padding length, payload, padding, and MAC.)." */ Protect against an improper packet from producing unreasonable values. Credit goes to Daniel Stenberg James Housley 2006-11-10 13:47:13 +00:00
  • 8069fa6f9a libssh2_sftp_readdir() wasn't null terminating the filename. If there is enough room in the buffer, all a null to the end. James Housley 2006-11-10 12:16:24 +00:00
  • 1961e07287 The public *_ex() API functions, most of them, used "int" for length values. The convience functions pass in the return from strlen() which is "size_t", usually an "unsigned long". This created the possiblility of passing in a value that could look negative. James Housley 2006-11-04 19:30:31 +00:00
  • ace0c8f00b Bump for release RELEASE.0.14 Sara Golemon 2006-06-22 18:50:26 +00:00
  • adee5e5653 Don't wait for KEX_INIT prior to sending our own packet. Watch out for bad KEX_INIT guesses and burn packets if necessary. Sara Golemon 2006-06-22 18:45:29 +00:00
  • 5f85317efa Swap ordering of packet_add/packet-inspection to avoid inspect after free. Fix OpenSSL detection using pkg-config. Sara Golemon 2006-05-26 22:36:48 +00:00
  • 09b93e4bb6 Map Win32 errno values Sara Golemon 2006-04-17 02:49:44 +00:00
  • 19cad102f4 autoconf already handles -g for us Sara Golemon 2006-04-07 20:44:26 +00:00
  • 4d7726c551 Plug leaks caused by not using OpenSSL's EVP interface correctly Sara Golemon 2006-04-06 21:50:37 +00:00
  • 37307a8778 Map win32 error codes Sara Golemon 2006-04-05 05:36:53 +00:00
  • fbcdff2161 Allow socket_fd == 0 in libssh2_session_startup() Sara Golemon 2006-03-08 19:10:53 +00:00
  • c45992da55 Bump copyright year Sara Golemon 2006-03-02 01:10:52 +00:00
  • 2207b99afb Bump version number RELEASE.0.13 Sara Golemon 2006-03-02 01:10:06 +00:00
  • 1d7522bc06 BugFix#1436593: Apply build options for HPUX targets Sara Golemon 2006-02-23 23:14:35 +00:00
  • a4e61c265b Fixed errorneous flushing packets for unrelated channels when one is closed (thanks to Alexander Holyapin) Mikhail Gusarov 2006-02-20 08:39:54 +00:00
  • 502a48afa1 Fix make install on MacOSX Sara Golemon 2006-01-06 17:34:03 +00:00
  • efc3841fd2 Add terminating NULL to readlin/realpath results Sara Golemon 2005-11-17 23:20:32 +00:00
  • f9d65b0984 Fix miscellaneous bugs in src/channel.c and src/packet.c Courtessy David Robins Sara Golemon 2005-11-02 00:26:24 +00:00
  • edcdf43264 Prep for release RELEASE.0.12 Sara Golemon 2005-11-01 23:11:50 +00:00
  • 722470994a Added missing '#ifdef __cplusplus extern "C" {}' stanza Mikhail Gusarov 2005-10-04 04:25:24 +00:00
  • 14f00247a8 Explicitly include sha.h and md5.h from openssl Sara Golemon 2005-08-25 20:50:37 +00:00
  • 78048973c5 Fix x11_req. Multiple packet_len issues and error handling logic. (Simon Hart) Sara Golemon 2005-08-10 21:37:44 +00:00
  • e15f5d97a0 Add publickey subsystem support Sara Golemon 2005-07-21 20:28:07 +00:00
  • 01de39e585 Fix generation of 'e' portion of Diffie-Hellman keyset. Sara Golemon 2005-07-11 15:56:09 +00:00
  • 6cc50263e2 Fix rename op -- Take 2 Sara Golemon 2005-07-06 17:50:53 +00:00
  • beca3742a2 Correct ancient typos in error messages Sara Golemon 2005-07-06 16:27:54 +00:00
  • d6cfa7c6b9 bump for release -- 0.11 RELEASE.0.11 Sara Golemon 2005-07-05 01:42:11 +00:00
  • ae17fbcd2c BFN Sara Golemon 2005-07-05 01:38:41 +00:00
  • 0c53895bc0 libssh2_poll_channel_read made external Mikhail Gusarov 2005-06-24 11:22:10 +00:00
  • dc446eff08 Debug output slightly fixed Mikhail Gusarov 2005-06-24 11:18:20 +00:00
  • aa6e9c6eca Added libssh2_channel_wait_close() Mikhail Gusarov 2005-06-24 11:17:50 +00:00
  • 2e097c7760 Memory leak liquidated - free the SSH_MSG_CHANNEL_REQUEST packet data after processing 'exit-status' message Mikhail Gusarov 2005-06-23 08:22:04 +00:00
  • 77bd3c1215 'exit-status' information packet handling added Mikhail Gusarov 2005-06-23 05:55:01 +00:00
  • 0e5eb4d9c5 Added extern "C" declaration for C++ compatibility Mikhail Gusarov 2005-06-20 05:17:51 +00:00
  • 8ee79a5118 Fixed keyboard-interactive authentication, debug output added Mikhail Gusarov 2005-06-18 12:18:07 +00:00
  • 0ad861d74c libssh2_userauth_list should return char*, not the const char* Mikhail Gusarov 2005-06-18 11:30:31 +00:00
  • b6d13ebe8a Strictening function prototypes: char* -> const char* where applicable Mikhail Gusarov 2005-06-18 10:41:59 +00:00
  • 06e1136ea0 Don't send flags for rename op if the sftp version is too low Sara Golemon 2005-06-17 17:18:25 +00:00
  • 2a6c49a73a Add abstract pointer to keyboard-interactive callback Sara Golemon 2005-06-16 17:14:31 +00:00
  • da653774aa Add keyboard interactive authentication. Implementation contributed by Mikhail Gusarov. Sara Golemon 2005-06-11 19:18:06 +00:00
  • 9203a62789 Late commit -- This is for release 0.10 RELEASE.0.10 Sara Golemon 2005-05-24 14:01:38 +00:00
  • 6de7ed8a7b Drop these old references to initial window size, they were a mistake Sara Golemon 2005-05-18 17:12:40 +00:00
  • 8937980044 BFN Sara Golemon 2005-05-18 17:10:27 +00:00
  • cc7703092f Save up multiple small refunds in order to cut down on unnecessary WINDOW_ADJUST packets Sara Golemon 2005-05-18 17:08:29 +00:00
  • 7502920c7f Remove /test/* Sara Golemon 2005-05-17 19:30:59 +00:00
  • ff6f2dbe52 Typo: ALWAYS TEST FIRST Sara Golemon 2005-05-17 17:18:48 +00:00