Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use https:// in lib/, src/, and m4/ | Tim Rühsen | 2019-03-13 | 1 | -1/+1 |
| | | | | Signed-off-by: Tim Rühsen <tim.ruehsen@gmx.de> | ||||
* | Use https:// for www.gnu.org and www.example.com | Tim Rühsen | 2019-03-13 | 1 | -1/+1 |
| | | | | Signed-off-by: Tim Rühsen <tim.ruehsen@gmx.de> | ||||
* | Fix typos in lib/tmp-fix-typos-in-lib | Tim Rühsen | 2019-01-04 | 1 | -1/+1 |
| | | | | Signed-off-by: Tim Rühsen <tim.ruehsen@gmx.de> | ||||
* | pkcs12: cleanups, and two memory leak fixes | Nikos Mavrogiannopoulos | 2018-11-10 | 1 | -10/+8 |
| | | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> | ||||
* | use a consistent method to mark fall-through in switch cases | Nikos Mavrogiannopoulos | 2018-08-08 | 1 | -1/+1 |
| | | | | | | | | Also document that method in contribution guide. Resolves #306 Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> | ||||
* | Add support for PKCS12 files using GOST MAC | Dmitry Eremin-Solenikov | 2018-06-23 | 1 | -12/+116 |
| | | | | | | | Local PKCS12-based standard derives from RFC 7292 (PKCS #12) in using PBKDF2 to generate MAC key rather than using PKCS12 scheme. Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> | ||||
* | gnutls_pkcs12_simple_parse: set to null vars after deinitializationtmp-fix-pkcs12-crash2 | Nikos Mavrogiannopoulos | 2017-04-30 | 1 | -0/+4 |
| | | | | | | | This avoids having the variables being deinitialized twice during cleanup. Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com> | ||||
* | pkcs12: release CRL data on error path | Nikos Mavrogiannopoulos | 2017-04-28 | 1 | -0/+4 |
| | | | | | | | This addresses issue: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=1295 Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com> | ||||
* | pkcs12: eliminate mem leaks in _pkcs12_decode_safe_contents | Nikos Mavrogiannopoulos | 2017-04-25 | 1 | -2/+3 |
| | | | | | | | | This makes sure we deinitialize previously available elements. This addresses: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=1173 Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com> | ||||
* | cleanups in _pkcs12_decode_safe_contents | Nikos Mavrogiannopoulos | 2017-04-25 | 1 | -14/+6 |
| | | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com> | ||||
* | pkcs12: clean ups in PKCS#12 parsing | Nikos Mavrogiannopoulos | 2017-04-25 | 1 | -2/+10 |
| | | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com> | ||||
* | Avoid using ASN1_MAX_NAME_SIZE directly | Nikos Mavrogiannopoulos | 2017-04-06 | 1 | -2/+2 |
| | | | | | | | | | Since ASN1_MAX_NAME_SIZE refers to a single element in the asn1 tree, it is not suitable to hold the maximum combined name. Instead use a local definition of MAX_NAME_SIZE, which is a multiple of the ASN1_MAX_NAME_SIZE. Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com> | ||||
* | PKCS#12: added support for files with zero salt length in MAC | Nikos Mavrogiannopoulos | 2017-04-04 | 1 | -3/+5 |
| | | | | | | | Resolves #191 Resolves #190 Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com> | ||||
* | doc update | Nikos Mavrogiannopoulos | 2017-03-27 | 1 | -1/+2 |
| | | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com> | ||||
* | deprecated _gnutls_rnd() in favor of exported gnutls_rnd() | Nikos Mavrogiannopoulos | 2016-11-04 | 1 | -1/+1 |
| | |||||
* | several spacing fixes to keep syntax-check happy | Nikos Mavrogiannopoulos | 2016-09-11 | 1 | -2/+2 |
| | |||||
* | gnutls_pkcs12_simple_parse: set the key value to null on failure | David Woodhouse | 2016-08-29 | 1 | -1/+3 |
| | |||||
* | pkcs8: cleaned up PKCS#8 decoding from common code with PKCS#7 | Nikos Mavrogiannopoulos | 2016-08-26 | 1 | -0/+1 |
| | |||||
* | Added support for decrypting PKCS#8 files which use HMAC-SHA256 as PRF | Nikos Mavrogiannopoulos | 2016-08-24 | 1 | -2/+2 |
| | | | | This improves compatibility with new openssl versions. | ||||
* | Fix gnutls_pkcs12_simple_parse to always extract the complete chainstefan-fixes | Stefan Sørensen | 2016-08-08 | 1 | -20/+15 |
| | | | | | | | | | gnutls_pkcs12_simple_parse was only collecting extra certificates that was possible elements of the certificate chain when the extra_certs argument was not NULL. Fix by allways collecting all the certificates, any unneeded certificates are released before returning if extra_certs is NULL anyway. Signed-off-by: Stefan Sørensen <stefan.sorensen@spectralink.com> | ||||
* | several sign-related API changes | Nikos Mavrogiannopoulos | 2016-05-31 | 1 | -2/+3 |
| | | | | | | | | | | This replaces the usage of "int" in functions which could only have accepted an "unsigned" value. Also functions which return unsigned values are explicitly tagged as such. The ABI remains the same with these changes. This allows easier catching of sign/unsigned related errors from the calling applications. | ||||
* | pkcs12: correctly set salt size in gnutls_pkcs12_mac_info | Nikos Mavrogiannopoulos | 2015-11-09 | 1 | -3/+4 |
| | | | | Also eliminate leaks in PKCS #12 parsing. | ||||
* | Removed the 'gnutls_' prefix from files to simplify file naming | Nikos Mavrogiannopoulos | 2015-08-23 | 1 | -5/+5 |
| | |||||
* | doc: avoid using structure for opaque types | Nikos Mavrogiannopoulos | 2015-03-20 | 1 | -14/+14 |
| | |||||
* | use asn1_decode_simple_ber if available | Nikos Mavrogiannopoulos | 2015-03-04 | 1 | -4/+4 |
| | |||||
* | gnutls_pkcs12_simple_parse: doc update | Nikos Mavrogiannopoulos | 2014-12-12 | 1 | -1/+1 |
| | |||||
* | Fix double-free in gnutls_pkcs12_simple_parse() | Chen Hongzhi | 2014-11-05 | 1 | -2/+0 |
| | | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com> | ||||
* | fixed compilation warnings | Nikos Mavrogiannopoulos | 2014-09-25 | 1 | -7/+3 |
| | |||||
* | Re-initialize the ASN.1 structures on every import | Nikos Mavrogiannopoulos | 2014-08-17 | 1 | -5/+30 |
| | | | | | That allows to import a key/certificate on a structure even if the previous import failed. | ||||
* | pkcs12: added check for null OID in gnutls_pkcs12_generate_mac2 | Nikos Mavrogiannopoulos | 2014-08-11 | 1 | -4/+5 |
| | |||||
* | pkcs12: added gnutls_pkcs12_generate_mac2() | Nikos Mavrogiannopoulos | 2014-08-10 | 1 | -13/+32 |
| | | | | That allows a choice on the MAC algorithm to be used. | ||||
* | pkcs12: added gnutls_pkcs12_mac_info to obtain information on the MAC | Nikos Mavrogiannopoulos | 2014-08-10 | 1 | -0/+101 |
| | |||||
* | pkcs12: Allow verification with structures that support other than HMAC-SHA1 ↵ | Nikos Mavrogiannopoulos | 2014-08-10 | 1 | -16/+41 |
| | | | | MACs. | ||||
* | updated doc for gnutls_pkcs12_simple_parse() | Nikos Mavrogiannopoulos | 2014-08-10 | 1 | -5/+8 |
| | |||||
* | pkcs12: increased the number of iterations for MAC | Nikos Mavrogiannopoulos | 2014-08-04 | 1 | -1/+1 |
| | |||||
* | updated documentation for gnutls_pkcs12_simple_parse | Nikos Mavrogiannopoulos | 2014-07-29 | 1 | -16/+12 |
| | |||||
* | several bug fixes due to coverity. | Nikos Mavrogiannopoulos | 2014-04-15 | 1 | -0/+1 |
| | |||||
* | reindented code | Nikos Mavrogiannopoulos | 2013-11-08 | 1 | -1545/+1457 |
| | |||||
* | simplified access to cipher and mac properties to reduce wasted cycles. | Nikos Mavrogiannopoulos | 2013-05-25 | 1 | -2/+4 |
| | |||||
* | doc updates | Nikos Mavrogiannopoulos | 2013-04-08 | 1 | -7/+7 |
| | |||||
* | The HMAC subsystem can now be used for other MAC algorithms, like UMAC. ↵ | Nikos Mavrogiannopoulos | 2013-03-19 | 1 | -8/+8 |
| | | | | UMAC-96 and UMAC-128 were conditionally added. | ||||
* | Use gnutls_realloc_fast everywhere. Suggested by David Woodhouse. | Nikos Mavrogiannopoulos | 2013-02-18 | 1 | -2/+2 |
| | |||||
* | Use LGPLv2.1 in the files their author's agreed to. | Nikos Mavrogiannopoulos | 2013-02-01 | 1 | -1/+1 |
| | |||||
* | doc fix | Nikos Mavrogiannopoulos | 2013-01-05 | 1 | -5/+5 |
| | |||||
* | Added correct since | Nikos Mavrogiannopoulos | 2013-01-05 | 1 | -1/+1 |
| | |||||
* | corrected copyright notices | Nikos Mavrogiannopoulos | 2012-12-06 | 1 | -0/+1 |
| | |||||
* | Import PKCS #12 keys | Nikos Mavrogiannopoulos | 2012-12-06 | 1 | -17/+23 |
| | |||||
* | rewritten ASN.1 handling string subsystems to use the new libtasn1 APIs. | Nikos Mavrogiannopoulos | 2012-11-24 | 1 | -26/+8 |
| | |||||
* | doc update | Nikos Mavrogiannopoulos | 2012-11-19 | 1 | -1/+1 |
| | |||||
* | Added functions to parse the certificate policies extention. | Nikos Mavrogiannopoulos | 2012-11-18 | 1 | -18/+19 |
| | | | | | Added gnutls_x509_crt_get_policy() etc. In addition several updated in the handling of strings in X.509 structures. |