Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixed some typos, courtesy of codespell | Tobias Brunner | 2017-05-26 | 1 | -1/+1 |
| | |||||
* | linked-list: Change return value of find_first() and signature of its callback | Tobias Brunner | 2017-05-26 | 2 | -13/+15 |
| | | | | This avoids the unportable five pointer hack. | ||||
* | Change interface for enumerator_create_filter() callback | Tobias Brunner | 2017-05-26 | 2 | -111/+129 |
| | | | | | This avoids the unportable 5 pointer hack, but requires enumerating in the callback. | ||||
* | Migrate all enumerators to venumerate() interface change | Tobias Brunner | 2017-05-26 | 7 | -73/+104 |
| | |||||
* | 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. | ||||
* | Reference Edwards-curve signature RFCs | Andreas Steffen | 2017-03-20 | 1 | -5/+5 |
| | |||||
* | builder: Define a builder part for X.509 RFC 3779 address blocks | Martin Willi | 2017-02-27 | 2 | -0/+3 |
| | |||||
* | 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 |
| | |||||
* | Implemented EdDSA for IKEv2 using a pro forma Identity hash function | Andreas Steffen | 2016-12-14 | 1 | -17/+31 |
| | |||||
* | Added support of EdDSA signatures | Andreas Steffen | 2016-12-14 | 5 | -17/+51 |
| | |||||
* | 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 |
| | |||||
* | mem-cred: Support storing a delta CRL together with its base | Tobias Brunner | 2016-10-11 | 1 | -8/+30 |
| | | | | | | | | | | | | So far every "newer" CRL (higher serial or by date) replaced an existing "older" CRL. This meant that delta CRLs replaced an existing base CRL and that base CRLs weren't added if a delta CRL was already stored. So the base had to be re-fetched every time after a delta CRL was added. With this change one delta CRL to the latest base may be stored. A newer delta CRL will replace an existing delta CRL (but not its base, older base CRLs are removed, though). And a newer base will replace the existing base and optional delta CRL. | ||||
* | gmp: Support of SHA-3 RSA signatures | Andreas Steffen | 2016-09-22 | 3 | -34/+67 |
| | |||||
* | auth-cfg-wrapper: Fix memory leak with hash-and-URL certificates | Tobias Brunner | 2016-09-12 | 1 | -1/+1 |
| | | | | | | | We wrap the auth-cfg object and its contents, so there is no need to get an additional reference for the enumerated certificate. Fixes a44bb9345f04 ("merged multi-auth branch back into trunk") | ||||
* | mem-cred: Fix memory leak when replacing existing CRLs | Tobias Brunner | 2016-05-11 | 1 | -0/+1 |
| | | | | Fixes #1442. | ||||
* | Use standard unsigned integer types | Andreas Steffen | 2016-03-24 | 3 | -7/+7 |
| | |||||
* | Fix some Doxygen issues | Tobias Brunner | 2016-03-11 | 1 | -5/+5 |
| | |||||
* | 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 | ||||
* | auth-cfg: Make IKE signature schemes configurable | Tobias Brunner | 2016-03-04 | 2 | -37/+63 |
| | | | | | | 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> | ||||
* | Apply pubkey and signature constraints in vici plugin | Andreas Steffen | 2015-12-17 | 2 | -0/+117 |
| | |||||
* | 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 | 3 | -4/+36 |
| | |||||
* | Print OCSP single responses | Andreas Steffen | 2015-12-11 | 2 | -3/+82 |
| | |||||
* | Standardized printing of certificate information | Andreas Steffen | 2015-12-11 | 2 | -0/+651 |
| | | | | | | | 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. | ||||
* | 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(). | ||||
* | Explicitly mention SHA2 algorithm in BLISS OIDs and signature schemes | Andreas Steffen | 2015-11-06 | 2 | -28/+28 |
| | |||||
* | Support BLISS signatures with SHA-3 hash | Andreas Steffen | 2015-11-03 | 2 | -4/+28 |
| | |||||
* | auth-cfg: Don't enforce EAP_RADIUS | Tobias Brunner | 2015-08-21 | 1 | -1/+2 |
| | | | | | Basically the same as e79b0e07e4ab. EAP_RADIUS is also a virtual method that will identify itself as a different EAP method later. | ||||
* | mem-cred: We don't need a write lock when looking for a certificate | Tobias Brunner | 2015-08-20 | 1 | -1/+1 |
| | |||||
* | mem-cred: Add a method to atomically replace all certificates | Tobias Brunner | 2015-08-20 | 2 | -10/+58 |
| | |||||
* | auth-cfg: Don't enforce EAP_DYNAMIC | Tobias Brunner | 2015-08-20 | 1 | -1/+2 |
| | | | | | We now store the actual method on the auth config, which won't match anymore if rightauth=eap-dynamic is configured. | ||||
* | auth-cfg: Matching one CA should be enough, similar to peer certificates | Tobias Brunner | 2015-08-17 | 1 | -15/+20 |
| | | | | | | | | | | Not sure if defining multiple CA constraints and enforcing _all_ of them, i.e. the previous behavior, makes even sense. To ensure a very specific chain it should be enough to define the last intermediate CA. On the other hand, the ability to define multiple CAs could simplify configuration. This can currently only be used with swanctl/VICI based configs as `rightca` only takes a single DN. | ||||
* | Fixed some typos | Tobias Brunner | 2015-08-13 | 2 | -2/+2 |
| | |||||
* | credential-manager: Store BLISS key strength in auth config | Tobias Brunner | 2015-03-04 | 1 | -0/+3 |
| | |||||
* | auth-cfg: Add BLISS key strength constraint | Tobias Brunner | 2015-03-04 | 2 | -21/+43 |
| | |||||
* | public-key: Add helper to determine acceptable signature schemes for keys | Tobias Brunner | 2015-03-04 | 2 | -0/+78 |
| | |||||
* | public-key: Add helper to map signature schemes to ASN.1 OIDs | Tobias Brunner | 2015-03-04 | 2 | -3/+54 |
| | | | | | | There is a similar function to map key_type_t and hasher_t to an OID, but this maps schemes directly (and to use the other function we'd have to have a function to map schemes to hash algorithms first). | ||||
* | public-key: Add helper to determine key type from signature scheme | Tobias Brunner | 2015-03-04 | 2 | -0/+43 |
| | |||||
* | mem-cred: Add a method to unify certificate references, without adding it | Martin Willi | 2015-03-03 | 2 | -0/+31 |
| | | | | | In contrast to add_cert_ref(), get_cert_ref() does not add the certificate to the set, but only finds a reference to the same certificate, if found. | ||||
* | Allow SHA256 and SHA384 data hash for BLISS signatures. | Andreas Steffen | 2015-02-26 | 2 | -0/+10 |
| | | | | | The default is SHA512 since this hash function is also used for the c_indices random oracle. | ||||
* | Started implementing BLISS signature generation | Andreas Steffen | 2014-11-29 | 2 | -7/+7 |
| | |||||
* | Store and parse BLISS private and public keys in DER and PEM format | Andreas Steffen | 2014-11-29 | 1 | -0/+4 |
| | | | | | | | | Additionally generate SHA-1 fingerprints of raw BLISS subjectPublicKey and subjectPublicKeyInfo objects. Some basic functions used by the bliss_public_key class are shared with the bliss_private_key class. | ||||
* | Created framework for BLISS post-quantum signature algorithm | Andreas Steffen | 2014-11-29 | 2 | -5/+16 |
| | |||||
* | cert-cache: Prevent that a cached issuer is freed too early | Tobias Brunner | 2014-10-24 | 1 | -7/+10 |
| | | | | | | | | Previously we got no reference to the cached issuer certificate before releasing the lock of the cache line, this allowed other threads, or even the same thread if it replaces a cache line, to destroy that issuer certificate in cache() (or flush()) before get_ref() for the issuer certificate is finally called. | ||||
* | auth-cfg: Fix crash after several reauthentications with multiple ↵ | Tobias Brunner | 2014-09-11 | 1 | -1/+1 |
| | | | | | | | | | | authentication rounds Due to the issue described in c641974, purge() inadvertently destroyed CA certificates that should have been kept (while the pointer to these objects remained in the array). This lead to incorrect reference counts and after a few reauthentications with multiple authentication rounds, which cause calls to purge(TRUE), to crashes. |