summaryrefslogtreecommitdiffstats
path: root/src/pki.c
Commit message (Collapse)AuthorAgeFilesLines
* pki: Add support for ECDSA private key signing.Andreas Schneider2013-10-181-14/+34
|
* pki: Add the type as a char pointer.Andreas Schneider2013-10-181-1/+1
|
* doc: Improve the PKI documentation a bit.Andreas Schneider2013-09-101-14/+18
|
* src: Migrate to SSH_LOG.Andreas Schneider2013-07-141-2/+1
|
* pki: fix commentsAris Adamantiadis2013-07-131-2/+2
|
* Server: fix rekeyingAris Adamantiadis2013-07-131-5/+5
|
* pki: Limit privkey to 4M for now.Andreas Schneider2013-06-171-0/+6
|
* pki: Fix a resource leak on error.Andreas Schneider2013-06-171-0/+3
|
* pki: Use fstat() after opening the file.Andreas Schneider2013-06-131-16/+16
|
* pki: Add a size limit for pubkey files.Andreas Schneider2012-11-211-1/+1
|
* pki: Fix integer overflow in ssh_pki_import_privkey_file().Xi Wang2012-10-221-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 Schneider2012-10-121-0/+1
| | | | Found by Coverity.
* pki: Fix a possible null pointer dereference.Andreas Schneider2012-10-121-3/+3
| | | | Found by Coverity.
* pki: Make error handling code reachable again.Andreas Schneider2012-10-091-1/+1
| | | | Found by Coverity.
* pki: Check for no memory available calling ssh_key_new().Andreas Schneider2012-10-071-0/+4
|
* pki: Handle error of pki_import_pubkey_buffer() correctly.Andreas Schneider2012-10-071-1/+3
|
* pki: Open privkey file in binary mode.Andreas Schneider2012-09-041-1/+1
| | | | This is needed to correctly detect carriage return.
* pki: Add ecdsa support for signature verification.Andreas Schneider2012-02-041-8/+24
|
* pki: Fix ssh_pki_log function.Andreas Schneider2012-02-041-1/+1
|
* pki: Don't free a const key!Andreas Schneider2012-02-041-1/+0
|
* pki: Update copyright.Andreas Schneider2012-02-041-1/+1
|
* pki: Fix build if you don't have ECC support.Andreas Schneider2012-02-041-8/+0
|
* pki: Add support to generate ecdsa keys.Andreas Schneider2012-02-041-4/+13
|
* pki: Add support to import ecdsa pubkeys.Andreas Schneider2012-02-041-1/+38
|
* pki: Add support to import ecdsa private keys.Andreas Schneider2012-02-041-0/+4
|
* pki: Fix typo in error message.Andreas Schneider2012-02-041-1/+1
|
* pki: Add a ssh_key_cmp() function.Andreas Schneider2011-10-291-0/+34
|
* pki: ssh_pki_generateAris Adamantiadis2011-09-241-0/+43
| | | | for both gcrypt and openssl
* pki: null ptr checkAris Adamantiadis2011-09-181-1/+5
|
* pki: Use ssh_log_function() for ssh_pki_log().Andreas Schneider2011-09-171-4/+5
|
* pki: Use ssh_string_get_char().Andreas Schneider2011-09-081-19/+2
|
* pki: Add ssh_pki_export_pubkey_rsa1().Andreas Schneider2011-09-051-0/+8
|
* pki: Add ecdsa key support.Andreas Schneider2011-09-021-0/+7
|
* pki: Check the type of the key blob earlier.Andreas Schneider2011-08-301-2/+9
|
* pki: Use consistent API for ssh_pki_export_privkey_to_pubkey().Andreas Schneider2011-08-301-5/+19
|
* pki: Use consistent API for ssh_pki_export_pubkey_blob().Andreas Schneider2011-08-301-5/+21
|
* pki: Fix session_id hashing.Andreas Schneider2011-08-291-2/+2
| | | | I don't understand why this code worked before. It was completly wrong.
* pki: Refactor ssh_pki_do_sign().Andreas Schneider2011-08-281-10/+11
|
* pki: Add Windows defines.Andreas Schneider2011-08-281-0/+14
|
* pki: Handle hash correctly.Andreas Schneider2011-08-261-12/+10
| | | | | | | 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
* pki: Migrate ssh_pki_do_sign to new pki.Andreas Schneider2011-08-261-20/+26
|
* pki: Add more return values for file importing functions.Andreas Schneider2011-08-231-3/+28
|
* pki: We need only one signature verify blob function.Andreas Schneider2011-08-231-64/+5
| | | | This fixes the build without server.
* agent: Fix memory leak.Andreas Schneider2011-08-221-4/+16
|
* pki: Add ssh_srv_pki_signature_verify_blob().Andreas Schneider2011-08-221-0/+38
|
* pki: Add ssh_pki_signature_verify_blob().Andreas Schneider2011-08-221-0/+59
|
* pki: Add ssh_srv_pki_do_sign_sessionid().Andreas Schneider2011-08-221-0/+43
|
* pki: Add ssh_pki_do_sign_agent().Andreas Schneider2011-08-211-0/+53
|
* pki: Fix possible segfault in ssh_key_type_from_name().Andreas Schneider2011-08-211-19/+23
|
* pki: Create a pki private header file.Andreas Schneider2011-08-211-0/+1
|