summaryrefslogtreecommitdiffstats
path: root/include/libssh/libssh.h
Commit message (Collapse)AuthorAgeFilesLines
* pki: Add certificate loading functionsAxel Eppe2015-09-071-0/+9
| | | | | | | | | | | | | - ssh_pki_import_cert_base64() - ssh_pki_import_cert_file() - ssh_pki_import_cert_blob() Those functions are currently simple wrappers around their pubkey counterpart. - ssh_pki_copy_cert_to_privkey() This function copies the cert-specific data to a private key. Signed-off-by: Axel Eppe <aeppe@google.com> Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
* pki: Add rsa, dss certificate key type definitionsAxel Eppe2015-09-071-1/+3
| | | | | | | | - Add rsa/dsa (ssh-{rsa,dss}-cert-v01@openssh.com) as key types. - Add a cert_type member in the ssh_key struct. Signed-off-by: Axel Eppe <aeppe@google.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
* client: handle agent forward open requests with callbacksFabiano FidĂȘncio2015-07-071-1/+3
| | | | | Signed-off-by: Fabiano FidĂȘncio <fidencio@redhat.com> Reviewed-by: Aris Adamantiadis <aris@badcode.be>
* agent: Add ssh_set_agent_socketPeter Volpe2015-06-291-0/+1
| | | | | | | | Allow callers to specify their own socket for an ssh agent. Signed-off-by: Peter Volpe <pvolpe@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
* Bump version to 0.7.0Andreas Schneider2015-05-061-1/+1
| | | | Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
* session: add getter for kexalgoJon Simons2014-12-051-0/+1
| | | | | Signed-off-by: Jon Simons <jon@jonsimons.org> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
* crypto: Add ed25519 implementation from OpenSSH.Aris Adamantiadis2014-09-071-1/+2
| | | | Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
* Add options support for setting and getting HMAC algorithmsDirkjan Bussink2014-04-221-0/+4
| | | | | | BUG: https://red.libssh.org/issues/91 Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
* pki crypto: expose new ssh_pki_key_ecdsa_name APIJon Simons2014-04-091-0/+2
| | | | | | | | | | | | | Enable retrieving the "ecdsa-sha2-nistpNNN" name of ECDSA keys with a new 'ssh_pki_key_ecdsa_name' API. This gives more information than the 'ssh_key_type_to_char' API, which yields "ssh-ecdsa" for ECDSA keys. The motivation is that this info is useful to have in a server context. The torture_pki unit test is updated to include the new API, and a few more passes are added to additionally test 384 and 521-bit keys. Signed-off-by: Jon Simons <jon@jonsimons.org> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
* Add session/channel byte/packet countersAudrius Butkevicius2014-02-121-0/+11
| | | | Signed-off-by: Audrius Butkevicius <audrius.butkevicius@elastichosts.com>
* session: add getters for session cipher namesJon Simons2014-02-061-0/+2
| | | | Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
* knownhosts: detect variations of ecdsaAris Adamantiadis2014-02-041-1/+0
|
* doc: correct ssh_channel_read_timeout unitsJon Simons2014-02-021-1/+1
| | | | Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
* known_hosts: add ssh_knownhosts_algorithms()Aris Adamantiadis2014-02-011-0/+1
| | | | | Goal of that function is to test the preferred key exchange methods based on what's available in the known_hosts file
* channel: Fix the name scheme of the forward functions.Andreas Schneider2014-01-161-4/+18
|
* channel: Add ssh_channel_accept_forward().Oleksandr Shneyder2014-01-161-0/+1
| | | | | | | | This works same way as ssh_forward_accept() but can return a destination port of the channel (useful if SSH connection forwarding several TCP/IP ports). Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
* session: Add ssh_get_clientbanner().Jon Simons2013-12-071-0/+1
|
* channels: Add a ssh_channel_read_timeout function.Andreas Schneider2013-12-041-0/+1
|
* pki: Add ssh_pki_import_privkey_file().Andreas Schneider2013-11-271-0/+5
|
* options: Add SSH_OPTIONS_GSSAPI_DELEGATE_CREDENTIALS option.Simo Sorce2013-11-151-1/+2
| | | | | Signed-off-by: Simo Sorce <simo@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
* options: Add SSH_OPTIONS_GSSAPI_CLIENT_IDENTITY option.Andreas Schneider2013-11-151-1/+2
|
* gssapi: Add suppport to set GSSAPI server identity.Andreas Schneider2013-11-151-1/+2
|
* Add ssh_get_poll_flags()Colin Walters2013-11-091-0/+1
| | | | | | | | | | For integration with an external mainloop, we need to know how to replicate libssh's internal poll() calls. We originally through ssh_get_status() was that API, but it's not really - those flags only get updated from the *result* of a poll(), where what we really need is to know how libssh would *start* a poll(). Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
* dh: Add new ssh_get_publickey_hash() function.Andreas Schneider2013-11-061-1/+13
|
* socket: Fix check for pending data.Aris Adamantiadis2013-11-031-1/+5
| | | | | | BUG: https://red.libssh.org/issues/119 Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
* log: Make _ssh_log() public.Andreas Schneider2013-07-211-0/+3
|
* include: Mark ssh_log as depcrecated.Andreas Schneider2013-07-141-3/+3
|
* log: Implment new logging functions.Andreas Schneider2013-07-141-0/+6
|
* server: export ssh_channel_open_x11()Aris Adamantiadis2013-07-131-0/+1
| | | | Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
* server: implement server-side of agent forwardingAris Adamantiadis2013-07-131-0/+1
| | | | Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
* ssh-agent: implement the clientside for agent forwarding auth.Aris Adamantiadis2013-07-131-0/+1
| | | | | | | This can only be used to authenticate the client, not to allow the connected server to transfer agent requests Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
* gssapi: implement ticket delegationAris Adamantiadis2013-07-131-0/+1
| | | | Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
* gssapi: retrieve forwarded (delegated) ticketsAris Adamantiadis2013-07-131-0/+1
| | | | Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
* auth: implement client-side gssapiAris Adamantiadis2013-07-131-0/+1
| | | | Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
* auth: adapt libssh to gssapi-with-mic serverAris Adamantiadis2013-07-131-0/+1
| | | | Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
* include: Fix the LGPL header.Andreas Schneider2013-01-231-12/+11
| | | | | This has been reported by rpmlint: libssh-devel.x86_64: W: incorrect-fsf-address libssh.h
* socket: Add a SSH_WRITE_PENDING socket status.Andreas Schneider2012-07-171-0/+1
|
* options: Add option to specify host keys string.Oliver Gasser2012-07-061-1/+2
| | | | Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
* Ignore and debug messages can be sent using public APIMartin Drasar2012-01-051-0/+2
| | | | | Signed-off-by: Martin Drasar <drasar@ics.muni.cz> Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
* commit a7e14524c4f7903f607cdcd02b83782e89f0a82crofl0r2012-01-021-0/+1
|
* pki: Add a ssh_key_cmp() function.Andreas Schneider2011-10-291-0/+8
|
* dh: Add ssh_get_publickey().Andreas Schneider2011-10-291-1/+1
|
* Implement ssh_options_get_port(ssh_session, unsigned int*).Lee Hambley2011-10-281-0/+1
|
* Implement ssh_options_get(ssh_session, enum ssh_options_e, char**).Lee Hambley2011-10-281-0/+2
|
* pki: ssh_pki_generateAris Adamantiadis2011-09-241-0/+2
| | | | for both gcrypt and openssl
* scp: introduce a 64bits getter to respect ABIAris Adamantiadis2011-09-181-1/+2
|
* log: Improve the logging function.Andreas Schneider2011-09-101-1/+6
|
* log: Add new debug log levels.Andreas Schneider2011-09-101-3/+20
| | | | These should be used in future!
* string: Add ssh_string_get_char().Andreas Schneider2011-09-081-0/+1
|
* channels: Export ssh_channel_poll_timeout().Andreas Schneider2011-09-021-1/+1
|