Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | imcv: Added EFI HCRTM event | Andreas Steffen | 2016-06-30 | 1 | -2/+7 | |
| | ||||||
* | testing: Version bump to 4.6.3 kernel and strongSwan 5.5.0 | Andreas Steffen | 2016-06-30 | 2 | -3/+2435 | |
| | ||||||
* | aikgen: Fix computation of key ID of the AIK public key | Tobias Brunner | 2016-06-30 | 1 | -7/+8 | |
| | | | | We don't have direct access to the modulus and exponent of the key anymore. | |||||
* | libtpmtss: Define missing Doxygen group and fix some comments | Tobias Brunner | 2016-06-30 | 5 | -7/+9 | |
| | ||||||
* | libimcv: Fix Doxygen comment | Tobias Brunner | 2016-06-30 | 1 | -1/+1 | |
| | ||||||
* | testing: Add ikev1/net2net-esn scenario | Tobias Brunner | 2016-06-29 | 9 | -0/+117 | |
| | ||||||
* | ikev1: Add support for extended sequence numbers | Thomas Egerer | 2016-06-29 | 1 | -3/+17 | |
| | | | | Signed-off-by: Thomas Egerer <thomas.egerer@secunet.com> | |||||
* | plugin-loader: Allow selective modification of the default plugin list | Tobias Brunner | 2016-06-29 | 1 | -10/+24 | |
| | | | | | | | This change allows selectively modifying the default plugin list by setting the `load` setting of individual plugins (e.g. to disable them or to change their priority) without enabling charon.load_modular and having to configure a section and a load statement for every plugin. | |||||
* | Merge branch 'openssl-1.1.0' | Tobias Brunner | 2016-06-29 | 17 | -108/+372 | |
|\ | | | | | | | | | | | This adds support for OpenSSL 1.1.0. Several APIs have changed and it makes all types opaque, which requires using new getter/setter functions. For older versions fallbacks are provided. | |||||
| * | leak-detective: Try to properly free allocations after deinitialization | Tobias Brunner | 2016-06-29 | 1 | -0/+13 | |
| | | | | | | | | | | | | | | | | If a function we whitelist allocates memory while leak detective is enabled but only frees it after LD has already been disabled, free() will get called with invalid pointers (not pointing to the actually allocated memory by LD), which will cause checks in the C library to fail and the program to crash. This tries to detect such cases and calling free with the correct pointer. | |||||
| * | openssl: Whitelist OPENSSL_init_crypto() and others in leak detective | Tobias Brunner | 2016-06-29 | 1 | -0/+4 | |
| | | | | | | | | | | | | | | | | | | Lots of static data is allocated in this function, which isn't freed until the library is unloaded (we can't call OPENSSL_cleanup() as initialization would fail when calling it again later). When enabling the leak detective the test runner eventually crashes as all the data allocated during initialization has an invalid size when freed after leak detective has been unloaded. | |||||
| * | openssl: Update GCM/crypter API to OpenSSL 1.1.0 | Tobias Brunner | 2016-06-29 | 1 | -13/+13 | |
| | | ||||||
| * | openssl: Update HMAC API to OpenSSL 1.1.0 | Tobias Brunner | 2016-06-29 | 1 | -9/+25 | |
| | | ||||||
| * | openssl: Don't use deprecated RAND_pseudo_bytes() | Tobias Brunner | 2016-06-29 | 1 | -7/+0 | |
| | | ||||||
| * | openssl: Update PKCS#12 API to OpenSSL 1.1.0 | Tobias Brunner | 2016-06-29 | 1 | -1/+5 | |
| | | ||||||
| * | openssl: Update PKCS#7 API to OpenSSL 1.1.0 | Tobias Brunner | 2016-06-29 | 1 | -3/+7 | |
| | | ||||||
| * | openssl: Update CRL API to OpenSSL 1.1.0 | Tobias Brunner | 2016-06-29 | 1 | -7/+42 | |
| | | | | | | | | | | | | There is currently no way to compare the outer and inner algorithms encoded in a parsed CRL. X509_CRL_verify() does not seem to check that either, though (unlike X509_verify()). | |||||
| * | openssl: Update x509 API to OpenSSL 1.1.0 | Tobias Brunner | 2016-06-29 | 1 | -12/+48 | |
| | | ||||||
| * | openssl: Update ECDSA API to OpenSSL 1.1.0 | Tobias Brunner | 2016-06-29 | 2 | -5/+24 | |
| | | ||||||
| * | openssl: Update RSA API to OpenSSL 1.1.0 | Tobias Brunner | 2016-06-29 | 2 | -16/+52 | |
| | | ||||||
| * | openssl: Make some utilities take const BIGNUM pointers | Tobias Brunner | 2016-06-29 | 2 | -4/+6 | |
| | | ||||||
| * | openssl: Add macro to define fallback functions for non-opaque OpenSSL versions | Tobias Brunner | 2016-06-29 | 1 | -0/+38 | |
| | | ||||||
| * | openssl: Update DH API to OpenSSL 1.1.0 | Tobias Brunner | 2016-06-29 | 1 | -11/+41 | |
| | | ||||||
| * | openssl: Update crypter API to OpenSSL 1.1.0 | Tobias Brunner | 2016-06-29 | 1 | -12/+17 | |
| | | | | | | | | | | EVP_CIPHER and EVP_CIPHER_CTX are now opaque types, the getters already existed before. | |||||
| * | openssl: Fix mapping from ASN1 to chunk_t with OpenSSL 1.1.0 | Tobias Brunner | 2016-06-29 | 1 | -1/+7 | |
| | | | | | | | | ASN1_OBJECT is now opaque. | |||||
| * | openssl: Update initialization and cleanup for OpenSSL 1.1.0 | Tobias Brunner | 2016-06-29 | 1 | -7/+17 | |
| | | | | | | | | | | | | We can't call OPENSSL_cleanup() as that would prevent us from re-initializing the library again (which we use in the Android app, that loads/unloads plugins). | |||||
| * | openssl: OpenSSL 1.1.0 is thread-safe so we don't have to setup callbacks | Tobias Brunner | 2016-06-29 | 1 | -0/+13 | |
|/ | ||||||
* | testing: Ignore tests/local directory | Tobias Brunner | 2016-06-29 | 1 | -0/+1 | |
| | | | | | This could be used for experimental test scenarios that should not get tracked in the repository. | |||||
* | android: Actually add Android.mk for libtpmtss | Tobias Brunner | 2016-06-28 | 1 | -0/+32 | |
| | ||||||
* | travis: Disable tss-tss2 and aikpub2 but enable TrouSerS and build aikgen | Tobias Brunner | 2016-06-28 | 1 | -2/+5 | |
| | | | | Ubuntu 12.04 does not provide libtss2-dev. | |||||
* | configure: Enable respective TSS if aikgen/-pub2 are enabled | Tobias Brunner | 2016-06-28 | 1 | -2/+10 | |
| | ||||||
* | android: Fix build after adding libtpmtss | Tobias Brunner | 2016-06-28 | 4 | -4/+7 | |
| | ||||||
* | Version bump to 5.5.0dr15.5.0dr1 | Andreas Steffen | 2016-06-26 | 2 | -1/+9 | |
| | ||||||
* | Merge branch 'tpm2' | Andreas Steffen | 2016-06-26 | 43 | -1004/+3198 | |
|\ | | | | | | | | | | | The libtpmtss library supports both TPM 1.2 and TPM 2.0 Trusted Platform Modules. Features comprise capability discovery, listing of PCRs, AIK generation and quote signatures. | |||||
| * | libtpmtss: Added to integrity checks | Andreas Steffen | 2016-06-26 | 4 | -0/+19 | |
| | | ||||||
| * | aikpub2: Output AIK signature algorithm | Andreas Steffen | 2016-06-26 | 1 | -1/+14 | |
| | | ||||||
| * | Refactoring to tpm_tss_quote_info object | Andreas Steffen | 2016-06-26 | 24 | -397/+923 | |
| | | ||||||
| * | libimcv: Changed debug level for functional components from 2 to 3 | Andreas Steffen | 2016-06-26 | 1 | -2/+2 | |
| | | ||||||
| * | libtpmtss: Implemented TSS2 quote() method | Andreas Steffen | 2016-06-26 | 2 | -23/+142 | |
| | | ||||||
| * | libtpmtss: Implemented TSS2 read_pcr() method | Andreas Steffen | 2016-06-22 | 1 | -6/+114 | |
| | | ||||||
| * | libimcv: migrate pts to tpm_tss | Andreas Steffen | 2016-06-22 | 12 | -496/+572 | |
| | | ||||||
| * | libtpmtss: Get TPM 2.0 capabilities | Andreas Steffen | 2016-06-22 | 4 | -2/+227 | |
| | | ||||||
| * | libtpmtss: Retrieve TPM 1.2 version info | Andreas Steffen | 2016-06-22 | 3 | -3/+75 | |
| | | ||||||
| * | Created libtpmtss library handling access to v1.2 and v2.0 TPMs | Andreas Steffen | 2016-06-22 | 15 | -403/+927 | |
| | | ||||||
| * | aikpub2: --handle option retrieves public key from TPM 2.0 NVRAM | Andreas Steffen | 2016-06-22 | 2 | -30/+147 | |
| | | ||||||
| * | aikpub2: Convert TSS 2.0 AIK public key blob into PKCS#1 format | Andreas Steffen | 2016-06-22 | 7 | -5/+400 | |
|/ | ||||||
* | testing: Start charon before Apache in tnc/tnccs-20-pdp-pt-tls | Tobias Brunner | 2016-06-21 | 1 | -1/+1 | |
| | | | | | | | | | | | | | The change in c423d0e8a124 ("testing: Fix race in tnc/tnccs-20-pdp-pt-tls scenario") is not really ideal as now the vici plugin might not yet be ready when `swanctl --load-creds` is called. Perhaps starting charon before Apache causes enough delay. Once we switch to charon-systemd this isn't a problem anymore as starting the unit will block until everything is up and ready. Also, the individual swanctl calls will be redundant as the default service unit calls --load-all. But start scripts do run before charon-systemd signals that the daemon is ready, so using these would work too then. | |||||
* | testing: Only load selected plugins in swanctl | Tobias Brunner | 2016-06-20 | 1 | -0/+4 | |
| | | | | | | | | | The main issue is that the ldap and curl plugins, or rather the libraries they use, initialize GnuTLS (curl, strangely, even when it is, by its own account, linked against OpenSSL). Some of these allocations are only freed once the libraries are unloaded. This means that the leak detective causes invalid frees when swanctl is terminated and libraries are unloaded after the leak detective is already deinitialized. | |||||
* | Merge branch 'exchange-collisions' | Tobias Brunner | 2016-06-17 | 54 | -329/+6479 | |
|\ | | | | | | | | | | | | | | | | | | | Improves the handling of IKEv2 exchange collisions in several corner cases. TEMPORARY_FAILURE and CHILD_SA_NOT_FOUND notifies that were defined with RFC 7296 are now handled and sent as appropriate. The behavior in these situations is tested with new unit tests. Fixes #379, #464, #876, #1293. | |||||
| * | unit-tests: Add tests for expires after CHILD_SA rekeying | Tobias Brunner | 2016-06-17 | 1 | -0/+129 | |
| | |