Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | x509: Properly wrap keyid in authorityKeyIdentifier in attribute certificates | Tobias Brunner | 2016-06-06 | 1 | -1/+2 |
| | | | | | | | The correct encoding got lost in bdec2e4f5291 ("refactored openac and its attribute certificate factory"). Fixes #1370. | ||||
* | Allow msSmartcardLogon EKU to be built | Andreas Steffen | 2015-12-11 | 1 | -2/+2 |
| | |||||
* | Print OCSP single responses | Andreas Steffen | 2015-12-11 | 1 | -2/+40 |
| | |||||
* | Explicitly mention SHA2 algorithm in BLISS OIDs and signature schemes | Andreas Steffen | 2015-11-06 | 1 | -2/+2 |
| | |||||
* | x509: Use subjectKeyIdentifier provided by issuer cert when checking CRL issuer | Tobias Brunner | 2015-03-06 | 1 | -18/+15 |
| | | | | | | | | | Some CAs don't use SHA-1 hashes of the public key as subjectKeyIdentifier and authorityKeyIdentifier. If that's the case we can't force the calculation of the hash to compare that to authorityKeyIdentifier in the CRL, instead we use the subjectKeyIdentifier stored in the issuer certificate, if available. Otherwise, we fall back to the SHA-1 hash (or comparing the DNs) as before. | ||||
* | x509: Fix public key reference leak if authority key identifier does not match | Martin Willi | 2015-02-06 | 1 | -10/+12 |
| | |||||
* | Implemented full BLISS support for IKEv2 public key authentication and the ↵ | Andreas Steffen | 2014-11-29 | 5 | -7/+11 |
| | | | | pki tool | ||||
* | Skip the unused bits field of the ASN.1 BIT STRING encoding | Andreas Steffen | 2014-11-29 | 1 | -1/+1 |
| | |||||
* | x509: Check return value when signing attribute certificates | Martin Willi | 2014-06-04 | 1 | -9/+16 |
| | | | | | | In addition that this lets AC generation fail properly if private key signing fails, it also fixes an issue when compiling on Windows with MinGW 4.8.1, where for some reason the attributeCertificateInfo got encoded incorrectly. | ||||
* | x509: Undef OCSP_RESPONSE from <wincrypt.h> before using it | Martin Willi | 2014-06-04 | 1 | -0/+5 |
| | |||||
* | plugins: Don't link with -rdynamic on Windows | Martin Willi | 2014-06-04 | 1 | -1/+1 |
| | |||||
* | x509: Remove some unused ASN1 OID constants | Martin Willi | 2014-05-16 | 2 | -25/+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. | ||||
* | x509: Initialize certs when building optionalSignature for OCSP requests | Tobias Brunner | 2014-04-09 | 1 | -1/+1 |
| | |||||
* | Added support for msSmartcardLogon EKU | Andreas Steffen | 2014-04-08 | 1 | -3/+10 |
| | |||||
* | x509: CERT_DECODE actually requires KEY_ANY | Tobias Brunner | 2014-03-31 | 1 | -3/+1 |
| | | | | | More specific decoders might still be needed, but the x509 plugin should not care which ones. | ||||
* | x509: Match acert has_subject() against entityName or holder serial | Martin Willi | 2014-03-31 | 1 | -5/+25 |
| | | | | | This allows us to find attribute certificates for a subject certificate in credential sets. | ||||
* | x509: Replace the comma separated string AC group builder with a list based one | Martin Willi | 2014-03-31 | 1 | -5/+5 |
| | |||||
* | x509: Integrate IETF attribute handling, and obsolete ietf_attributes_t | Martin Willi | 2014-03-31 | 1 | -9/+184 |
| | | | | | The ietf_attributes_t class is used for attribute certificates only these days, and integrating them to x509_ac_t simplifies things significantly. | ||||
* | x509: Replace fixed acert group string getter by a more dynamic group enumerator | Martin Willi | 2014-03-31 | 1 | -3/+3 |
| | |||||
* | x509: Skip parsing of acert chargingIdentity, as we don't use it anyway | Martin Willi | 2014-03-31 | 1 | -9/+1 |
| | |||||
* | x509: Fix some whitespaces and do some minor style cleanups in acert | Martin Willi | 2014-03-31 | 1 | -72/+76 |
| | |||||
* | 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 | 2 | -2/+2 |
| | |||||
* | automake: replace INCLUDES by AM_CPPFLAGS | Martin Willi | 2013-07-18 | 1 | -3/+4 |
| | | | | | | INCLUDES are now deprecated and throw warnings when using automake 1.13. We now also differentiate AM_CPPFLAGS and AM_CFLAGS, where includes and defines are passed to AM_CPPFLAGS only. | ||||
* | Recognize critical IssuingDistributionPoint CRL extension | Andreas Steffen | 2013-07-12 | 1 | -0/+3 |
| | |||||
* | 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 | 6 | -6/+6 |
| | |||||
* | Moved data structures to new collections subfolder | Tobias Brunner | 2012-10-24 | 6 | -6/+6 |
| | |||||
* | Make sure first argument is an int when using %.*s to print e.g. chunks | Tobias Brunner | 2012-09-28 | 1 | -1/+1 |
| | |||||
* | Properly initialize chunk for extension OID when parsing CRLs | Tobias Brunner | 2012-09-28 | 1 | -1/+1 |
| | |||||
* | Add a return value to hasher_t.allocate_hash() | Martin Willi | 2012-07-16 | 3 | -21/+28 |
| | |||||
* | Check rng return value when generating OCSP nonces | Tobias Brunner | 2012-07-16 | 1 | -7/+7 |
| | |||||
* | certificate_t->issued_by takes an argument to receive signature scheme | Martin Willi | 2012-06-12 | 6 | -10/+37 |
| | |||||
* | Fixed return values of several functions (e.g. return FALSE for pointer types). | Tobias Brunner | 2012-05-31 | 1 | -1/+1 |
| | |||||
* | Certificate decoding soft-depends on public key decoding of specific types | Martin Willi | 2012-05-02 | 1 | -0/+3 |
| | |||||
* | 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 | 3 | -7/+7 |
| | | |||||
* | | Properly ASN.1 encode dates in certificates depending on the year. | Tobias Brunner | 2011-12-23 | 3 | -7/+7 |
| | | |||||
* | | Log most X.509 related messages in new ASN log group. | Tobias Brunner | 2011-12-16 | 5 | -57/+57 |
|/ | |||||
* | Fix resource leak in x509_ocsp_response | Thomas Egerer | 2011-11-04 | 1 | -0/+4 |
| | |||||
* | Add features support to x509 plugin | Andreas Steffen | 2011-10-26 | 1 | -42/+38 |
| | |||||
* | Migrated x509_pkcs10 to INIT/METHOD macros | Andreas Steffen | 2011-09-29 | 1 | -78/+52 |
| | |||||
* | Migrated x509_ocsp_response to INIT/METHOD macros | Andreas Steffen | 2011-09-29 | 1 | -84/+58 |
| | |||||
* | Migrated x509_ocsp_request to INIT/METHOD macros | Andreas Steffen | 2011-09-28 | 1 | -75/+51 |
| | |||||
* | Migrated x509_ac to INIT/METHOD macros | Andreas Steffen | 2011-09-28 | 1 | -107/+63 |
| | |||||
* | Replaced simple iterator usages. | Tobias Brunner | 2011-07-06 | 1 | -3/+3 |
| |