Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | x509: Add support for signature schemes with parameters | Tobias Brunner | 2017-11-08 | 1 | -39/+55 |
| | | | | | Also adds support for specifying the hash algorithm for attribute certificate signatures. | ||||
* | certificate: Return signature scheme and parameters from issued_by() method | Tobias Brunner | 2017-11-08 | 1 | -9/+15 |
| | | | | | This also required some include restructuring (avoid including library.h in headers) to avoid unresolvable circular dependencies. | ||||
* | private-key: Add optional parameters argument to sign() method | Tobias Brunner | 2017-11-08 | 1 | -1/+2 |
| | |||||
* | public-key: Add optional parameters argument to verify() method | Tobias Brunner | 2017-11-08 | 1 | -1/+2 |
| | |||||
* | certificates: Use shared destructor for x509_cdp_t | Tobias Brunner | 2017-09-18 | 1 | -11/+2 |
| | |||||
* | x509: nameConstraints sequence does not require a loop | Andreas Steffen | 2017-05-29 | 1 | -2/+1 |
| | | | | Fixes: CVE-2017-9023 | ||||
* | asn1-parser: Fix CHOICE parsing | Andreas Steffen | 2017-05-29 | 1 | -53/+59 |
| | | | | Fixes: CVE-2017-9023 | ||||
* | x509: Fix leak when parsing CDPs if an invalid one follows valid ones | Tobias Brunner | 2017-05-23 | 1 | -2/+2 |
| | |||||
* | x509: Manually print CRL/OCSP URIs when fuzzing | Tobias Brunner | 2017-05-23 | 1 | -8/+25 |
| | | | | This avoids a warning about the custom %Y printf specifier. | ||||
* | x509: Fix leak if there is an empty CDP | Tobias Brunner | 2017-05-23 | 1 | -1/+7 |
| | |||||
* | x509: Fix leak if a certificate contains multiple authorityKeyIdentifiers | Tobias Brunner | 2017-05-23 | 1 | -0/+1 |
| | |||||
* | x509: Evaluate return codes of parsing functions | Andreas Steffen | 2017-05-08 | 1 | -39/+123 |
| | |||||
* | x509: Do not mark generated addrblock extension as critical | Martin Willi | 2017-02-27 | 1 | -2/+1 |
| | | | | | | | | | | | | | | While RFC 3779 says we SHOULD mark it is critical, this has severe side effects in practice. The addrblock extension is not widely used nor implemented, and only a few applications can handle this extension. By marking it critical, none of these applications can make use of such certificates where included addrblocks do not matter, such as TLS/HTTPS. If an application wants to make use of addrblocks, that is usually an explicit decision. Then the very same application obviously can handle addrblocks, and there is no need for the extension to be critical. In other words, for local policy checks it is a local matter to handle the extension, hence making it critical is usually not of much help. | ||||
* | x509: Support encoding the RFC 3779 addrblock extension | Martin Willi | 2017-02-27 | 1 | -3/+134 |
| | |||||
* | Allow msSmartcardLogon EKU to be built | Andreas Steffen | 2015-12-11 | 1 | -2/+2 |
| | |||||
* | Skip the unused bits field of the ASN.1 BIT STRING encoding | Andreas Steffen | 2014-11-29 | 1 | -1/+1 |
| | |||||
* | x509: Remove some unused ASN1 OID constants | Martin Willi | 2014-05-16 | 1 | -5/+0 |
| | |||||
* | x509: Don't include authKeyIdentifier in self-signed certificates | Tobias Brunner | 2014-04-09 | 1 | -1/+1 |
| | | | | | As the comment indicates this was the intention in d7be2906433a7dcfefc1fd732587865688dbfe1b all along. | ||||
* | Added support for msSmartcardLogon EKU | Andreas Steffen | 2014-04-08 | 1 | -3/+10 |
| | |||||
* | uclibc only defines strndup(3) if _GNU_SOURCE is defined | Tobias Brunner | 2014-02-19 | 1 | -2/+2 |
| | | | | References #516. | ||||
* | lib: All settings use configured namespace | Tobias Brunner | 2014-02-12 | 1 | -1/+1 |
| | |||||
* | certificate_t.has_subject() matches for certificate serialNumber | Martin Willi | 2012-12-19 | 1 | -0/+4 |
| | |||||
* | Moved debug.[ch] to utils folder | Tobias Brunner | 2012-10-24 | 1 | -1/+1 |
| | |||||
* | Moved data structures to new collections subfolder | Tobias Brunner | 2012-10-24 | 1 | -1/+1 |
| | |||||
* | Add a return value to hasher_t.allocate_hash() | Martin Willi | 2012-07-16 | 1 | -4/+6 |
| | |||||
* | certificate_t->issued_by takes an argument to receive signature scheme | Martin Willi | 2012-06-12 | 1 | -2/+8 |
| | |||||
* | Fixed return values of several functions (e.g. return FALSE for pointer types). | Tobias Brunner | 2012-05-31 | 1 | -1/+1 |
| | |||||
* | Merge branch 'ikev1-clean' into ikev1-master | Martin Willi | 2012-03-20 | 1 | -18/+26 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: configure.in man/ipsec.conf.5.in src/libcharon/daemon.c src/libcharon/plugins/eap_ttls/eap_ttls_peer.c src/libcharon/plugins/eap_radius/eap_radius_accounting.c src/libcharon/plugins/eap_radius/eap_radius_forward.c src/libcharon/plugins/farp/farp_listener.c src/libcharon/sa/ike_sa.c src/libcharon/sa/keymat.c src/libcharon/sa/task_manager.c src/libcharon/sa/trap_manager.c src/libstrongswan/plugins/x509/x509_cert.c src/libstrongswan/utils.h Applied lost changes of moved files keymat.c and task_manager.c. Updated listener_t.message hook signature in new plugins. | ||||
| * | Added support for iKEIntermediate X.509 extended key usage flag. | Tobias Brunner | 2012-03-20 | 1 | -6/+14 |
| | | | | | | | | Mac OS X requires server certificates to have this flag set. | ||||
| * | Some whitespace fixes. | Tobias Brunner | 2012-03-20 | 1 | -22/+22 |
| | | |||||
* | | Fix whitespaces | Adrian-Ken Rueegsegger | 2012-01-12 | 1 | -12/+12 |
| | | |||||
* | | Allow callers to force ASN.1 date encoding as GENERALIZEDTIME. | Tobias Brunner | 2011-12-23 | 1 | -2/+2 |
| | | |||||
* | | Properly ASN.1 encode dates in certificates depending on the year. | Tobias Brunner | 2011-12-23 | 1 | -2/+2 |
| | | |||||
* | | Log most X.509 related messages in new ASN log group. | Tobias Brunner | 2011-12-16 | 1 | -25/+25 |
|/ | |||||
* | fixed parsing of X.509 certificatePolicies | Andreas Steffen | 2011-03-11 | 1 | -4/+4 |
| | |||||
* | [hopefully] fixed pathlen problem on ARM platforms | Andreas Steffen | 2011-02-10 | 1 | -15/+20 |
| | |||||
* | Some typos fixed. | Tobias Brunner | 2011-02-07 | 1 | -1/+1 |
| | |||||
* | introduced libstrongswan.x509.enforce_critical parameter | Andreas Steffen | 2011-02-05 | 1 | -2/+2 |
| | |||||
* | Slightly renamed different policyConstraints to distinguish them better | Martin Willi | 2011-01-05 | 1 | -26/+26 |
| | |||||
* | Added support for inhibitAnyPolicy constraint to x509 plugin | Martin Willi | 2011-01-05 | 1 | -33/+57 |
| | |||||
* | Use a generic getter for all numerical X.509 constraints | Martin Willi | 2011-01-05 | 1 | -14/+13 |
| | |||||
* | Moved CRL distribution point building to an exportable function | Martin Willi | 2011-01-05 | 1 | -29/+43 |
| | |||||
* | Simplified format of x509 CRL URI parsing/enumerator | Martin Willi | 2011-01-05 | 1 | -127/+89 |
| | |||||
* | Added support for policyConstraints to x509 plugin | Martin Willi | 2011-01-05 | 1 | -6/+122 |
| | |||||
* | Slightly renamed X509_NO_PATH_LEN_CONSTRAINT to use it for ↵ | Martin Willi | 2011-01-05 | 1 | -3/+3 |
| | | | | PolicyConstraints, too | ||||
* | Added policyMappings support to x509 plugin | Martin Willi | 2011-01-05 | 1 | -3/+130 |
| | |||||
* | Added certificatePolicy support to x509 plugin | Martin Willi | 2011-01-05 | 1 | -3/+163 |
| | |||||
* | Added support for generating NameConstraints in x509 plugin | Martin Willi | 2011-01-05 | 1 | -4/+74 |
| | |||||
* | Added support for parsing NameConstraints in x509 plugin | Martin Willi | 2011-01-05 | 1 | -0/+59 |
| | |||||
* | Added name constraint enumerator to x509 interface | Martin Willi | 2011-01-05 | 1 | -1/+29 |
| |