summaryrefslogtreecommitdiffstats
path: root/src/pki_gcrypt.c
Commit message (Collapse)AuthorAgeFilesLines
* pki_gcrypt: Initialize 'type_c' in 'pki_do_sign_sessionid'Artyom V. Poptsov2014-10-021-0/+1
| | | | | | | | | | | | Add missing initialization of 'type_c' field of a SSH signature in 'pki_do_sign_sessionid' procedure. If libssh is compiled with GCrypt, 'dh_handshake_server' fails with "Could not sign the session id" error. The change fixes that. Signed-off-by: Artyom V. Poptsov <poptsov.artyom@gmail.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org> (cherry picked from commit aaae6cd97d3b99061fcf5444d491895690fb4cde)
* pki: fix gcrypt signature processAris Adamantiadis2014-01-071-1/+1
|
* pki_gcrypt: Add pki_private_key_to_pem() stub.Andreas Schneider2013-11-271-0/+13
|
* pki: Add ecdsa gcrypt stubs.Andreas Schneider2012-02-041-0/+20
|
* patch pki_gcrypt.c to be compilable without CMakerofl0r2012-01-021-0/+4
|
* pki: Add a ssh_key_cmp() function.Andreas Schneider2011-10-291-0/+99
|
* pki: ssh_pki_generateAris Adamantiadis2011-09-241-0/+27
| | | | for both gcrypt and openssl
* pki: Add ssh_pki_export_pubkey_rsa1().Andreas Schneider2011-09-051-0/+45
|
* keys: Remove keys.h where it is obsolete.Andreas Schneider2011-08-301-1/+0
|
* Include stdio.h for snprintfmilo2011-08-301-0/+1
|
* pki: Fix gcrypt includes and update copyright.Andreas Schneider2011-08-281-8/+3
|
* pki: Get rid of the string.h include in pki_gcrypt.c.Andreas Schneider2011-08-281-17/+28
|
* pki: Compile pki_gcrypt.c only if we need it.Andreas Schneider2011-08-281-29/+1
|
* keyfiles: Remove keyfiles.h.Andreas Schneider2011-08-281-1/+0
|
* keyfiles: Remove try_publickey_from_file().Andreas Schneider2011-08-281-83/+0
|
* keyfiles: Make ssh_try_publickey_from_file() legacy.Andreas Schneider2011-08-281-63/+0
|
* keyfiles: Make ssh_try_publickey_from_file() legacy.Andreas Schneider2011-08-281-78/+0
|
* pki: Handle hash correctly.Andreas Schneider2011-08-261-26/+33
| | | | | | | Looks like only DSA in grypt needs a leading zero to mark the has as positive. See http://lists.gnupg.org/pipermail/gcrypt-devel/2005-February/000754.html
* Quick fix for gcrypt DSA signaturemilo2011-08-261-5/+22
|
* pki: Migrate ssh_pki_do_sign to new pki.Andreas Schneider2011-08-261-23/+36
|
* pki: Fix memleak in gcrypt pki_publickey_to_blob().Andreas Schneider2011-08-221-0/+1
|
* pki: Improve pki gcrypt error reports.Andreas Schneider2011-08-221-4/+8
|
* pki: Add ssh_pki_signature_verify_blob().Andreas Schneider2011-08-221-0/+66
|
* pki: Fix gcrypt pki_signature_from_blob().Andreas Schneider2011-08-221-0/+1
|
* pki: Add ssh_srv_pki_do_sign_sessionid().Andreas Schneider2011-08-221-0/+58
|
* pki: Ensure sig_blob isn't used uninitialized.Andreas Schneider2011-08-221-1/+3
|
* pki: Fix ssh_key_dup() with gcrypt.Andreas Schneider2011-08-211-3/+3
|
* pki: Fix setting flags in ssh_key_dup().Andreas Schneider2011-08-211-8/+13
|
* pki: Create a pki private header file.Andreas Schneider2011-08-211-0/+1
|
* pki: Add ssh_pki_import_signature_blob().Andreas Schneider2011-08-211-0/+80
|
* pki: Add ssh_pki_export_signature_blob().Andreas Schneider2011-08-211-0/+64
|
* pki: Remove unused variables.Andreas Schneider2011-08-201-3/+0
|
* pki: Use a consistent naming scheme.Andreas Schneider2011-08-191-1/+1
|
* misc: Remove session from ssh_get_local_username().Andreas Schneider2011-08-161-1/+1
|
* pki: Remove session from ssh_pki_import_privkey_* functions.Andreas Schneider2011-08-161-21/+15
|
* pki: Make publickey_from_file() a legacy function.Andreas Schneider2011-08-161-85/+0
|
* pki: Move ssh_privatekey_type and privatekey_free to legacy.Andreas Schneider2011-08-161-35/+0
|
* Fixed typos in ssh_pki_publickey_to_stringmilo2011-08-151-10/+10
|
* pki: Add ssh_pki_publickey_to_string().Andreas Schneider2011-08-151-0/+178
|
* pki: Fix ssh_key_dup().Andreas Schneider2011-08-151-2/+2
|
* pki: Added ssh_key_dup().Andreas Schneider2011-08-151-41/+144
|
* pki: Add ssh_pki_import_pubkey_base64().Andreas Schneider2011-08-081-0/+32
|
* pki: Add pki_do_sign().Andreas Schneider2011-08-081-0/+43
|
* pki: Move _privatekey_from_file to legacy.c.Andreas Schneider2011-08-081-366/+0
|
* pki: Create pki_publickey_from_privatekey().Andreas Schneider2011-08-081-0/+157
|
* pki: Improve ssh_key_import_private().Andreas Schneider2011-08-081-62/+0
|
* pki: Improve ssh_pki_import_privkey_base64().Andreas Schneider2011-08-081-178/+91
|
* pki: Move keyfiles to pki_gcrypt.c.Andreas Schneider2011-08-081-0/+1563