milo
96e338ba56
Fixed typos in ssh_pki_publickey_to_string
2011-08-15 18:58:27 +02:00
Andreas Schneider
6ffee22448
pki: Add ssh_pki_publickey_to_string().
2011-08-15 18:48:08 +02:00
Andreas Schneider
fe375132c3
bind: Add checks around key functions.
2011-08-15 18:48:08 +02:00
Andreas Schneider
2780f76247
pki: Flags are a bit mask so use hex.
2011-08-15 18:48:08 +02:00
Andreas Schneider
a983512678
pki: Fix ssh_key_dup().
2011-08-15 18:48:08 +02:00
Andreas Schneider
c77b23b32a
pki: Cleanup pki header.
2011-08-15 18:48:08 +02:00
milo
962bdb1eea
Fixed missing include for FILE
2011-08-15 17:37:01 +02:00
Andreas Schneider
e06b3dba0d
bind: Read only once in ssh_bind_listen() (bug #11 ).
2011-08-15 16:50:30 +02:00
Andreas Schneider
190ae27463
pki: Added ssh_key_dup().
2011-08-15 16:26:58 +02:00
Andreas Schneider
481522cf63
agent: Use new pki functions.
2011-08-13 12:21:23 +02:00
Andreas Schneider
0523adf95c
pki: Add ssh_pki_import_pubkey_string().
2011-08-13 12:13:09 +02:00
Andreas Schneider
74d755873d
pki: Use const.
2011-08-13 11:26:03 +02:00
Andreas Schneider
30ec1e0b05
pki: Document public key function.
2011-08-13 11:19:37 +02:00
Andreas Schneider
f421c05913
cmake: Check for argp library only on bsd and solaris.
2011-08-13 11:07:57 +02:00
Andreas Schneider
e92787395a
pki: Fix doc of ssh_pki_import_privkey_base64().
2011-08-12 11:04:30 +02:00
Andreas Schneider
a4a1af5bbf
options: Allocate dest in ssh_options_copy().
2011-08-11 12:53:02 +02:00
Andreas Schneider
1c30c2a510
pki: Fix a resource leak.
2011-08-11 12:36:01 +02:00
Andreas Schneider
8bf8a7ef49
Fix typo.
2011-08-10 19:07:42 +02:00
Andreas Schneider
37a38d4959
Added CodingStyle file.
2011-08-10 19:05:15 +02:00
Andreas Schneider
13227714f2
channels: Fix incorrect return values in ssh_channel_write().
2011-08-10 16:58:10 +02:00
rofl0r
7949f2cdc6
session: Fix an infinite loop in the termination callback.
...
This happened due to the use of the buggy and obsolete timeout
funtions.
2011-08-10 15:41:36 +02:00
Andreas Schneider
2f87873642
channels: Handle SSH_AGAIN in channel_open().
2011-08-09 22:59:17 +02:00
Mark Riordan
6c45d6dc01
Fix "status -5 inflating zlib packet"
...
Signed-off-by: Mark Riordan <mriordan@ipswitch.com>
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2011-08-09 20:13:20 +02:00
Andreas Schneider
9c0af42dd8
pki: Use a consistent name scheme.
...
Rename ssh_key_import_private to ssh_pki_import_privkey_file.
2011-08-09 18:05:47 +02:00
Andreas Schneider
bec483bc18
pki: Add ssh_pki_import_pubkey_base64().
2011-08-08 15:28:31 +02:00
Andreas Schneider
f81444bd57
pki: Add pki_do_sign().
2011-08-08 15:28:31 +02:00
Andreas Schneider
38d00c0e7a
bind: Use ssh_key_import_private().
2011-08-08 15:28:31 +02:00
Andreas Schneider
9bed334da3
pki: Add ssh_pki_convert_key_to_privatekey().
2011-08-08 15:28:31 +02:00
Andreas Schneider
7c302d376c
pki: Move _privatekey_from_file to legacy.c.
2011-08-08 15:28:31 +02:00
Andreas Schneider
36ee2d3332
pki: Create pki_publickey_from_privatekey().
2011-08-08 15:28:31 +02:00
Andreas Schneider
f55cd7de43
pki: Improve ssh_key_import_private().
2011-08-08 15:28:31 +02:00
Andreas Schneider
9569d053d8
pki: Improve ssh_pki_import_privkey_base64().
2011-08-08 15:28:31 +02:00
Andreas Schneider
028888719a
pki: Add pki_privatekey_type_from_string().
2011-08-08 15:28:31 +02:00
Andreas Schneider
d8b41bcac3
pki: Add placeholder for ecdsa and certs.
2011-08-08 15:28:31 +02:00
Andreas Schneider
6ccb3f7a82
pki: Add pki_crypto.c.
2011-08-08 15:28:31 +02:00
Andreas Schneider
37b80e9261
pki: Move keyfiles to pki_gcrypt.c.
2011-08-08 15:28:31 +02:00
Einar Floystad Dorum
01c4b713dc
Fixed ssh_scp_write so it works when doing recursive copy
...
There where two issues with ssh_scp_write:
1) It did not write a status message after the last write and OpenSSH
would then give up after the write finished.
2) OpenSSH would sometimes write a status message, after near ends write.
If scp_write didn't handle it, and subsequent status message. The remote
window would shrink to zero and ssh_channel_write would start returning 0.
Signed-off-by: Einar Floystad Dorum <einarfd@mailthief.com>
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2011-08-08 15:27:23 +02:00
rofl0r
35686b4822
client: Fix another source of endless wait.
2011-08-06 11:12:02 +02:00
rofl0r
7ccd9c31b3
channels: Fix an endless loop in case of a channel_open error.
2011-08-06 11:12:02 +02:00
rofl0r
af85337f5f
session: Fix timeout handling.
...
-2 now means to use the timeout specified in options. It wasn't used
earlier and poll only knows -1 and 0 anyway for special meanings.
2011-08-06 11:12:02 +02:00
rofl0r
563fbe4de8
channels: Fix checking for fatal errors.
...
We need this that we don't end up in and infinite poll loop.
2011-08-06 11:11:12 +02:00
rofl0r
39f962c91e
channels: Fix ssh_channel_from_local()
...
It only worked if the first channel in the list was equivalent to we
were looking for.
2011-08-06 11:08:55 +02:00
rofl0r
c31cac93f3
misc: Fix ssh_timeout_update().
2011-08-06 11:08:38 +02:00
rofl0r
a290fe33c1
gitignore: ignore object files
2011-08-06 10:53:08 +02:00
Andreas Schneider
15ebbad146
examples: Fix permissions of the file we copy.
...
Thanks to Baptiste Marchand.
2011-08-03 22:21:43 +02:00
Andreas Schneider
790b62bca5
channels: Set the max packet size to 32768.
2011-08-03 20:49:57 +02:00
Andreas Schneider
ca47c9b46e
cmake: Make CHECK_C_COMPILER_FLAG_SSP a function.
2011-07-29 11:37:52 +02:00
Aris Adamantiadis
0943ce3a4a
Fixed build on openssl
2011-07-20 09:56:43 +02:00
Aris Adamantiadis
da954c2c5e
Fixes the ssh_log issue on ssh_bind handles.
2011-07-19 22:16:28 +02:00
Andreas Schneider
dc9ac022f5
doc: Add OpenSSH pub certkey auth.
2011-07-19 12:20:36 +02:00