Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | openssl: Add support for verifying RSASSA-PSS signatures | Tobias Brunner | 2017-11-08 | 2 | -3/+142 | |
| | | ||||||
| * | openssl: Add support for creating RSASSA-PSS signatures | Tobias Brunner | 2017-11-08 | 2 | -5/+132 | |
| | | ||||||
| * | openssl: Add helper to determine EVP_MD from hash_algorithm_t | Tobias Brunner | 2017-11-08 | 2 | -9/+27 | |
| | | ||||||
| * | unit-tests: Add FIPS 186-4 RSA test vectors | Tobias Brunner | 2017-11-08 | 1 | -5/+2428 | |
| | | | | | | | | Excluding SHA-224 and the stuff from FIPS 186-2 (SHA-1, 1024 bit keys). | |||||
| * | gcrypt: Determine missing RSA private key parameters | Tobias Brunner | 2017-11-08 | 1 | -4/+133 | |
| | | | | | | | | | | We only need n, e, and d. The primes p and q and the coefficient for the Chinese remainder algorithm can be determined from these. | |||||
| * | gmp: Determine missing RSA private key parameters | Tobias Brunner | 2017-11-08 | 1 | -4/+109 | |
| | | | | | | | | | | We only need n, e, and d. The parameters for the Chinese remainder algorithm and even p and q can be determined from these. | |||||
| * | openssl: Add functions to determine missing RSA private key parameters | Tobias Brunner | 2017-11-08 | 1 | -9/+223 | |
| | | | | | | | | | | We only need n, e, and d. The parameters for the Chinese remainder algorithm and even p and q can be determined from these. | |||||
| * | signature-params: Add functions to parse/build ASN.1 RSASSA-PSS params | Tobias Brunner | 2017-11-08 | 7 | -1/+421 | |
| | | ||||||
| * | hasher: Add function to determine length of hashes | Tobias Brunner | 2017-11-08 | 2 | -0/+46 | |
| | | ||||||
| * | asn1: Add function to generate an ASN.1 integer from an uint64_t | Tobias Brunner | 2017-11-08 | 3 | -6/+63 | |
| | | ||||||
| * | asn1: Add OID for MGF1 | Tobias Brunner | 2017-11-08 | 1 | -1/+1 | |
| | | ||||||
| * | signature-params: Add struct for RSASSA-PSS parameters | Tobias Brunner | 2017-11-08 | 2 | -0/+42 | |
| | | ||||||
| * | private-key: Add optional parameters argument to sign() method | Tobias Brunner | 2017-11-08 | 29 | -50/+50 | |
| | | ||||||
| * | public-key: Add optional parameters argument to verify() method | Tobias Brunner | 2017-11-08 | 28 | -46/+60 | |
| | | ||||||
| * | public-key: Add RSASSA-PSS signature scheme identifier | Tobias Brunner | 2017-11-08 | 3 | -0/+9 | |
| | | ||||||
| * | asn1: Add OID for RSASSA-PSS | Tobias Brunner | 2017-11-08 | 1 | -0/+1 | |
|/ | ||||||
* | ikev2: Don't use SHA-1 for RFC 7427 signature authentication | Tobias Brunner | 2017-11-08 | 3 | -7/+5 | |
| | | | | | | RFC 8247 demoted it to MUST NOT. References #2427. | |||||
* | proposal: Remove MODP-1024 from default IKE proposal | Tobias Brunner | 2017-11-08 | 1 | -2/+2 | |
| | | | | | | | | RFC 8247 demoted it to SHOULD NOT. This might break connections with Windows clients unless they are configured to use a stronger group or matching weak proposals are configured explicitly on the server. References #2427. | |||||
* | proposal: Remove MD5 from default IKE proposal | Tobias Brunner | 2017-11-08 | 1 | -2/+5 | |
| | | | | | | RFC 8247 demoted MD5 to MUST NOT. References #2427. | |||||
* | proposal: Remove deprecated algorithms from default ESP and AH proposals | Tobias Brunner | 2017-11-08 | 1 | -4/+0 | |
| | | | | | | | This removes algorithms that were deprecated by RFC 8221 (3DES, BF, MD5) from the default proposals for ESP and AH. References #8247. | |||||
* | configure: Fix check for libtpmtss to build it only when needed | Martin Willi | 2017-11-08 | 1 | -1/+1 | |
| | | | | | Testing for x$tpm always yields true, hence libtpmtss is built even if it is unneeded. Properly test against xtrue as we do in all other tests. | |||||
* | pool: Destroy enumerator before deleting existing pool | Tobias Brunner | 2017-11-08 | 1 | -4/+6 | |
| | | | | | | The MySQL client doesn't like overlapping queries on the same connection, so we make sure to destroy the enumerator used to check for an existing pool before deleting it when --replace is used. | |||||
* | kernel-pfkey: Support anti-replay windows > 2k | Tobias Brunner | 2017-11-08 | 1 | -1/+14 | |
| | | | | | | | FreeBSD 11.1 supports a new extension to configure larger anti-replay windows, now configured as number of packets. Fixes #2461. | |||||
* | kernel-pfkey: Don't include keys in SADB_UPDATE message to update IPs on FreeBSD | Tobias Brunner | 2017-11-08 | 1 | -0/+3 | |
| | | | | | | The FreeBSD kernel explicitly rejects messages containing keys for mature SAs. Fixes #2457. | |||||
* | Merge branch 'vici-counters' | Tobias Brunner | 2017-11-08 | 20 | -389/+1211 | |
|\ | | | | | | | | | Refactors the IKE event counters feature of the stroke plugin into a separate plugin, which allows to publish the numbers also via vici/swanctl. | |||||
| * | swanctl: Add --counters command | Tobias Brunner | 2017-11-08 | 3 | -1/+156 | |
| | | ||||||
| * | vici: Add 'get|reset-counters' commands | Tobias Brunner | 2017-11-08 | 4 | -1/+191 | |
| | | ||||||
| * | counters: Move IKE event counter collection from stroke to a separate plugin | Tobias Brunner | 2017-11-08 | 13 | -387/+864 | |
|/ | ||||||
* | systime-fix: Add timeout option to stop waiting for valid system time | Tobias Brunner | 2017-11-08 | 2 | -10/+46 | |
| | | | | | A certificate check is forced once the timeout is reached even if the system time appears to be invalid. | |||||
* | android: Add log message if failed to retrieve user certificate encoding | Tobias Brunner | 2017-11-02 | 1 | -0/+1 | |
| | ||||||
* | testing: Fix output matching of lease time in ipsec pool utility | Tobias Brunner | 2017-11-02 | 1 | -2/+2 | |
| | ||||||
* | shunt-mananger: Make outbound FWD shunt policies optional | Tobias Brunner | 2017-11-02 | 1 | -6/+15 | |
| | ||||||
* | ike: Do not send initial contact only for UNIQUE_NEVER | Thomas Egerer | 2017-11-02 | 3 | -4/+2 | |
| | | | | Signed-off-by: Thomas Egerer <thomas.egerer@secunet.com> | |||||
* | pkcs11: Call C_Finalize() to cancel jobs waiting in C_WaitForSlotEvent() | Tobias Brunner | 2017-11-02 | 1 | -9/+14 | |
| | | | | | | | | | | | | | | | | This is not ideal as the call to C_Finalize() should be the last one via the PKCS#11 API. Since the order in which jobs are canceled is undefined we can't be sure there is no other thread still using the library (it could even be the canceled job that still handles a previous slot event). According to PKCS#11 the behavior of C_Finalize() is undefined while other threads still make calls over the API. However, canceling the thread, as done previously, could also be problematic as PKCS#11 libraries could hold locks while in the C_WaitForSlotEvent() call, which might not get released properly when the thread is just canceled, and which then might cause later calls to other API functions to block. Fixes #2437. | |||||
* | pool: Make pool timeout configurable in other units than hours | Tobias Brunner | 2017-11-02 | 2 | -11/+25 | |
| | ||||||
* | utils: Add helper function to parse time spans from strings | Tobias Brunner | 2017-11-02 | 4 | -42/+132 | |
| | ||||||
* | asn1: Add additional OIDs seen in certificate DNs | Tobias Brunner | 2017-11-02 | 2 | -0/+6 | |
| | ||||||
* | scripts: Add -d option to oid2der to decode DER encoded OIDs | Tobias Brunner | 2017-11-02 | 1 | -0/+17 | |
| | ||||||
* | man: Fix documentation of inbound mark behavior in ipsec.conf(5) | Tobias Brunner | 2017-11-02 | 1 | -5/+5 | |
| | ||||||
* | vici: Make setting mark on inbound SA configurable | Tobias Brunner | 2017-11-02 | 2 | -18/+42 | |
| | ||||||
* | child-cfg: Optionally set mark on inbound SA | Tobias Brunner | 2017-11-02 | 2 | -2/+20 | |
| | ||||||
* | eap-radius: Optionally send Class attributes in RADIUS accounting messages | Tobias Brunner | 2017-11-02 | 4 | -21/+87 | |
| | | | | | | | If enabled, add the RADIUS Class attributes received in Access-Accept messages to RADIUS accounting messages as suggested by RFC 2865 section 5.25. Fixes #2451. | |||||
* | ikev2: Abort make-before-break reauth if we don't find children to recreate | Tobias Brunner | 2017-11-02 | 1 | -1/+19 | |
| | | | | | | | We do something similar in reestablish() for break-before-make reauth. If we don't abort we'd be sending an IKE_AUTH without any TS payloads. References #2430. | |||||
* | openssl: Also load EC keys from an ENGINE | Tobias Brunner | 2017-11-02 | 5 | -155/+168 | |
| | ||||||
* | libcharon: Added Cisco FlexVPN Supported VID | Andreas Steffen | 2017-10-27 | 1 | -0/+2 | |
| | ||||||
* | unit-tests: Fix "using integer constants in boolean context" warning | Tobias Brunner | 2017-10-23 | 1 | -12/+12 | |
| | | | | | This warning has been seen in GCC 7.x with -Wall, however, because == has higher precedence than ?: the code was actually not correct. | |||||
* | streams: Remove registered systemd stream service | Tobias Brunner | 2017-10-18 | 1 | -0/+3 | |
| | | | | Fixes: 59db98fb941c ("stream: Add basic stream service for systemd sockets") | |||||
* | streams: Named systemd sockets are only supported since systemd v227 | Tobias Brunner | 2017-10-13 | 2 | -0/+10 | |
| | ||||||
* | starter: Add the correct keywords header file to EXTRA_DIST | Tobias Brunner | 2017-10-12 | 2 | -3/+3 | |
| | | | | | | | | | | | The fix for gperf in 0ae19f0ced8d added the generated header to EXTRA_DIST but that's already added to the distribution because it is contained in *_SOURCES, what was not added, though, was the .h.in file. Also fixes the reference to the header file in the .c rule here and for stroke in out-of-tree builds. Fixes: 0ae19f0ced8d ("configure: Fix gperf length parameter determination") | |||||
* | watcher: Don't notify watcher if removed FD was not found | Tobias Brunner | 2017-10-10 | 1 | -2/+6 | |
| | | | | | | | | | | | | This can happen if a stream is used blocking exclusively (the FD is never registered with watcher, but is removed in the stream's destructor just in case it ever was - doing this conditionally would require an additional flag in streams). There may be no thread reading from the read end of the notify pipe (e.g. in starter), causing the write to the notify pipe to block after it's full. Anyway, doing a relatively expensive FD update is unnecessary if there were no changes. Fixes #1453. |