Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | pki: check ssh_buffer_pack return in ssh_pki_do_sign | Jon Simons | 2014-10-02 | 1 | -5/+10 |
| | | | | | | | Check the 'ssh_buffer_pack' return in ssh_pki_do_sign for the ED25519 case. Signed-off-by: Jon Simons <jon@jonsimons.org> Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | ||||
* | pki: fail when pubkey buffer length is not ED25519_PK_LEN | Jon Simons | 2014-10-02 | 1 | -1/+5 |
| | | | | | | | | | Fail fast in 'pki_import_pubkey_buffer' for the ED25519 case if a buffer sized ED25519_PK_LEN can not be retrieved. Before, the 'memcpy' could have read beyond the bounds of 'ssh_string_data(pubkey)'. Signed-off-by: Jon Simons <jon@jonsimons.org> Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | ||||
* | ed25519: Generate, sign and verify keys. | Aris | 2014-09-07 | 1 | -1/+80 |
| | | | | Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | ||||
* | pki: Fix build without ECC support. | Andreas Schneider | 2014-05-09 | 1 | -0/+5 |
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> | ||||
* | Small documentation fix. | Hani Benhabiles | 2014-05-06 | 1 | -2/+2 |
| | | | | | Signed-off-by: Hani Benhabiles <hani@linux.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | ||||
* | pki: Correctly update the ECDSA keytype. | Andreas Schneider | 2014-04-23 | 1 | -1/+8 |
| | |||||
* | pki: Move ssh_pki_key_ecdsa_name() to the correct file. | Andreas Schneider | 2014-04-23 | 1 | -0/+14 |
| | |||||
* | pki: Use SHA-2 for session ID signing with ECDSA keys | Alan Dunn | 2014-03-12 | 1 | -12/+42 |
| | | | | | | | | | Previously, SHA-1 was used always. BUG: https://red.libssh.org/issues/148 Signed-off-by: Alan Dunn <amdunn@gmail.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | ||||
* | pki: Fix the build on OpenSolaris. | Andreas Schneider | 2014-02-12 | 1 | -1/+1 |
| | |||||
* | pki: Fix memory leak with ecdsa signatures. | Andreas Schneider | 2014-02-11 | 1 | -0/+4 |
| | |||||
* | src: Rename buffer_add_data() to ssh_buffer_add_data(). | Andreas Schneider | 2014-01-19 | 1 | -4/+4 |
| | |||||
* | update copyright information | Aris Adamantiadis | 2014-01-07 | 1 | -1/+1 |
| | |||||
* | pki: Fix a memory leak. | Andreas Schneider | 2013-11-28 | 1 | -0/+1 |
| | | | | CID #1132819 | ||||
* | pki: Add ssh_pki_import_privkey_file(). | Andreas Schneider | 2013-11-27 | 1 | -0/+58 |
| | |||||
* | pki: Add support for ECDSA private key signing. | Andreas Schneider | 2013-10-18 | 1 | -14/+34 |
| | |||||
* | pki: Add the type as a char pointer. | Andreas Schneider | 2013-10-18 | 1 | -1/+1 |
| | |||||
* | doc: Improve the PKI documentation a bit. | Andreas Schneider | 2013-09-10 | 1 | -14/+18 |
| | |||||
* | src: Migrate to SSH_LOG. | Andreas Schneider | 2013-07-14 | 1 | -2/+1 |
| | |||||
* | pki: fix comments | Aris Adamantiadis | 2013-07-13 | 1 | -2/+2 |
| | |||||
* | Server: fix rekeying | Aris Adamantiadis | 2013-07-13 | 1 | -5/+5 |
| | |||||
* | pki: Limit privkey to 4M for now. | Andreas Schneider | 2013-06-17 | 1 | -0/+6 |
| | |||||
* | pki: Fix a resource leak on error. | Andreas Schneider | 2013-06-17 | 1 | -0/+3 |
| | |||||
* | pki: Use fstat() after opening the file. | Andreas Schneider | 2013-06-13 | 1 | -16/+16 |
| | |||||
* | pki: Add a size limit for pubkey files. | Andreas Schneider | 2012-11-21 | 1 | -1/+1 |
| | |||||
* | pki: Fix integer overflow in ssh_pki_import_privkey_file(). | Xi Wang | 2012-10-22 | 1 | -0/+5 |
| | | | | | If the file size is ULONG_MAX, the call to malloc() may allocate a small buffer, leading to a memory corruption. | ||||
* | pki: Make sure the key_buf is null terminated. | Andreas Schneider | 2012-10-12 | 1 | -0/+1 |
| | | | | Found by Coverity. | ||||
* | pki: Fix a possible null pointer dereference. | Andreas Schneider | 2012-10-12 | 1 | -3/+3 |
| | | | | Found by Coverity. | ||||
* | pki: Make error handling code reachable again. | Andreas Schneider | 2012-10-09 | 1 | -1/+1 |
| | | | | Found by Coverity. | ||||
* | pki: Check for no memory available calling ssh_key_new(). | Andreas Schneider | 2012-10-07 | 1 | -0/+4 |
| | |||||
* | pki: Handle error of pki_import_pubkey_buffer() correctly. | Andreas Schneider | 2012-10-07 | 1 | -1/+3 |
| | |||||
* | pki: Open privkey file in binary mode. | Andreas Schneider | 2012-09-04 | 1 | -1/+1 |
| | | | | This is needed to correctly detect carriage return. | ||||
* | pki: Add ecdsa support for signature verification. | Andreas Schneider | 2012-02-04 | 1 | -8/+24 |
| | |||||
* | pki: Fix ssh_pki_log function. | Andreas Schneider | 2012-02-04 | 1 | -1/+1 |
| | |||||
* | pki: Don't free a const key! | Andreas Schneider | 2012-02-04 | 1 | -1/+0 |
| | |||||
* | pki: Update copyright. | Andreas Schneider | 2012-02-04 | 1 | -1/+1 |
| | |||||
* | pki: Fix build if you don't have ECC support. | Andreas Schneider | 2012-02-04 | 1 | -8/+0 |
| | |||||
* | pki: Add support to generate ecdsa keys. | Andreas Schneider | 2012-02-04 | 1 | -4/+13 |
| | |||||
* | pki: Add support to import ecdsa pubkeys. | Andreas Schneider | 2012-02-04 | 1 | -1/+38 |
| | |||||
* | pki: Add support to import ecdsa private keys. | Andreas Schneider | 2012-02-04 | 1 | -0/+4 |
| | |||||
* | pki: Fix typo in error message. | Andreas Schneider | 2012-02-04 | 1 | -1/+1 |
| | |||||
* | pki: Add a ssh_key_cmp() function. | Andreas Schneider | 2011-10-29 | 1 | -0/+34 |
| | |||||
* | pki: ssh_pki_generate | Aris Adamantiadis | 2011-09-24 | 1 | -0/+43 |
| | | | | for both gcrypt and openssl | ||||
* | pki: null ptr check | Aris Adamantiadis | 2011-09-18 | 1 | -1/+5 |
| | |||||
* | pki: Use ssh_log_function() for ssh_pki_log(). | Andreas Schneider | 2011-09-17 | 1 | -4/+5 |
| | |||||
* | pki: Use ssh_string_get_char(). | Andreas Schneider | 2011-09-08 | 1 | -19/+2 |
| | |||||
* | pki: Add ssh_pki_export_pubkey_rsa1(). | Andreas Schneider | 2011-09-05 | 1 | -0/+8 |
| | |||||
* | pki: Add ecdsa key support. | Andreas Schneider | 2011-09-02 | 1 | -0/+7 |
| | |||||
* | pki: Check the type of the key blob earlier. | Andreas Schneider | 2011-08-30 | 1 | -2/+9 |
| | |||||
* | pki: Use consistent API for ssh_pki_export_privkey_to_pubkey(). | Andreas Schneider | 2011-08-30 | 1 | -5/+19 |
| | |||||
* | pki: Use consistent API for ssh_pki_export_pubkey_blob(). | Andreas Schneider | 2011-08-30 | 1 | -5/+21 |
| |