Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | pki_gcrypt: Initialize 'type_c' in 'pki_do_sign_sessionid' | Artyom V. Poptsov | 2014-10-02 | 1 | -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 process | Aris Adamantiadis | 2014-01-07 | 1 | -1/+1 |
| | |||||
* | pki_gcrypt: Add pki_private_key_to_pem() stub. | Andreas Schneider | 2013-11-27 | 1 | -0/+13 |
| | |||||
* | pki: Add ecdsa gcrypt stubs. | Andreas Schneider | 2012-02-04 | 1 | -0/+20 |
| | |||||
* | patch pki_gcrypt.c to be compilable without CMake | rofl0r | 2012-01-02 | 1 | -0/+4 |
| | |||||
* | pki: Add a ssh_key_cmp() function. | Andreas Schneider | 2011-10-29 | 1 | -0/+99 |
| | |||||
* | pki: ssh_pki_generate | Aris Adamantiadis | 2011-09-24 | 1 | -0/+27 |
| | | | | for both gcrypt and openssl | ||||
* | pki: Add ssh_pki_export_pubkey_rsa1(). | Andreas Schneider | 2011-09-05 | 1 | -0/+45 |
| | |||||
* | keys: Remove keys.h where it is obsolete. | Andreas Schneider | 2011-08-30 | 1 | -1/+0 |
| | |||||
* | Include stdio.h for snprintf | milo | 2011-08-30 | 1 | -0/+1 |
| | |||||
* | pki: Fix gcrypt includes and update copyright. | Andreas Schneider | 2011-08-28 | 1 | -8/+3 |
| | |||||
* | pki: Get rid of the string.h include in pki_gcrypt.c. | Andreas Schneider | 2011-08-28 | 1 | -17/+28 |
| | |||||
* | pki: Compile pki_gcrypt.c only if we need it. | Andreas Schneider | 2011-08-28 | 1 | -29/+1 |
| | |||||
* | keyfiles: Remove keyfiles.h. | Andreas Schneider | 2011-08-28 | 1 | -1/+0 |
| | |||||
* | keyfiles: Remove try_publickey_from_file(). | Andreas Schneider | 2011-08-28 | 1 | -83/+0 |
| | |||||
* | keyfiles: Make ssh_try_publickey_from_file() legacy. | Andreas Schneider | 2011-08-28 | 1 | -63/+0 |
| | |||||
* | keyfiles: Make ssh_try_publickey_from_file() legacy. | Andreas Schneider | 2011-08-28 | 1 | -78/+0 |
| | |||||
* | pki: Handle hash correctly. | Andreas Schneider | 2011-08-26 | 1 | -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 signature | milo | 2011-08-26 | 1 | -5/+22 |
| | |||||
* | pki: Migrate ssh_pki_do_sign to new pki. | Andreas Schneider | 2011-08-26 | 1 | -23/+36 |
| | |||||
* | pki: Fix memleak in gcrypt pki_publickey_to_blob(). | Andreas Schneider | 2011-08-22 | 1 | -0/+1 |
| | |||||
* | pki: Improve pki gcrypt error reports. | Andreas Schneider | 2011-08-22 | 1 | -4/+8 |
| | |||||
* | pki: Add ssh_pki_signature_verify_blob(). | Andreas Schneider | 2011-08-22 | 1 | -0/+66 |
| | |||||
* | pki: Fix gcrypt pki_signature_from_blob(). | Andreas Schneider | 2011-08-22 | 1 | -0/+1 |
| | |||||
* | pki: Add ssh_srv_pki_do_sign_sessionid(). | Andreas Schneider | 2011-08-22 | 1 | -0/+58 |
| | |||||
* | pki: Ensure sig_blob isn't used uninitialized. | Andreas Schneider | 2011-08-22 | 1 | -1/+3 |
| | |||||
* | pki: Fix ssh_key_dup() with gcrypt. | Andreas Schneider | 2011-08-21 | 1 | -3/+3 |
| | |||||
* | pki: Fix setting flags in ssh_key_dup(). | Andreas Schneider | 2011-08-21 | 1 | -8/+13 |
| | |||||
* | pki: Create a pki private header file. | Andreas Schneider | 2011-08-21 | 1 | -0/+1 |
| | |||||
* | pki: Add ssh_pki_import_signature_blob(). | Andreas Schneider | 2011-08-21 | 1 | -0/+80 |
| | |||||
* | pki: Add ssh_pki_export_signature_blob(). | Andreas Schneider | 2011-08-21 | 1 | -0/+64 |
| | |||||
* | pki: Remove unused variables. | Andreas Schneider | 2011-08-20 | 1 | -3/+0 |
| | |||||
* | pki: Use a consistent naming scheme. | Andreas Schneider | 2011-08-19 | 1 | -1/+1 |
| | |||||
* | misc: Remove session from ssh_get_local_username(). | Andreas Schneider | 2011-08-16 | 1 | -1/+1 |
| | |||||
* | pki: Remove session from ssh_pki_import_privkey_* functions. | Andreas Schneider | 2011-08-16 | 1 | -21/+15 |
| | |||||
* | pki: Make publickey_from_file() a legacy function. | Andreas Schneider | 2011-08-16 | 1 | -85/+0 |
| | |||||
* | pki: Move ssh_privatekey_type and privatekey_free to legacy. | Andreas Schneider | 2011-08-16 | 1 | -35/+0 |
| | |||||
* | Fixed typos in ssh_pki_publickey_to_string | milo | 2011-08-15 | 1 | -10/+10 |
| | |||||
* | pki: Add ssh_pki_publickey_to_string(). | Andreas Schneider | 2011-08-15 | 1 | -0/+178 |
| | |||||
* | pki: Fix ssh_key_dup(). | Andreas Schneider | 2011-08-15 | 1 | -2/+2 |
| | |||||
* | pki: Added ssh_key_dup(). | Andreas Schneider | 2011-08-15 | 1 | -41/+144 |
| | |||||
* | pki: Add ssh_pki_import_pubkey_base64(). | Andreas Schneider | 2011-08-08 | 1 | -0/+32 |
| | |||||
* | pki: Add pki_do_sign(). | Andreas Schneider | 2011-08-08 | 1 | -0/+43 |
| | |||||
* | pki: Move _privatekey_from_file to legacy.c. | Andreas Schneider | 2011-08-08 | 1 | -366/+0 |
| | |||||
* | pki: Create pki_publickey_from_privatekey(). | Andreas Schneider | 2011-08-08 | 1 | -0/+157 |
| | |||||
* | pki: Improve ssh_key_import_private(). | Andreas Schneider | 2011-08-08 | 1 | -62/+0 |
| | |||||
* | pki: Improve ssh_pki_import_privkey_base64(). | Andreas Schneider | 2011-08-08 | 1 | -178/+91 |
| | |||||
* | pki: Move keyfiles to pki_gcrypt.c. | Andreas Schneider | 2011-08-08 | 1 | -0/+1563 |