Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | plugin-loader: Add facility to register plugin constructors | Tobias Brunner | 2017-05-23 | 2 | -3/+69 | |
| | | | | | | | | | | | | | | Enabled when building monolithically and statically. This should allow us to work around the -whole-archive issue with libtool. If the libraries register the plugin constructors they provide they reference the constructors and will therefore prevent the linker from removing these seemingly unused symbols from the final executable. For use cases where dlsym() can be used, e.g. because the static libraries are manually linked with -whole-archive (Linux) or -force-load (Apple), this can be disabled by passing ss_cv_static_plugin_constructors=no to the configure script. | |||||
* | library: Add compile option to disable memwipe() check | Tobias Brunner | 2017-05-23 | 1 | -0/+6 | |
| | ||||||
* | pem: Don't read beyond line ends | Tobias Brunner | 2017-05-23 | 1 | -2/+2 | |
| | ||||||
* | 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 | |
| | ||||||
* | credential-manager: Prefer local over global sets | Adrian-Ken Rueegsegger | 2017-05-23 | 1 | -7/+7 | |
| | | | | | Invert set enumeration order to first enumerate local and then global credential sets. | |||||
* | tun-device: Use next free TUN device on FreeBSD | Tobias Brunner | 2017-05-19 | 1 | -3/+18 | |
| | | | | | | | | | | | While this API is documented as legacy (and there is a sysctl option to disable it) the documentation also mentions that it will probably stay enabled by default due to compatibility issues with existing applications. With the previous approach only 255 devices could be opened then the daemon had to be restarted. Fixes #2313. | |||||
* | tun-device: TUN devices are not supported on iOS | Tobias Brunner | 2017-05-19 | 1 | -1/+10 | |
| | ||||||
* | af-alg: Fix crypt() definition conflict | Baruch Siach | 2017-05-15 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | Rename the crypt() method to avoid conflict with POSIX crypt(). Fixes the following build failure with musl libc: In file included from ../../../../src/libstrongswan/utils/utils.h:53:0, from ../../../../src/libstrongswan/library.h:101, from af_alg_ops.h:24, from af_alg_ops.c:16: af_alg_ops.c:110:22: error: conflicting types for 'crypt' METHOD(af_alg_ops_t, crypt, bool, ^ ../../../../src/libstrongswan/utils/utils/object.h:99:13: note: in definition of macro 'METHOD' static ret name(union {iface *_public; this;} \ ^ In file included from af_alg_ops.c:18:0: .../host/usr/x86_64-buildroot-linux-musl/sysroot/usr/include/unistd.h:144:7: note: previous declaration of 'crypt' was here char *crypt(const char *, const char *); ^ Closes strongswan/strongswan#72. | |||||
* | x509: Evaluate return codes of parsing functions | Andreas Steffen | 2017-05-08 | 4 | -52/+149 | |
| | ||||||
* | Fixed some typos, courtesy of codespell | Tobias Brunner | 2017-03-23 | 2 | -2/+2 | |
| | ||||||
* | Allow x25519 as an alias of the curve25519 KE algorithm | Andreas Steffen | 2017-03-20 | 1 | -0/+1 | |
| | ||||||
* | Reference Edwards-curve signature RFCs | Andreas Steffen | 2017-03-20 | 3 | -17/+19 | |
| | ||||||
* | utils: chunk_from_hex() skips optional 0x prefix | Andreas Steffen | 2017-03-06 | 2 | -11/+18 | |
| | ||||||
* | settings: Add support for hex integers (0x prefix) via get_int() | Tobias Brunner | 2017-03-02 | 1 | -1/+6 | |
| | ||||||
* | host: Don't log port if it is zero | Tobias Brunner | 2017-03-02 | 2 | -6/+6 | |
| | ||||||
* | traffic-selector: Allow calling set_address() for any traffic selector | Tobias Brunner | 2017-02-27 | 3 | -48/+63 | |
| | | | | | Users may check is_host(), is_dynamic() or includes() before calling this if restrictions are required (most actually already do). | |||||
* | 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 | |
| | ||||||
* | builder: Define a builder part for X.509 RFC 3779 address blocks | Martin Willi | 2017-02-27 | 2 | -0/+3 | |
| | ||||||
* | plugin-loader: Fix hashing of registered plugin features | Tobias Brunner | 2017-02-24 | 1 | -1/+1 | |
| | | | | | | | This strangely never caused any noticeable issues, but was the reason for build failures in certain test cases (mostly BLISS) due to missing plugin features when built with specific options on Travis (was not reproducible locally). | |||||
* | mem-cred: Add methods to add/remove shared keys with unique identifiers | Tobias Brunner | 2017-02-16 | 2 | -6/+107 | |
| | | | | Also added is a method to enumerate the unique identifiers. | |||||
* | mem-cred: Add method to remove a private key with a specific fingerprint | Tobias Brunner | 2017-02-16 | 2 | -2/+38 | |
| | ||||||
* | revocation: More accurately describe the flags to disable OCSP/CRL validation | Tobias Brunner | 2017-02-15 | 1 | -8/+7 | |
| | | | | | | These options disable validation as such, e.g. even from cached CRLs, not only the fetching. Also made the plugin's validate() implementation a no-op if both options are disabled. | |||||
* | unit-tests: Allow default test timeout to be configured via compile option | Thomas Egerer | 2017-02-14 | 1 | -0/+2 | |
| | | | | Signed-off-by: Thomas Egerer <thomas.egerer@secunet.com> | |||||
* | settings: Fix purge if order differs from alphabetical order | Tobias Brunner | 2017-02-07 | 1 | -1/+1 | |
| | ||||||
* | libipsec: Fix Windows build via MinGW | Tobias Brunner | 2017-01-25 | 1 | -0/+7 | |
| | | | | Fixes #2118. | |||||
* | bliss: Increase timeout for sampler unit test | Tobias Brunner | 2017-01-16 | 1 | -2/+2 | |
| | | | | Fixes #2204. | |||||
* | android: Include ref10 subdirectory for curve25519 plugin | Tobias Brunner | 2017-01-16 | 1 | -0/+1 | |
| | | | | Fixes #2201. | |||||
* | revocation: OCSP and/or CRL fetching can be disabled | Andreas Steffen | 2016-12-30 | 1 | -38/+71 | |
| | ||||||
* | Moved Ed25519 tests to libstrongswan | Andreas Steffen | 2016-12-14 | 9 | -141/+27 | |
| | ||||||
* | unit-tests: Completed coverage of hasher, crypter and libnttfft | Andreas Steffen | 2016-12-14 | 3 | -34/+57 | |
| | ||||||
* | Implemented EdDSA for IKEv2 using a pro forma Identity hash function | Andreas Steffen | 2016-12-14 | 5 | -17/+108 | |
| | ||||||
* | Added Ed25519 ref10 implementation from libsodium | Andreas Steffen | 2016-12-14 | 13 | -16/+5789 | |
| | ||||||
* | Added support of EdDSA signatures | Andreas Steffen | 2016-12-14 | 23 | -35/+857 | |
| | ||||||
* | openssl: BoringSSL doesn't provide curve data for ECC Brainpool curves | Tobias Brunner | 2016-12-10 | 1 | -1/+4 | |
| | ||||||
* | android: Optionally build the curve25519 plugin | Tobias Brunner | 2016-12-08 | 1 | -0/+2 | |
| | ||||||
* | android: Optionally build the chapoly plugin | Tobias Brunner | 2016-12-08 | 1 | -0/+2 | |
| | ||||||
* | plugin-loader: Strip '!' from critical plugin names when setting paths | Tobias Brunner | 2016-11-18 | 1 | -1/+1 | |
| | ||||||
* | curve22519: Add a portable backend implemented in plain C | Martin Willi | 2016-11-14 | 4 | -0/+647 | |
| | ||||||
* | curve25519: Add a plugin providing Curve25519 DH using backend drivers | Martin Willi | 2016-11-14 | 8 | -0/+469 | |
| | ||||||
* | test-vectors: Add a Curve25519 DH test vector | Martin Willi | 2016-11-14 | 3 | -0/+36 | |
| | ||||||
* | proposal: Add a curve25519 proposal keyword | Martin Willi | 2016-11-14 | 1 | -0/+1 | |
| | ||||||
* | diffie-hellman: Add DH group identifiers for Curve25519 and Curve448 | Martin Willi | 2016-11-14 | 2 | -3/+14 | |
| | ||||||
* | Fixed in-place update of cached base and delta CRLs | Andreas Steffen | 2016-10-30 | 1 | -4/+4 | |
| | ||||||
* | Newer CRLs replace older versions of the CRL in the cache | Andreas Steffen | 2016-10-26 | 1 | -0/+39 | |
| | ||||||
* | added XOF dependencies of bliss and ntru plugins | Andreas Steffen | 2016-10-18 | 2 | -4/+26 | |
| | ||||||
* | newhope: Fix Doxygen group name | Tobias Brunner | 2016-10-14 | 1 | -1/+1 | |
| | ||||||
* | libnttfft: Fix Doxygen group | Tobias Brunner | 2016-10-14 | 1 | -1/+3 | |
| | ||||||
* | Fixed some typos, courtesy of codespell | Tobias Brunner | 2016-10-14 | 1 | -2/+2 | |
| |