Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Added support for Certificate, CRL and PKCS10 encoding to PEM plugin | Martin Willi | 2010-07-13 | 1 | -0/+19 |
| | |||||
* | Support different encoding types in certificate.get_encoding() | Martin Willi | 2010-07-13 | 11 | -50/+138 |
| | |||||
* | Renamed key_encod{ing,der}_t and constants, prepare for generic credential ↵ | Martin Willi | 2010-07-13 | 26 | -160/+160 |
| | | | | encoding | ||||
* | Moved keys/key_encoding.[ch] to cred_encoding.[ch] | Martin Willi | 2010-07-13 | 3 | -3/+3 |
| | |||||
* | Moved addrblock plugin to libcharon | Martin Willi | 2010-07-13 | 5 | -292/+0 |
| | |||||
* | Moved CRL/OCSP checking to a dedicated plugin called revocation | Martin Willi | 2010-07-13 | 5 | -0/+750 |
| | |||||
* | Moved X509 addrBlock validation to a separate addrblock plugin | Martin Willi | 2010-07-13 | 5 | -0/+292 |
| | |||||
* | Some Doxygen fixes. | Tobias Brunner | 2010-07-05 | 1 | -4/+4 |
| | |||||
* | Select subjectAltName address family using address length in openssl plugin | Martin Willi | 2010-06-24 | 1 | -2/+12 |
| | |||||
* | Select subjectAltName address family using address length in x509 plugin | Martin Willi | 2010-06-24 | 1 | -1/+11 |
| | |||||
* | Fixing compilation of the OpenSSL plugin if ENGINE support is disabled. | Tobias Brunner | 2010-06-22 | 2 | -2/+14 |
| | | | | | That is, enable compilation if OpenSSL was configured with OPENSSL_NO_ENGINE. | ||||
* | Fixing compilation of the OpenSSL plugin if Elliptic Curve support is disabled. | Tobias Brunner | 2010-06-22 | 4 | -3/+25 |
| | | | | | That is, enable compilation if OpenSSL was configured with OPENSSL_NO_EC. | ||||
* | Unwrap subjectKeyIdentifier from OCTET_STRING | Martin Willi | 2010-05-26 | 1 | -4/+12 |
| | |||||
* | Use CAs subjectKeyIdentifier as CRLs authorityKeyIdentifier | Martin Willi | 2010-05-21 | 1 | -1/+1 |
| | |||||
* | Added support for CRL generation to x509 plugin | Martin Willi | 2010-05-21 | 3 | -3/+199 |
| | |||||
* | Removed is_newer() from certificate_t, obsoleting all implementations | Martin Willi | 2010-05-21 | 9 | -175/+2 |
| | |||||
* | Migrated x509_crl_t to INIT/METHOD macros | Martin Willi | 2010-05-21 | 1 | -95/+70 |
| | |||||
* | Implemented X.509 CRL reading using OpenSSL | Martin Willi | 2010-05-21 | 4 | -1/+606 |
| | |||||
* | Implemented X.509 certificate reading using OpenSSL | Martin Willi | 2010-05-21 | 6 | -2/+1054 |
| | |||||
* | Fixed doxygen group | Martin Willi | 2010-05-20 | 1 | -1/+1 |
| | |||||
* | Explicitly link gpg-error to gcrypt plugin | Martin Willi | 2010-05-17 | 1 | -1/+1 |
| | |||||
* | Support decoding of subjectPublicKeyInfo in openssl without pkcs1 plugin | Martin Willi | 2010-05-05 | 2 | -2/+16 |
| | |||||
* | Do not check pointer, but length of a chunk | Martin Willi | 2010-05-05 | 1 | -1/+1 |
| | |||||
* | Do not print filename twice if plugin loading fails, dlerror() contains the ↵ | Martin Willi | 2010-05-05 | 1 | -2/+1 |
| | | | | filename | ||||
* | Fixed RSA key generation with gcrypt | Martin Willi | 2010-04-29 | 1 | -1/+1 |
| | |||||
* | PEM encoder supports encoding from RSA components directly, allowing gcrypt ↵ | Martin Willi | 2010-04-29 | 3 | -37/+42 |
| | | | | plugin to encode in PEM | ||||
* | Added support for DH groups 22, 23 and 24, patch contributed by Joy Latten | Martin Willi | 2010-04-19 | 4 | -1/+29 |
| | |||||
* | Fixed OpenSSL engine_id setting, i.e. do not use 'library.' prefix for ↵ | Tobias Brunner | 2010-04-10 | 1 | -1/+1 |
| | | | | settings in libstrongswan. | ||||
* | Store DH generator in a chunk, hide non-public data in a private struct | Martin Willi | 2010-04-08 | 3 | -18/+27 |
| | |||||
* | Some whitespace fixes. | Tobias Brunner | 2010-04-06 | 5 | -8/+8 |
| | |||||
* | Adding DBG_LIB to all calls of libstrongswan's version of DBG*. | Tobias Brunner | 2010-04-06 | 41 | -283/+340 |
| | |||||
* | PEM encoding for OpenSSL RSA and EC public and private keys | Andreas Steffen | 2010-04-04 | 5 | -12/+72 |
| | |||||
* | PEM encoding for GMP RSA public and private keys | Andreas Steffen | 2010-04-04 | 6 | -3/+167 |
| | |||||
* | fixed doxygen group | Andreas Steffen | 2010-04-03 | 1 | -1/+1 |
| | |||||
* | change #define to PEM_BUILDER_H_ | Andreas Steffen | 2010-04-03 | 1 | -3/+3 |
| | |||||
* | Moving attr-sql plugin from libstrongswan to libhydra. | Tobias Brunner | 2010-03-24 | 7 | -1989/+0 |
| | |||||
* | Fixed ipsec pool --batch command | Heiko Hund | 2010-03-24 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | --batch mode has shown to be buggy in very obscure ways in the first real life tests. For example a batch file --del pool1 --replace pool2 --addresses file1 returned the error "/usr/libexec/ipsec/pool: unrecognized option '--lace'" which was gone after moving the --del behind --replace. With the patch from below applied everything works like a charm. From the info on the man page it seem to be unrelated to this problem, though: A program that scans multiple argument vectors, or rescans the same vector more than once, and wants to make use of GNU extensions such as '+' and '-' at the start of optstring, or changes the value of POSIXLY_CORRECT between scans, must reinitialize getopt() by resetting optind to 0, rather than the traditional value of 1. (Resetting to 0 forces the invocation of an internal initialization routine that rechecks POSIXLY_CORRECT and checks for GNU exten- sions in optstring.) Signed-off-by: Heiko Hund <hhund@astaro.com> | ||||
* | Removed strayed code fragment | Martin Willi | 2010-03-19 | 1 | -20/+4 |
| | |||||
* | ipsec pool --batch command | Heiko Hund | 2010-03-19 | 1 | -60/+200 |
| | | | | | | | | Introduce the --batch command which reads several ipsec pool commands and their arguments from a file or STDIN. Useful if you need to run serveral commands atomically from a configuration daemon or likewise. Signed-off-by: Heiko Hund <hhund@astaro.com> | ||||
* | ipsec pool error return status | Heiko Hund | 2010-03-19 | 1 | -49/+51 |
| | | | | | | | Fix the error return status of the ipsec pool command. Also make --del for attributes succeed if no --server option was given. Signed-off-by: Heiko Hund <hhund@astaro.com> | ||||
* | ipsec pool --replace command | Heiko Hund | 2010-03-19 | 1 | -23/+61 |
| | | | | | | | | | Introduce the pool --replace command as an alternative to --add. Also change the current behavior of allowing duplicate pool names so that, --add with an existing name fails and --replace removes the existing pool before adding the new one. Signed-off-by: Heiko Hund <hhund@astaro.com> | ||||
* | --addresses option for ipsec pool --add command | Heiko Hund | 2010-03-19 | 1 | -5/+187 |
| | | | | | | | | | Introduce the --addresses option for --add that can be used to add a pool containing non-contiguous addresses. Additionally it allows to preclaim certain addresses for certain roadwarrior IDs. See the second chunk of the patch for a more detailed description. Signed-off-by: Heiko Hund <hhund@astaro.com> | ||||
* | setting the two most significant bits assures an RSA modulus of maximum bit size | Andreas Steffen | 2010-03-15 | 1 | -2/+2 |
| | |||||
* | fix 64bit issue with time_t from database | Andreas Steffen | 2010-03-10 | 1 | -2/+8 |
| | |||||
* | Provide the Diffie Hellman parameters from a central location, so that we do ↵ | Tobias Brunner | 2010-03-09 | 3 | -730/+34 |
| | | | | | | | | not have to replicate them in every plugin that implements the DH interface. The main reason for this change is that Android's libcrypto does not include the get_rfcX_prime_Y functions by default. Therefore we would have had to replicate the primes a third time. | ||||
* | Adding a helper function that translates single characters in a string. | Tobias Brunner | 2010-03-08 | 1 | -19/+2 |
| | |||||
* | Replaced the deprecated RSA_generate_key with RSA_generate_key_ex. | Tobias Brunner | 2010-03-08 | 1 | -2/+25 |
| | |||||
* | Implemented the PRF_KEYED_SHA1 algorithm in the openssl plugin | Martin Willi | 2010-03-08 | 4 | -0/+195 |
| | |||||
* | critical keyUsage extension must be parsed | Andreas Steffen | 2010-03-07 | 1 | -0/+3 |
| | |||||
* | set Certificate Sign and CRL Sign flags in keyUsage extension if CA is true | Andreas Steffen | 2010-03-07 | 1 | -4/+13 |
| |