Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | openssl: Use proper EVP macro to determine size of a hash | Tobias Brunner | 2016-04-15 | 2 | -2/+2 |
| | |||||
* | curl: Handle LibreSSL like OpenSSL in regards to multi-threading | Tobias Brunner | 2016-04-15 | 1 | -1/+1 |
| | | | | | LibreSSL is API compatible so our openssl plugin does not need any changes and it works fine with the curl plugin. | ||||
* | thread: Don't hold mutex when calling cleanup handlers while terminating | Tobias Brunner | 2016-04-13 | 1 | -12/+14 |
| | | | | | | | | | | This could interfere with cleanup handlers that try to acquire mutexes while other threads holding these try to e.g. cancel the threads. As cleanup handlers are only queued by the threads themselves we don't need any synchronization to access the list. Fixes #1401. | ||||
* | pkcs11: Skip zero-padding of r and s when preparing EC signature | Tobias Brunner | 2016-04-05 | 1 | -3/+9 |
| | | | | | | They are zero padded to fill the buffer. Fixes #1377. | ||||
* | chunk: Skip all leading zero bytes in chunk_skip_zero() not just the first | Tobias Brunner | 2016-04-04 | 2 | -14/+18 |
| | |||||
* | string: Gracefully handle NULL in str*eq() macros | Tobias Brunner | 2016-04-04 | 2 | -4/+82 |
| | |||||
* | byteorder: Explicitly check for htoXeXX macros | Tobias Brunner | 2016-03-31 | 1 | -3/+18 |
| | | | | | Some platforms have XetohXX macros instead of XeXXtoh macros, in which case we'd redefine the htoXeXX macros. | ||||
* | proposal: Use standard integer types for static keywords | Tobias Brunner | 2016-03-31 | 1 | -2/+2 |
| | |||||
* | utils: Remove nonsensical typedefs for standard uint types | Tobias Brunner | 2016-03-31 | 1 | -13/+0 |
| | |||||
* | Use u_int32_t legacy type in blowfish header file | Andreas Steffen | 2016-03-24 | 1 | -1/+1 |
| | |||||
* | Use standard unsigned integer types | Andreas Steffen | 2016-03-24 | 131 | -789/+789 |
| | |||||
* | android: Enable build against API level 21 | Tobias Brunner | 2016-03-23 | 1 | -0/+17 |
| | | | | | | | While building against this level in general would break our app on older systems, the NDK will automatically use this level for 64-bit ABI builds (which are not supported in older levels). So to build against 64-bit ABIs we have to support this API level. | ||||
* | Fix some Doxygen issues | Tobias Brunner | 2016-03-11 | 2 | -8/+8 |
| | |||||
* | identification: Make `written` signed to fix error checking when printing ranges | Tobias Brunner | 2016-03-11 | 1 | -3/+3 |
| | |||||
* | Implemented IPv4/IPv6 subnet and range identities | Andreas Steffen | 2016-03-10 | 2 | -79/+563 |
| | | | | | | The IKEv1 IPV4_ADDR_SUBNET, IPV6_ADDR_SUBNET, IPV4_ADDR_RANGE and IPV6_ADDR_RANGE identities have been fully implemented and can be used as owners of shared secrets (PSKs). | ||||
* | auth-cfg: Add a rule to suspend certificate validation constraints | Tobias Brunner | 2016-03-10 | 2 | -0/+18 |
| | |||||
* | credential-manager: Check cache queue when destroying trusted certificate ↵ | Tobias Brunner | 2016-03-10 | 1 | -1/+2 |
| | | | | | | | | | | enumerator We already do this in the trusted public key enumerator (which internally uses the trusted certificate enumerator) but should do so also when this enumerator is used directly (since the public key enumerator has the read lock the additional call will just be skipped there). | ||||
* | credential-manager: Make online revocation checks optional for public key ↵ | Tobias Brunner | 2016-03-10 | 2 | -3/+9 |
| | | | | enumerator | ||||
* | library: Add option to register additional namespaces before calling ↵ | Tobias Brunner | 2016-03-08 | 2 | -2/+43 |
| | | | | | | | | | | library_init() Because settings are already accessed in library_init(), calling add_fallback() externally after calling library_init() is not ideal. This way namespaces already serve as fallback while library_init() is executed and they are also in the correct order so that libstrongswan is always the last root section. | ||||
* | linked-list: Add method to compare two lists of objects for equality | Tobias Brunner | 2016-03-08 | 3 | -2/+166 |
| | |||||
* | byteorder: Simplify htoun64/untoh64 functions | Tobias Brunner | 2016-03-04 | 1 | -27/+0 |
| | |||||
* | byteorder: Always define be64toh/htobe64 macros | Tobias Brunner | 2016-03-04 | 1 | -20/+30 |
| | |||||
* | auth-cfg: Make IKE signature schemes configurable | Tobias Brunner | 2016-03-04 | 5 | -37/+187 |
| | | | | | | This also restores the charon.signature_authentication_constraints functionality, that is, if no explicit IKE signature schemes are configured we apply all regular signature constraints as IKE constraints. | ||||
* | ikev2: Diversify signature scheme rule | Thomas Egerer | 2016-03-04 | 2 | -30/+68 |
| | | | | | | | This allows for different signature schemes for IKE authentication and trustchain verification. Signed-off-by: Thomas Egerer <thomas.egerer@secunet.com> | ||||
* | thread: Allow thread ID to be value returned by gettid() | Thomas Egerer | 2016-03-04 | 3 | -14/+32 |
| | | | | Signed-off-by: Thomas Egerer <thomas.egerer@secunet.com> | ||||
* | libhydra: Remove empty unused library | Tobias Brunner | 2016-03-03 | 1 | -1/+0 |
| | |||||
* | utils: Add enum name for pseudo log group 'any' | Tobias Brunner | 2016-02-05 | 1 | -2/+4 |
| | |||||
* | unit-tests: The pseudonym RDN is now recognized, so use something more exotic | Tobias Brunner | 2016-01-28 | 1 | -3/+3 |
| | |||||
* | Support pseudonym RDN | Andreas Steffen | 2016-01-27 | 3 | -0/+5 |
| | |||||
* | vici: list-cert sends subject, not-before and not-after attributes for pubkeys | Andreas Steffen | 2016-01-09 | 1 | -0/+1 |
| | |||||
* | vici: Support of raw public keys | Andreas Steffen | 2016-01-09 | 2 | -0/+15 |
| | |||||
* | Apply pubkey and signature constraints in vici plugin | Andreas Steffen | 2015-12-17 | 2 | -0/+117 |
| | |||||
* | 128 bit default security strength for IKE and ESP algorithms | Andreas Steffen | 2015-12-17 | 1 | -19/+19 |
| | | | | | | | | | | | | | | | | | The default ESP cipher suite is now AES_CBC-128/HMAC_SHA2_256_128 and requires SHA-2 HMAC support in the Linux kernel (correctly implemented since 2.6.33). The default IKE cipher suite is now AES_CBC-128/HMAC_SHA2_256_128/PRF_HMAC_SHA2_256/ECP_256 if the openssl plugin is loaded or AES_CBC-128/HMAC_SHA2_256_128/PRF_HMAC_SHA2_256/MODP_3072 if ECC is not available. The use of the SHA-1 hash algorithm and the MODP_2048 DH group has been deprecated and ENCR_CHACHA20_POLY1305 has been added to the default IKE AEAD algorithms. | ||||
* | libstrongswan: Updated Android.mk to current Makefile.am | Tobias Brunner | 2015-12-14 | 1 | -1/+2 |
| | |||||
* | 128 bit default security strength requires 3072 bit prime DH group | Andreas Steffen | 2015-12-14 | 3 | -16/+16 |
| | |||||
* | Refactored certificate management for the vici and stroke interfaces5.4.0dr1 | Andreas Steffen | 2015-12-12 | 2 | -30/+130 |
| | |||||
* | Changed some certificate_type_names and added x509_flag_names | Andreas Steffen | 2015-12-11 | 4 | -5/+37 |
| | |||||
* | Allow msSmartcardLogon EKU to be built | Andreas Steffen | 2015-12-11 | 1 | -2/+2 |
| | |||||
* | Print OCSP single responses | Andreas Steffen | 2015-12-11 | 3 | -5/+122 |
| | |||||
* | Standardized printing of certificate information | Andreas Steffen | 2015-12-11 | 3 | -0/+653 |
| | | | | | | | The certificate_printer class allows the printing of certificate information to a text file (usually stdout). This class is used by the pki --print and swanctl --list-certs commands as well as by the stroke plugin. | ||||
* | array: Add an insert/create function for value based arrays | Martin Willi | 2015-12-07 | 3 | -0/+68 |
| | |||||
* | byteorder: Provide a fallback for le32toh/htole32() | Martin Willi | 2015-12-04 | 1 | -0/+20 |
| | | | | | Some older toolchains don't provide these macros, so implement them using the gcc builtins. We also provide 64-bit variants as used by chapoly. | ||||
* | byteorder: Add 32-bit unaligned little-endian conversion functions | Martin Willi | 2015-12-04 | 2 | -21/+27 |
| | |||||
* | watcher: Check for cancellation if poll() fails with EINTR | Martin Willi | 2015-12-04 | 1 | -0/+7 |
| | | | | | | | With LinuxThreads, poll() is unfortunately no cancellation point. It seems that poll gets woken up after cancellation, but we actively must check for cancellation before re-entering poll to properly shut down the watcher thread. | ||||
* | sigwaitinfo() may fail with EINTR if interrupted by an unblocked signal not ↵ | Tobias Brunner | 2015-11-23 | 1 | -1/+4 |
| | | | | | | in the set Fixes #1213. | ||||
* | utils: Use the more low-level __NR_ prefix to refer to the syscall number | Tobias Brunner | 2015-11-17 | 1 | -1/+1 |
| | | | | The __NR_ constants are also defined in the Android headers. | ||||
* | utils: Provide a fallback for sigwaitinfo() if needed | Tobias Brunner | 2015-11-13 | 3 | -30/+36 |
| | | | | | Apparently, not available on Mac OS X 10.10 Yosemite. We don't provide this on Windows. | ||||
* | revocation: Allow CRLs to be encoded in PEM format | Tobias Brunner | 2015-11-12 | 1 | -1/+1 |
| | | | | | | | | | | Since the textual representation for a CRL is now standardized in RFC 7468 one could argue that we should accept that too, even though RFC 5280 explicitly demands CRLs fetched via HTTP/FTP to be in DER format. But in particular for file URIs enforcing that seems inconvenient. Fixes #1203. | ||||
* | curl: Be less strict when considering status codes as errors | Tobias Brunner | 2015-11-12 | 1 | -3/+3 |
| | | | | | | | For file:// URIs the code is 0 on success. We now do the same libcurl would do with CURLOPT_FAILONERROR enabled. Fixes #1203. | ||||
* | auth-cfg: Prefer merged rules over existing ones when moving them | Tobias Brunner | 2015-11-12 | 1 | -3/+3 |
| | | | | | | This is particularly important for single valued rules (e.g. identities). When copying values this is already handled correctly by the enumerator and add(). |