Commit Graph

  • e7bd9d02bc pki: Initialize pointers to NULL Jakub Jelen 2018-09-11 15:05:41 +02:00
  • 9196639940 tests: Drop duplicate ed25519 key creation Jakub Jelen 2018-08-29 19:16:37 +02:00
  • 786d7e39a3 buffer: Fix typo Jakub Jelen 2018-09-06 10:46:36 +02:00
  • c33710d112 tests: Verify the pubkey authentication works with ECDSA keys Jakub Jelen 2018-09-17 15:20:46 +02:00
  • a14a80f35f auth: Fix ecdsa pubkey auth Andreas Schneider 2018-09-17 14:45:46 +02:00
  • 0389ff6d9d tests: Do not call sftp_canonicalize_path() Andreas Schneider 2018-09-17 14:35:39 +02:00
  • 4d09c6dc31 buffer: Reformat ssh_buffer_get_ssh_string Jakub Jelen 2018-09-11 15:55:03 +02:00
  • 03a66b8599 tests: Use stdbool for with_passphrase argument Jakub Jelen 2018-09-11 14:56:32 +02:00
  • c04eac40f3 pki_crypto: Clarify that memory passed with set0 is managed by openssl objects Jakub Jelen 2018-09-11 15:24:44 +02:00
  • 8cc0672c0c pki_mbedcrypto: pki_pubkey_build_rsa: properly clean up on error Jakub Jelen 2018-09-11 15:11:12 +02:00
  • 8f7214a584 pki: Initialize pointers to NULL Jakub Jelen 2018-09-11 15:05:41 +02:00
  • 9d2de880ec tests: Drop duplicate ed25519 key creation Jakub Jelen 2018-08-29 19:16:37 +02:00
  • 039c066da5 buffer: Fix typo Jakub Jelen 2018-09-06 10:46:36 +02:00
  • 6efbf7a30e tests: Verify the pubkey authentication works with ECDSA keys Jakub Jelen 2018-09-17 15:20:46 +02:00
  • e5170107c9 auth: Fix ecdsa pubkey auth Andreas Schneider 2018-09-17 14:45:46 +02:00
  • 30df04a8a5 tests: Do not call sftp_canonicalize_path() Andreas Schneider 2018-09-17 14:35:39 +02:00
  • 8954fccfdb tests: Add a sftp benchmark test for write/read Andreas Schneider 2018-09-04 14:22:40 +02:00
  • 332df98fc9 sftp: Move the packet payload to the message Andreas Schneider 2018-09-08 09:36:14 +02:00
  • d4cc3f69c6 sftp: Use SSH_BUFFER_FREE in sftp_message_free() Andreas Schneider 2018-09-08 09:37:38 +02:00
  • 534c58c475 sftp: Reformat sftp_message_free() Andreas Schneider 2018-09-08 09:37:15 +02:00
  • 84fd910423 sftp: Allocate a new buffer in sftp_packet_read() if needed Andreas Schneider 2018-09-08 09:29:57 +02:00
  • d51f77c2b1 sftp: Reformat sftp_read_and_dispatch() Andreas Schneider 2018-09-08 09:15:14 +02:00
  • 47376cbc77 sftp: Validate the packet handle before we allocate memory Andreas Schneider 2018-09-08 09:12:27 +02:00
  • 85c3db3e89 sftp: Reformat sftp_get_message() Andreas Schneider 2018-09-08 09:04:53 +02:00
  • 3f8a522c7f sftp: Use bool for is_eof in sftp_packet_read() Andreas Schneider 2018-09-08 09:02:01 +02:00
  • eb08802b7c sftp: Use 's' only in the scope it is needed Andreas Schneider 2018-09-08 08:53:45 +02:00
  • dc587045bf sftp: Use 16K for the transfer buffer size Andreas Schneider 2018-09-08 08:40:18 +02:00
  • 9b495b72c5 sftp: Get the packet type directly from the buffer Andreas Schneider 2018-09-07 21:48:49 +02:00
  • 2ce6c56609 sftp: Limit packet size to 256 MB Andreas Schneider 2018-09-07 21:45:35 +02:00
  • 9caef95899 sftp: Directly read and validate the packet size from the bufffer Andreas Schneider 2018-09-07 19:55:41 +02:00
  • 66c2630aaf sftp: Use read_packet from sftp handle Andreas Schneider 2018-09-03 14:43:02 +02:00
  • b8f63ee2df sftp: Simplify the code for reading data Andreas Schneider 2018-09-07 21:55:17 +02:00
  • 68adb49996 sftp: Reformat sftp_packet_read() Andreas Schneider 2018-09-03 14:34:38 +02:00
  • 12e94bfd18 sftp: Keep a ssh_packet for reading in the sftp handle Andreas Schneider 2018-09-03 14:24:40 +02:00
  • 4fc3d7a27f sftp: Remove ZERO_STRUCTP from sftp_free() Andreas Schneider 2018-09-10 10:29:30 +02:00
  • 466bb332c1 sftp: Reformat sftp_free() Andreas Schneider 2018-09-10 10:29:08 +02:00
  • ff25b45367 sftp: Reformat sftp_new() Andreas Schneider 2018-09-03 14:25:34 +02:00
  • df83f4fb57 include: Add SSH_BUFFER_FREE Andreas Schneider 2018-09-08 09:35:20 +02:00
  • 5bda3ab9f6 cmake: Correctly detect if glob has gl_flags member Andreas Schneider 2018-09-17 07:29:48 +02:00
  • aaca395bd3 tests: Add a sftp benchmark test for write/read Andreas Schneider 2018-09-04 14:22:40 +02:00
  • 0762057eb9 sftp: Move the packet payload to the message Andreas Schneider 2018-09-08 09:36:14 +02:00
  • 57153f6481 sftp: Use SSH_BUFFER_FREE in sftp_message_free() Andreas Schneider 2018-09-08 09:37:38 +02:00
  • 4c32befd93 sftp: Reformat sftp_message_free() Andreas Schneider 2018-09-08 09:37:15 +02:00
  • be8302e2f3 sftp: Allocate a new buffer in sftp_packet_read() if needed Andreas Schneider 2018-09-08 09:29:57 +02:00
  • 97d2e1f4cb sftp: Reformat sftp_read_and_dispatch() Andreas Schneider 2018-09-08 09:15:14 +02:00
  • 12fc0ea1bf sftp: Validate the packet handle before we allocate memory Andreas Schneider 2018-09-08 09:12:27 +02:00
  • 573eab0d51 sftp: Reformat sftp_get_message() Andreas Schneider 2018-09-08 09:04:53 +02:00
  • 0e317e612f sftp: Use bool for is_eof in sftp_packet_read() Andreas Schneider 2018-09-08 09:02:01 +02:00
  • 01135703a3 sftp: Use 's' only in the scope it is needed Andreas Schneider 2018-09-08 08:53:45 +02:00
  • c070414309 sftp: Use 16K for the transfer buffer size Andreas Schneider 2018-09-08 08:40:18 +02:00
  • d2cc4eccc7 sftp: Get the packet type directly from the buffer Andreas Schneider 2018-09-07 21:48:49 +02:00
  • 38781f69b0 sftp: Limit packet size to 256 MB Andreas Schneider 2018-09-07 21:45:35 +02:00
  • dc4faf9952 sftp: Directly read and validate the packet size from the bufffer Andreas Schneider 2018-09-07 19:55:41 +02:00
  • cbbc6ddcb6 sftp: Use read_packet from sftp handle Andreas Schneider 2018-09-03 14:43:02 +02:00
  • a7456bf4d5 sftp: Simplify the code for reading data Andreas Schneider 2018-09-07 21:55:17 +02:00
  • afc14fe003 sftp: Reformat sftp_packet_read() Andreas Schneider 2018-09-03 14:34:38 +02:00
  • 79a3fcac72 sftp: Keep a ssh_packet for reading in the sftp handle Andreas Schneider 2018-09-03 14:24:40 +02:00
  • 945afaa6b4 sftp: Remove ZERO_STRUCTP from sftp_free() Andreas Schneider 2018-09-10 10:29:30 +02:00
  • d840a05be3 sftp: Reformat sftp_free() Andreas Schneider 2018-09-10 10:29:08 +02:00
  • 662c30eb72 sftp: Reformat sftp_new() Andreas Schneider 2018-09-03 14:25:34 +02:00
  • 29b5477849 include: Add SSH_BUFFER_FREE Andreas Schneider 2018-09-08 09:35:20 +02:00
  • 2e8f2f03e7 cmake: Correctly detect if glob has gl_flags member Andreas Schneider 2018-09-17 07:29:48 +02:00
  • 983d1189d0 gitlab-ci: Add builds with gcc7 Andreas Schneider 2018-09-10 12:03:26 +02:00
  • 7b2e1c7fb7 gitlab-ci: Big cleanup Andreas Schneider 2018-09-10 10:08:53 +02:00
  • 9a057159a2 config: Fix size type Andreas Schneider 2018-09-06 07:31:12 +02:00
  • 9c0875dd5d cmake: Use -Wpedantic and remove -pedantic-errors Andreas Schneider 2018-09-06 08:00:19 +02:00
  • ceecd3fd6f config: Fix size type Andreas Schneider 2018-09-06 07:31:12 +02:00
  • bfd33ecf29 cmake: Use -Wpedantic and remove -pedantic-errors Andreas Schneider 2018-09-06 08:00:19 +02:00
  • 1fa5a2a504 tests: UsePrivilegeSeparation has no effect since OpenSSH 7.5 Jakub Jelen 2018-09-05 14:13:00 +02:00
  • a08a2f52fb tests: Do not trace sshd Jakub Jelen 2018-09-05 14:51:09 +02:00
  • 21d37f8605 cmake: Move CompilerFlags to own file Andreas Schneider 2018-09-05 15:14:14 +02:00
  • e43586b4de cmake: Update defaults Andreas Schneider 2018-09-05 15:13:26 +02:00
  • 56317caafc tests: UsePrivilegeSeparation has no effect since OpenSSH 7.5 Jakub Jelen 2018-09-05 14:13:00 +02:00
  • ca4fb9c6f8 tests: Do not trace sshd Jakub Jelen 2018-09-05 14:51:09 +02:00
  • 91800eb243 cmake: Move CompilerFlags to own file Andreas Schneider 2018-09-05 15:14:14 +02:00
  • 2923ad59f9 cmake: Update defaults Andreas Schneider 2018-09-05 15:13:26 +02:00
  • dc7e1bdb39 tests: Verify the Match keyword from configuration file Jakub Jelen 2018-09-04 19:09:08 +02:00
  • 03d559b066 tests: No need to restore log level now Jakub Jelen 2018-09-04 15:35:05 +02:00
  • 3191c1f6be tests: Use global verbosity in tests Jakub Jelen 2018-09-04 15:29:01 +02:00
  • d46f01cb7c tests: Missing unlink Jakub Jelen 2018-09-04 13:50:51 +02:00
  • 04e290a19b config: Parse Match keyword Jakub Jelen 2018-09-04 13:46:37 +02:00
  • bad407f5e2 config: Do not overwrite previously matched result in Host blocks Jakub Jelen 2018-09-04 10:30:09 +02:00
  • 2787756efe tests: Define LIBSSH_STATIC for torture_cmocka Andreas Schneider 2018-09-05 11:13:57 +02:00
  • 7b35afdf6b tests: Fix linking unit tests Andreas Schneider 2018-09-05 11:01:09 +02:00
  • dba2903e38 channels: Allow infinite timeout for ssh_channel_read_timout() Andreas Schneider 2018-09-04 21:32:31 +02:00
  • 556ad59a5a tests: Verify the Match keyword from configuration file Jakub Jelen 2018-09-04 19:09:08 +02:00
  • fcb203cb2d tests: No need to restore log level now Jakub Jelen 2018-09-04 15:35:05 +02:00
  • 6dbcc21921 tests: Use global verbosity in tests Jakub Jelen 2018-09-04 15:29:01 +02:00
  • 2eccd04ff6 tests: Missing unlink Jakub Jelen 2018-09-04 13:50:51 +02:00
  • e9b44d26b1 config: Parse Match keyword Jakub Jelen 2018-09-04 13:46:37 +02:00
  • 9f5f10552b config: Do not overwrite previously matched result in Host blocks Jakub Jelen 2018-09-04 10:30:09 +02:00
  • 458bda8877 tests: Define LIBSSH_STATIC for torture_cmocka Andreas Schneider 2018-09-05 11:13:57 +02:00
  • 3d35250c07 tests: Fix linking unit tests Andreas Schneider 2018-09-05 11:01:09 +02:00
  • ef06ef2c1b channels: Allow infinite timeout for ssh_channel_read_timout() Andreas Schneider 2018-09-04 21:32:31 +02:00
  • 965014b035 libsshpp: Initialize the string returned by getIssueBanner() Andreas Schneider 2018-09-04 20:51:30 +02:00
  • ba1ff992ce libsshpp: Initialize the string returned by getIssueBanner() Andreas Schneider 2018-09-04 20:51:30 +02:00
  • c4ec92f375 channels: Don't read from a closed channel Andreas Schneider 2018-09-04 20:33:21 +02:00
  • e558827c4e channels: Don't read from a closed channel Andreas Schneider 2018-09-04 20:33:21 +02:00
  • 54cf9d1364 auth: Use calloc to allocate memory Andreas Schneider 2018-09-03 18:11:20 +02:00
  • 23ce6d7156 misc: Use C99 initializer to initialize string Andreas Schneider 2018-09-03 18:09:02 +02:00