summaryrefslogtreecommitdiffstats
path: root/libssh/auth.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix possible memory corruption (#14)milo2009-08-071-7/+7
| | | | Signed-off-by: Andreas Schneider <mail@cynapses.org>
* Fix SSH1 compilation.Andreas Schneider2009-07-291-3/+3
|
* Don't segfault if the session or the answer is NULL.Andreas Schneider2009-07-231-1/+1
|
* Make the ssh_userauth_kbdint functions to get the prompts const.Andreas Schneider2009-07-231-3/+3
| | | | They shouldn't be modified or free'd by a user.
* Fix a possible crash bug.Andreas Schneider2009-06-091-4/+4
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@775 7dcaeef0-15fb-0310-b436-a5af3365683c
* Fix build warnings.Andreas Schneider2009-06-091-2/+7
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@774 7dcaeef0-15fb-0310-b436-a5af3365683c
* Add missing vim modeline.Andreas Schneider2009-05-131-0/+1
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@765 7dcaeef0-15fb-0310-b436-a5af3365683c
* Fix the vim modeline and place it at the end of the file.Andreas Schneider2009-05-121-3/+0
| | | | 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-18/+18
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@753 7dcaeef0-15fb-0310-b436-a5af3365683c
* Improve ssh_userauth_password().Andreas Schneider2009-04-301-84/+91
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@670 7dcaeef0-15fb-0310-b436-a5af3365683c
* Initialize the vars with NULL to prevent a segfault on error.Andreas Schneider2009-04-301-11/+11
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@669 7dcaeef0-15fb-0310-b436-a5af3365683c
* Improve ssh_userauth_agent_pubkey().Andreas Schneider2009-04-301-42/+44
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@668 7dcaeef0-15fb-0310-b436-a5af3365683c
* Improve ssh_userauth_pubkey().Andreas Schneider2009-04-301-94/+103
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@667 7dcaeef0-15fb-0310-b436-a5af3365683c
* Improve ssh_userauth_offer_pubkey().Andreas Schneider2009-04-301-86/+95
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@666 7dcaeef0-15fb-0310-b436-a5af3365683c
* Improve ssh_userauth_none().Andreas Schneider2009-04-301-65/+73
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@665 7dcaeef0-15fb-0310-b436-a5af3365683c
* Improve ssh_userauth_list().Andreas Schneider2009-04-301-4/+10
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@664 7dcaeef0-15fb-0310-b436-a5af3365683c
* Reformat ssh_auth_list().Andreas Schneider2009-04-301-4/+5
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@663 7dcaeef0-15fb-0310-b436-a5af3365683c
* Improve wait_auth_status().Andreas Schneider2009-04-301-83/+102
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@662 7dcaeef0-15fb-0310-b436-a5af3365683c
* Fix segfault.Andreas Schneider2009-04-301-1/+1
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@661 7dcaeef0-15fb-0310-b436-a5af3365683c
* Add a BURN_STRING macro and use it in auth.c.Andreas Schneider2009-04-301-10/+5
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@660 7dcaeef0-15fb-0310-b436-a5af3365683c
* Improve ask_userauth().Andreas Schneider2009-04-301-11/+15
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@659 7dcaeef0-15fb-0310-b436-a5af3365683c
* Improve the autopubkey authentication.Andreas Schneider2009-04-301-3/+10
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@658 7dcaeef0-15fb-0310-b436-a5af3365683c
* Improve ssh_userauth_kbdint_getprompt.Andreas Schneider2009-04-291-15/+25
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@645 7dcaeef0-15fb-0310-b436-a5af3365683c
* Reformat ssh_userauth_kbdint functions.Andreas Schneider2009-04-291-23/+33
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@644 7dcaeef0-15fb-0310-b436-a5af3365683c
* Improve ssh_userauth_kbdint.Andreas Schneider2009-04-291-61/+85
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@643 7dcaeef0-15fb-0310-b436-a5af3365683c
* Improve kbdauth_send.Andreas Schneider2009-04-291-4/+3
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@642 7dcaeef0-15fb-0310-b436-a5af3365683c
* Improve kbdauth_info_get.Andreas Schneider2009-04-291-69/+107
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@641 7dcaeef0-15fb-0310-b436-a5af3365683c
* Improve kbdauth_init.Andreas Schneider2009-04-291-20/+10
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@640 7dcaeef0-15fb-0310-b436-a5af3365683c
* Improve kbdint_clean.Andreas Schneider2009-04-291-29/+28
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@639 7dcaeef0-15fb-0310-b436-a5af3365683c
* Improve kbdint_free.Andreas Schneider2009-04-291-22/+27
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@638 7dcaeef0-15fb-0310-b436-a5af3365683c
* Improve kbdint_new.Andreas Schneider2009-04-291-7/+9
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@637 7dcaeef0-15fb-0310-b436-a5af3365683c
* Improve auto public key authentication.Andreas Schneider2009-04-281-189/+207
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@636 7dcaeef0-15fb-0310-b436-a5af3365683c
* Rename privatekey_free() to be consistent with publickey_free().Andreas Schneider2009-04-201-5/+5
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@563 7dcaeef0-15fb-0310-b436-a5af3365683c
* Fix memory leak.Andreas Schneider2009-04-171-0/+2
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@526 7dcaeef0-15fb-0310-b436-a5af3365683c
* Use consistent return values for packet_translate().Andreas Schneider2009-04-141-1/+1
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@456 7dcaeef0-15fb-0310-b436-a5af3365683c
* Fix SSHv1 compile errors.Andreas Schneider2009-04-081-2/+2
| | | | | | | Thanks to Norbert Kiesel <nkiesel@tbdnetworks.com> for the patch. git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@424 7dcaeef0-15fb-0310-b436-a5af3365683c
* Check return values of buffer_add_* and packet_send functions.Andreas Schneider2009-04-071-181/+453
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@410 7dcaeef0-15fb-0310-b436-a5af3365683c
* Fix build warnings found with printf checking of ssh_set_error().Andreas Schneider2009-04-051-1/+3
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@405 7dcaeef0-15fb-0310-b436-a5af3365683c
* Fix compile warning (const).Andreas Schneider2009-04-051-2/+15
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@393 7dcaeef0-15fb-0310-b436-a5af3365683c
* Add a return value to ssh_userauth_kbdint_setanswer().Andreas Schneider2009-04-021-13/+23
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@341 7dcaeef0-15fb-0310-b436-a5af3365683c
* Check for errors of memory allocation.Andreas Schneider2009-04-011-7/+38
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@313 7dcaeef0-15fb-0310-b436-a5af3365683c
* Normalize the license in all files and add vim tab instructions.Andreas Schneider2009-03-291-20/+24
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@305 7dcaeef0-15fb-0310-b436-a5af3365683c
* Change the name of the doxygen group to match the others.Andreas Schneider2009-03-211-1/+2
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@284 7dcaeef0-15fb-0310-b436-a5af3365683c
* Replace ssh_say with ssh_log.Andreas Schneider2009-03-111-8/+17
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@256 7dcaeef0-15fb-0310-b436-a5af3365683c
* Rename function to agent_is_running.Andreas Schneider2009-02-091-2/+2
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@236 7dcaeef0-15fb-0310-b436-a5af3365683c
* Fix the ifdefs.Andreas Schneider2009-02-061-3/+2
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@235 7dcaeef0-15fb-0310-b436-a5af3365683c
* Add missing ifdef for ssh-agent support.Andreas Schneider2009-02-061-4/+3
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@234 7dcaeef0-15fb-0310-b436-a5af3365683c
* Complete ssh client agent support.Andreas Schneider2009-02-061-7/+147
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@231 7dcaeef0-15fb-0310-b436-a5af3365683c
* Fix build warnings of the auth code.Andreas Schneider2009-02-021-3/+2
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@205 7dcaeef0-15fb-0310-b436-a5af3365683c
* Start with ssh agent implementation.Andreas Schneider2009-02-021-0/+12
| | | | | | | This is work in progress. git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@200 7dcaeef0-15fb-0310-b436-a5af3365683c