Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | identification: Add support for dmdName RDN (2.5.4.54) | Yannick Cann | 2016-04-25 | 1 | -0/+1 |
| | | | | | | | It's listed in RFC 2256 but was later removed with RFC 4519, but there are still some certs that use it. Closes strongswan/strongswan#43. | ||||
* | Use standard unsigned integer types | Andreas Steffen | 2016-03-24 | 2 | -5/+5 |
| | |||||
* | Support pseudonym RDN | Andreas Steffen | 2016-01-27 | 1 | -0/+1 |
| | |||||
* | vici: list-cert sends subject, not-before and not-after attributes for pubkeys | Andreas Steffen | 2016-01-09 | 1 | -0/+1 |
| | |||||
* | Explicitly mention SHA2 algorithm in BLISS OIDs and signature schemes | Andreas Steffen | 2015-11-06 | 1 | -3/+3 |
| | |||||
* | Defined SHA-3 hashers | Andreas Steffen | 2015-11-03 | 1 | -4/+7 |
| | |||||
* | Fixed some typos, courtesy of codespell | Tobias Brunner | 2015-08-27 | 1 | -1/+1 |
| | |||||
* | asn1: Undefine TIME_UTC, which is used by C11 | Martin Willi | 2015-04-08 | 1 | -0/+4 |
| | | | | | When building with C11 support, TIME_UTC is used for timespec_get() and defined in <time.h>. Undefine TIME_UTC for our own internal use in asn1.c. | ||||
* | Fixed two BLISS key type identifier strings | Andreas Steffen | 2015-03-16 | 1 | -2/+2 |
| | |||||
* | Allow SHA256 and SHA384 data hash for BLISS signatures. | Andreas Steffen | 2015-02-26 | 1 | -0/+2 |
| | | | | | The default is SHA512 since this hash function is also used for the c_indices random oracle. | ||||
* | Implemented improved BLISS-B signature algorithm | Andreas Steffen | 2015-02-25 | 1 | -0/+4 |
| | |||||
* | asn1: Add OID for Blowfish CBC | Tobias Brunner | 2014-12-05 | 1 | -0/+4 |
| | | | | | | | | The OID (1.3.6.1.4.1.3029.1.2) is technically not correct, the correct one is (1.3.6.1.4.1.3029.1.1.2). Every other library or tool (like OpenSSL) uses the incorrect one so we do the same. References #740. | ||||
* | Started implementing BLISS signature generation | Andreas Steffen | 2014-11-29 | 1 | -0/+2 |
| | |||||
* | Store and parse BLISS private and public keys in DER and PEM format | Andreas Steffen | 2014-11-29 | 1 | -1/+1 |
| | | | | | | | | 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. | ||||
* | Added BLISS OIDs in ITA-HSR OID tree | Andreas Steffen | 2014-11-29 | 1 | -0/+10 |
| | |||||
* | asn1: Try to fill the available binary OID buffer if possible | Tobias Brunner | 2014-09-09 | 1 | -11/+24 |
| | |||||
* | asn1: Make sure not to exceed buffer for binary OID | Tobias Brunner | 2014-09-09 | 1 | -1/+1 |
| | |||||
* | asn1: Return a zeroed ASN1 time if gmtime_r() conversion fails | Martin Willi | 2014-06-04 | 1 | -1/+1 |
| | |||||
* | windows: Add a common Windows header for platform specific wrappers | Martin Willi | 2014-06-03 | 1 | -1/+1 |
| | | | | | Include some more basic system headers in utils.h, so we can use that common header on the different platforms. | ||||
* | Added support for msSmartcardLogon EKU | Andreas Steffen | 2014-04-08 | 1 | -1/+1 |
| | |||||
* | Added some more OIDs | Andreas Steffen | 2014-04-08 | 1 | -1/+20 |
| | |||||
* | Added SHA3 OIDs | Andreas Steffen | 2014-04-04 | 1 | -6/+12 |
| | |||||
* | Fixed a minor vulnerability in which a malformed ASN.1 length field could ↵5.1.2rc1 | Andreas Steffen | 2014-02-14 | 1 | -0/+1 |
| | | | | cause a crash of the charon daemon if the verbose debug level 3 (raw hex dump) for the asn subsystem is enabled. | ||||
* | asn1: Support dates before 1970-01-01 (i.e. when time_t gets negative) | Tobias Brunner | 2014-02-12 | 2 | -4/+23 |
| | | | | | | On x86 we allow "overflows" around 1969/1970 but not for other dates. Fixes #509. | ||||
* | asn1: Add additional validation for parsed ASN.1 date/time values | Tobias Brunner | 2014-02-12 | 1 | -1/+12 |
| | |||||
* | Prototype implementation of IKE key exchange via NTRU encryption | Andreas Steffen | 2013-11-27 | 1 | -0/+24 |
| | |||||
* | unit-tests: 100% function coverage for asn1.c | Andreas Steffen | 2013-11-03 | 1 | -2/+2 |
| | |||||
* | Some minor refactoring in asn1.c | Andreas Steffen | 2013-11-02 | 1 | -11/+17 |
| | |||||
* | Do not free zero-length integer | Andreas Steffen | 2013-11-02 | 1 | -5/+10 |
| | |||||
* | asn1: Fix handling of invalid ASN.1 length in is_asn1() | Tobias Brunner | 2013-07-31 | 1 | -0/+5 |
| | | | | Fixes CVE-2013-5018. | ||||
* | Recognize critical IssuingDistributionPoint CRL extension | Andreas Steffen | 2013-07-12 | 1 | -1/+1 |
| | |||||
* | Add pkcs12 plugin which adds support for decoding PKCS#12 containers | Tobias Brunner | 2013-05-08 | 1 | -0/+11 |
| | |||||
* | PKCS#5 wrapper can decrypt PKCS#12-like schemes | Tobias Brunner | 2013-05-08 | 1 | -1/+9 |
| | |||||
* | Extract function to convert ASN.1 INTEGER object to u_int64_t | Tobias Brunner | 2013-05-08 | 2 | -0/+25 |
| | |||||
* | Use the GEN silent rule when generating oid database with perl | Martin Willi | 2013-05-06 | 1 | -2/+0 |
| | |||||
* | added some otherNames OIDs | Andreas Steffen | 2013-03-06 | 1 | -0/+6 |
| | |||||
* | Moved debug.[ch] to utils folder | Tobias Brunner | 2012-10-24 | 2 | -2/+2 |
| | |||||
* | added some new SHA-512 OIDs | Andreas Steffen | 2012-10-03 | 1 | -0/+2 |
| | |||||
* | Properly encode 0 in ASN.1. | Tobias Brunner | 2012-06-11 | 1 | -10/+7 |
| | | | | | According to X.690 an INTEGER object always has at least one content octet. | ||||
* | Don't use chunk_skip() in asn1_length(). | Tobias Brunner | 2012-06-11 | 1 | -1/+2 |
| | | | | | | | | chunk_skip() returns chunk_empty if the length of the chunk is equal to the number of bytes to skip, this is problematic as asn1_length() modifies the original chunk. asn1_parser_t for instance uses the modified chunk to later calculate the length of the resulting ASN.1 object which produces incorrect results if it is based on chunk_empty. | ||||
* | Merge branch 'ikev1' | Martin Willi | 2012-05-02 | 1 | -0/+3 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: configure.in man/ipsec.conf.5.in src/libcharon/encoding/generator.c src/libcharon/encoding/payloads/notify_payload.c src/libcharon/encoding/payloads/notify_payload.h src/libcharon/encoding/payloads/payload.c src/libcharon/network/receiver.c src/libcharon/sa/authenticator.c src/libcharon/sa/authenticator.h src/libcharon/sa/ikev2/tasks/ike_init.c src/libcharon/sa/task_manager.c src/libstrongswan/credentials/auth_cfg.c | ||||
| * | Merge branch 'ikev1-clean' into ikev1-master | Martin Willi | 2012-03-20 | 1 | -0/+3 |
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: configure.in man/ipsec.conf.5.in src/libcharon/daemon.c src/libcharon/plugins/eap_ttls/eap_ttls_peer.c src/libcharon/plugins/eap_radius/eap_radius_accounting.c src/libcharon/plugins/eap_radius/eap_radius_forward.c src/libcharon/plugins/farp/farp_listener.c src/libcharon/sa/ike_sa.c src/libcharon/sa/keymat.c src/libcharon/sa/task_manager.c src/libcharon/sa/trap_manager.c src/libstrongswan/plugins/x509/x509_cert.c src/libstrongswan/utils.h Applied lost changes of moved files keymat.c and task_manager.c. Updated listener_t.message hook signature in new plugins. | ||||
| | * | Added support for iKEIntermediate X.509 extended key usage flag. | Tobias Brunner | 2012-03-20 | 1 | -0/+3 |
| | | | | | | | | | | | | Mac OS X requires server certificates to have this flag set. | ||||
* | | | Add support for dnQualifier in DNs. | Tobias Brunner | 2012-03-29 | 1 | -0/+1 |
|/ / | |||||
* | | Moved log message for unexpected ASN.1 objects to level 2. | Tobias Brunner | 2012-02-01 | 1 | -1/+1 |
| | | | | | | | | This avoids error messages if later builders can successfully decode something. | ||||
* | | Added support for PKCS#5 v2 schemes when decrypting PKCS#8 files. | Tobias Brunner | 2012-02-01 | 2 | -7/+13 |
| | | |||||
* | | Added support for encrypted PKCS#8 files (for some PKCS#5 v1.5 schemes). | Tobias Brunner | 2012-02-01 | 2 | -3/+10 |
| | | |||||
* | | Return parsed parameters from algorithmIdentifier if they are an OID (aka EC ↵ | Tobias Brunner | 2012-02-01 | 1 | -1/+1 |
| | | | | | | | | | | | | | | named curve). Explicit EC parameters are not supported with this function, but before this change no parameters were actually ever returned. | ||||
* | | Allow callers to force ASN.1 date encoding as GENERALIZEDTIME. | Tobias Brunner | 2011-12-23 | 2 | -6/+8 |
| | | |||||
* | | Avoid integer overflow when parsing ASN.1 dates. | Tobias Brunner | 2011-12-23 | 1 | -2/+2 |
| | | | | | | | | This only works properly if sizeof(time_t) > 4. |