summaryrefslogtreecommitdiffstats
path: root/libssh/keyfiles.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix doc and libgcrypt buildAris Adamantiadis2010-04-281-4/+4
|
* Renamed private type TYPE_RSA to SSH_KEYTYPE_*Aris Adamantiadis2010-04-281-6/+6
| | | | Also made this enum public
* Added ssh_privatekey_type public functionAris Adamantiadis2010-04-281-0/+14
|
* Added first unittest-based bug found :)Aris Adamantiadis2010-04-271-0/+2
|
* Added support for StrictHostKeyChecking and UserKnownHostsFile parameters.Ruben Garcia Azuara2010-04-071-0/+5
| | | | | | | | | | | | | | | | 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>
* Fixed solaris compilation warning and ignore case at host parameter.Ruben Garcia Azuara2010-04-071-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>
* Fixed the documentation of key functions.Andreas Schneider2010-04-041-74/+128
|
* Fix crash when no callback is definedAris Adamantiadis2010-03-281-1/+1
|
* Fixed a memory leak in ssh_try_publickey_from_file.Andreas Schneider2010-03-131-0/+4
|
* Fixed and added support for several identity files.Andreas Schneider2010-03-041-0/+146
|
* Respect known_hosts file set by the user.Andreas Schneider2010-02-071-3/+5
| | | | Thanks to contact@leblanc-simon.eu for the patch.
* File handle need to be closed in case of errors in privatekey_from_fileVic Lee2009-12-231-0/+2
| | | | | Signed-off-by: Vic Lee <llyzs@163.com> Signed-off-by: Andreas Schneider <mail@cynapses.org>
* Added private key type detection feature in privatekey_from_fileVic Lee2009-12-221-5/+29
| | | | | Signed-off-by: Vic Lee <llyzs@163.com> Signed-off-by: Andreas Schneider <mail@cynapses.org>
* Fix logging problem in match_known_hostAris Adamantiadis2009-12-111-0/+1
|
* Fixed setting knownhosts in ssh_is_server_known().Andreas Schneider2009-10-291-5/+7
|
* Allow use of SSH_DIR/ when expanding key pathsAris Adamantiadis2009-10-171-10/+14
|
* Verify existence of callback before using themAris Adamantiadis2009-10-171-1/+1
|
* Fixed ssh_get_home_dir and ssh dir to be more portable on UNIX systems.Andreas Schneider2009-10-151-12/+9
| | | | Thanks to Pino Toscano.
* Fix a segment fault in privatekey_from_fileVic Lee2009-10-051-1/+1
| | | | Signed-off-by: Vic Lee <llyzs@163.com>
* Get rid of the options structure.Andreas Schneider2009-10-021-22/+21
|
* Fixed doxygen compilation warningsAris Adamantiadis2009-09-261-1/+1
|
* More include file splittingAris Adamantiadis2009-09-261-0/+2
|
* More include file movingsAris Adamantiadis2009-09-261-0/+6
|
* Fixed building with Gcrypt and arith with void*Aris Adamantiadis2009-09-251-1/+1
|
* Moved lots of declaration out of priv.hAris Adamantiadis2009-09-231-0/+6
|
* get rid of SSH_SESSIONAris Adamantiadis2009-09-231-9/+9
|
* Changed the current callback sys to be scalableAris Adamantiadis2009-09-231-14/+11
|
* Use new ssh options interface in keyfiles.Andreas Schneider2009-09-221-3/+3
|
* Added more logging output for publickey auth.Andreas Schneider2009-09-211-5/+11
|
* Reformat lowercase function.Andreas Schneider2009-09-101-4/+7
|
* Fixed possible memory leak in lowercase function.Dmitry V. Krivenok2009-09-101-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>
* Add a portable ssh_mkdir function for Windows.Andreas Schneider2009-09-091-1/+1
|
* Fix ssh_write_knownhost() if ~/.ssh doesn't exist.Andreas Schneider2009-08-261-3/+22
|
* Fixed stupid "can't parse known host key" bugAris Adamantiadis2009-08-101-0/+1
| | | | due to a dangling \n in the base64 ...
* Fix build with MSVC.Andreas Schneider2009-07-301-1/+0
|
* Fix compile errors in keyfiles.Andreas Schneider2009-07-271-8/+8
|
* Change PRIVATE_KEY * to ssh_private_keyAris Adamantiadis2009-07-241-8/+8
|
* Changed all PUBLIC_KEY * to ssh_public_keyAris Adamantiadis2009-07-241-1/+1
|
* Changed all occurences of BUFFER * to ssh_bufferAris Adamantiadis2009-07-241-13/+13
|
* Change all occurences of STRING * to ssh_stringAris Adamantiadis2009-07-241-24/+24
|
* replacing keys_struct with ssh_keys_structAris Adamantiadis2009-07-241-1/+1
|
* Fix ssh_write_knownhost() which always returned -1.Andreas Schneider2009-07-211-1/+1
| | | | | fwrite() return the the number of items written not the size of the buffer.
* Fix doxygen to match SSH_SERVER_FILE_NOT_FOUND fixAris Adamantiadis2009-07-141-1/+4
|
* Added return code SSH_SERVER_FILE_NOT_FOUNDAris Adamantiadis2009-07-121-2/+2
| | | | | This error is returned by ssh_is_server_known when known_hosts file does not exist and gives more action to the developer.
* Fixed memory leak in ssh_is_server_known()Aris Adamantiadis2009-06-221-0/+2
|
* Fixed a use-after-free in match_hashed_host()Aris Adamantiadis2009-06-211-1/+1
|
* Fix build warnings.Andreas Schneider2009-06-091-0/+5
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@774 7dcaeef0-15fb-0310-b436-a5af3365683c
* Fix the vim modeline and place it at the end of the file.Andreas Schneider2009-05-121-3/+1
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@763 7dcaeef0-15fb-0310-b436-a5af3365683c
* Change variable names of the keys_struct to avoid conflicts.Andreas Schneider2009-05-111-2/+2
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@753 7dcaeef0-15fb-0310-b436-a5af3365683c
* Improve the autopubkey authentication.Andreas Schneider2009-04-301-26/+7
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@658 7dcaeef0-15fb-0310-b436-a5af3365683c