Aris Adamantiadis
c691aa3e32
Forgot the pki files
2010-05-02 00:03:06 +02:00
Aris Adamantiadis
430e570629
Added pki.[ch] files as a new standard API for PKs
...
Right now it's just a wrapper to the existing calls
but soon it's gona be the effective implementation and
other calls will be wrappers.
2010-05-01 20:32:27 +02:00
Aris Adamantiadis
65dc4f1186
Match hashed [host]:port format knownhosts
2010-05-01 16:52:46 +02:00
Aris Adamantiadis
6b320a00a0
knownhosts writing and unit test
2010-05-01 12:47:44 +02:00
Aris Adamantiadis
22be109956
First implementation of known_hosts with port read
2010-05-01 00:40:10 +02:00
Aris Adamantiadis
4bb790fb5d
Fix uninitialized variable used
2010-04-28 20:22:05 +02:00
Aris Adamantiadis
7d32ec5d28
Fix warnings found with clang analyzer
2010-04-28 19:36:39 +02:00
Aris Adamantiadis
20e7ec96ae
Fix bugs found by clang analyzer
2010-04-28 18:43:41 +02:00
Aris Adamantiadis
2e563e0fa8
Fix documentation of MacroCheckCCompilerFlagSSP
2010-04-28 18:31:07 +02:00
Aris Adamantiadis
cbd0a8f4b5
Change the test file for stackprotector for clang
...
Now compiles with clang !
2010-04-28 18:01:15 +02:00
Aris Adamantiadis
ecbe577be3
Fixed warnings with clang
2010-04-28 17:23:47 +02:00
Aris Adamantiadis
84db436e3b
Fix doc and libgcrypt build
2010-04-28 12:48:47 +02:00
Aris Adamantiadis
904c6ed853
Renamed private type TYPE_RSA to SSH_KEYTYPE_*
...
Also made this enum public
2010-04-28 12:14:03 +02:00
Aris Adamantiadis
186e07b415
Added ssh_privatekey_type public function
2010-04-28 11:51:42 +02:00
Aris Adamantiadis
4ab63d3d8c
Added first unittest-based bug found :)
2010-04-27 23:48:54 +02:00
Aris Adamantiadis
696ef7aecc
Added privatekey_from_file with passphrase test
2010-04-27 23:48:18 +02:00
Aris Adamantiadis
9603f2520b
make torture_keyfiles silent
2010-04-27 23:28:18 +02:00
Aris Adamantiadis
a5a806f7ee
Added test for privatekey_from_file
2010-04-27 23:25:21 +02:00
Aris Adamantiadis
fa294e8603
Fix select loop in sample
2010-04-24 23:22:00 +02:00
Aris Adamantiadis
97d2f755c4
Do not send twice ssh_userauth_none requests
...
Thanks to Xi Wang for the bug report
2010-04-24 23:01:18 +02:00
Aris Adamantiadis
83536ab7d1
Fixes \r in SSH1 banner
...
Thanks to Xi Wang for the patch
WARNING: this may cause backward compatibility
issues with SSH1, revert if there are problems
2010-04-24 22:47:34 +02:00
Aris Adamantiadis
6cdbc01208
Fixes infinite loops
...
Thanks to Xi Wang for the patches
2010-04-24 22:46:19 +02:00
Andreas Schneider
833903e8ec
torture: Fix compiling options test if NSS_BUFLEN_PASSWD isn't defined.
...
Thanks to Xi Wang for the patch.
2010-04-20 13:30:07 +02:00
Andreas Schneider
c53383a316
session: Fixed a memory leak.
...
Thanks to Xi Wang for the patch.
2010-04-20 13:29:50 +02:00
Andreas Schneider
dfc35699ea
packet: Fixed linking if we build without server support.
...
Thanks to Xi Wang for the patch.
2010-04-20 13:28:54 +02:00
Andreas Schneider
b7a7c816df
kex: Fixed a memory leak.
...
Thanks to Xi Wang for the patch.
2010-04-20 13:28:12 +02:00
Andreas Schneider
090f036205
channels: Don't use signal as a name.
...
Thanks to Xi Wang for the patch.
2010-04-20 13:27:12 +02:00
Andreas Schneider
8738e93dc0
cmake: Fixed openssl detection.
...
Thanks to Xi Wang for the patch.
2010-04-20 13:25:46 +02:00
Aris Adamantiadis
ee2bee88ee
Fix warnings
2010-04-14 21:20:42 +02:00
Aris Adamantiadis
6ffd38d25e
Fix doublefree happening after a negociation error
...
Fix the cherry-pick merge
Conflicts:
libssh/client.c
2010-04-14 21:14:32 +02:00
Aris Adamantiadis
250273cf1a
Do not compile aes*-ctr with <=OpenSSL 0.9.7b
2010-04-14 21:11:29 +02:00
Aris Adamantiadis
bc15f7b7aa
Fix missing string_data() in crypto debug code
2010-04-14 21:11:19 +02:00
Aris Adamantiadis
7c3040c624
First experiment at trying to make libssh c89
2010-04-07 13:20:30 +02:00
Andreas Schneider
c584b55488
Added the copyright policy to the README.
2010-04-07 11:29:47 +02:00
Ruben Garcia Azuara
5a2abd34ce
Added support for StrictHostKeyChecking and UserKnownHostsFile parameters.
...
Added OpenSSH parameters to libssh:
- StrictHostKeyChecking
- UserKnownHostsFile
This parameters are useful to avoid checking the fingerprint. Eg:
~/.ssh/config:
Host 192.10.20.30
StrictHostKeyChecking no
UserKnownHostsFile /dev/null
Signed-off-by: Ruben Garcia Azuara <rubenga@tid.es>
Signed-off-by: Andreas Schneider <mail@cynapses.org>
2010-04-07 11:29:47 +02:00
Ruben Garcia Azuara
14eb593af3
Fixed solaris compilation warning and ignore case at host parameter.
...
- Suppress compilation warning in solaris caused by a comma at the end of
the last value.
- Ignore case at host parameter in config file
Signed-off-by: Ruben Garcia Azuara <rubenga@tid.es>
Signed-off-by: Andreas Schneider <mail@cynapses.org>
2010-04-07 11:29:47 +02:00
Aris Adamantiadis
b2b7bc3b77
Fix building on win32/vs7
2010-04-06 23:24:25 +02:00
Andreas Schneider
fddbf1f94c
Added a select(2) based poll-emulation if poll(2) is not available.
2010-04-04 17:38:50 +02:00
Andreas Schneider
5d5f6cc60c
Fixed the group of the pcap functions.
2010-04-04 17:38:50 +02:00
Andreas Schneider
ae64c19f20
Fixed the group of the server functions.
2010-04-04 17:38:50 +02:00
Andreas Schneider
e5abc065aa
Fixed the documentation of the scp functions.
2010-04-04 17:37:05 +02:00
Andreas Schneider
4ce265b105
Fixed the documentation of the SSH messages.
2010-04-04 17:37:05 +02:00
Andreas Schneider
154e99f2ba
Fixed the documentation of channels.c.
2010-04-04 17:37:05 +02:00
Andreas Schneider
dab450be32
Fixed the doxygen group of the libssh c++ wrapper.
2010-04-04 17:37:05 +02:00
Andreas Schneider
a3db621899
Fixed documentation of socket functions.
2010-04-04 15:51:54 +02:00
Andreas Schneider
e26c6d20fe
Fixed documenation of ssh_select().
2010-04-04 15:51:54 +02:00
Andreas Schneider
a75a2bf533
Fixed documentation of dh functions.
2010-04-04 15:51:54 +02:00
Andreas Schneider
8dcfc3c94a
Fixed the documentation of the client code.
2010-04-04 15:51:54 +02:00
Andreas Schneider
19c4027194
Fixed the group of the options.
2010-04-04 15:51:54 +02:00
Andreas Schneider
0efd50df26
Fixed the documentation of key functions.
2010-04-04 15:51:54 +02:00