path: root/libssh/keyfiles.c
AgeCommit message (Collapse)AuthorFilesLines
2010-09-06misc: Rename libssh/ to src/Andreas Schneider1-1902/+0
2010-09-01Fix initialization of threadingAris Adamantiadis1-0/+6
2010-08-28Added missing /** in doxygen @}'sAris Adamantiadis1-2/+2
2010-08-28Fix a few documentation issuesAris Adamantiadis1-11/+10
2010-07-23Continue removing old flushing codeAris Adamantiadis1-2/+13
2010-06-03keyfiles: Move the auth callback inside the HAVE_LIBGCRYPT ifdef.Andreas Schneider1-6/+7
2010-05-21options: Make sure that we have always have default options set.Andreas Schneider1-4/+3
2010-05-21keyfiles: Fixed possible problem with known_hosts path.Andreas Schneider1-1/+1
2010-05-14Sanitize libssh namespace + legacy wrappersAris Adamantiadis1-74/+74
2010-05-12win: Added missing includes with newer MSCV.Andreas Schneider1-0/+9
2010-05-11Use the new expand functions.Andreas Schneider1-20/+10
2010-05-10Some grammarnazi things + fix int->socket_tAris Adamantiadis1-2/+2
2010-05-01Added pki.[ch] files as a new standard API for PKsAris Adamantiadis1-7/+7
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-01Match hashed [host]:port format knownhostsAris Adamantiadis1-0/+3
2010-05-01knownhosts writing and unit testAris Adamantiadis1-10/+29
2010-05-01First implementation of known_hosts with port readAris Adamantiadis1-3/+10
2010-04-28Fix bugs found by clang analyzerAris Adamantiadis1-3/+4
2010-04-28Fix doc and libgcrypt buildAris Adamantiadis1-4/+4
2010-04-28Renamed private type TYPE_RSA to SSH_KEYTYPE_*Aris Adamantiadis1-6/+6
Also made this enum public
2010-04-28Added ssh_privatekey_type public functionAris Adamantiadis1-0/+14
2010-04-27Added first unittest-based bug found :)Aris Adamantiadis1-0/+2
2010-04-07Added support for StrictHostKeyChecking and UserKnownHostsFile parameters.Ruben Garcia Azuara1-0/+5
Added OpenSSH parameters to libssh: - StrictHostKeyChecking - UserKnownHostsFile This parameters are useful to avoid checking the fingerprint. Eg: ~/.ssh/config: Host StrictHostKeyChecking no UserKnownHostsFile /dev/null Signed-off-by: Ruben Garcia Azuara <rubenga@tid.es> Signed-off-by: Andreas Schneider <mail@cynapses.org>
2010-04-07Fixed solaris compilation warning and ignore case at host parameter.Ruben Garcia Azuara1-29/+1
- 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-04Fixed the documentation of key functions.Andreas Schneider1-74/+128
2010-03-28Fix crash when no callback is definedAris Adamantiadis1-1/+1
2010-03-13Fixed a memory leak in ssh_try_publickey_from_file.Andreas Schneider1-0/+4
2010-03-04Fixed and added support for several identity files.Andreas Schneider1-0/+146
2010-02-07Respect known_hosts file set by the user.Andreas Schneider1-3/+5
Thanks to contact@leblanc-simon.eu for the patch.
2009-12-23File handle need to be closed in case of errors in privatekey_from_fileVic Lee1-0/+2
Signed-off-by: Vic Lee <llyzs@163.com> Signed-off-by: Andreas Schneider <mail@cynapses.org>
2009-12-22Added private key type detection feature in privatekey_from_fileVic Lee1-5/+29
Signed-off-by: Vic Lee <llyzs@163.com> Signed-off-by: Andreas Schneider <mail@cynapses.org>
2009-12-11Fix logging problem in match_known_hostAris Adamantiadis1-0/+1
2009-10-29Fixed setting knownhosts in ssh_is_server_known().Andreas Schneider1-5/+7
2009-10-17Allow use of SSH_DIR/ when expanding key pathsAris Adamantiadis1-10/+14
2009-10-17Verify existence of callback before using themAris Adamantiadis1-1/+1
2009-10-15Fixed ssh_get_home_dir and ssh dir to be more portable on UNIX systems.Andreas Schneider1-12/+9
Thanks to Pino Toscano.
2009-10-05Fix a segment fault in privatekey_from_fileVic Lee1-1/+1
Signed-off-by: Vic Lee <llyzs@163.com>
2009-10-02Get rid of the options structure.Andreas Schneider1-22/+21
2009-09-26Fixed doxygen compilation warningsAris Adamantiadis1-1/+1
2009-09-26More include file splittingAris Adamantiadis1-0/+2
2009-09-26More include file movingsAris Adamantiadis1-0/+6
2009-09-25Fixed building with Gcrypt and arith with void*Aris Adamantiadis1-1/+1
2009-09-23Moved lots of declaration out of priv.hAris Adamantiadis1-0/+6
2009-09-23get rid of SSH_SESSIONAris Adamantiadis1-9/+9
2009-09-23Changed the current callback sys to be scalableAris Adamantiadis1-14/+11
2009-09-22Use new ssh options interface in keyfiles.Andreas Schneider1-3/+3
2009-09-21Added more logging output for publickey auth.Andreas Schneider1-5/+11
2009-09-10Reformat lowercase function.Andreas Schneider1-4/+7
2009-09-10Fixed possible memory leak in lowercase function.Dmitry V. Krivenok1-4/+5
If user passed NULL pointer to lowercase() function, duplicated string "new" wasn't freed before return. Signed-off-by: Dmitry V. Krivenok <krivenok@orangesystem.ru> Signed-off-by: Andreas Schneider <mail@cynapses.org>
2009-09-09Add a portable ssh_mkdir function for Windows.Andreas Schneider1-1/+1
2009-08-26Fix ssh_write_knownhost() if ~/.ssh doesn't exist.Andreas Schneider1-3/+22