Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | asn1: Add helper function to create algorithmIdentifier with parameters | Tobias Brunner | 2017-11-08 | 2 | -6/+23 |
| | |||||
* | asn1: Add function to generate an ASN.1 integer from an uint64_t | Tobias Brunner | 2017-11-08 | 2 | -0/+28 |
| | |||||
* | asn1: Add OID for MGF1 | Tobias Brunner | 2017-11-08 | 1 | -1/+1 |
| | |||||
* | asn1: Add OID for RSASSA-PSS | Tobias Brunner | 2017-11-08 | 1 | -0/+1 |
| | |||||
* | asn1: Add additional OIDs seen in certificate DNs | Tobias Brunner | 2017-11-02 | 1 | -0/+3 |
| | |||||
* | asn1-parser: Fix CHOICE parsing | Andreas Steffen | 2017-05-29 | 2 | -22/+75 |
| | | | | Fixes: CVE-2017-9023 | ||||
* | asn1: Make sure the first argument to sscanf() is null-terminated | Tobias Brunner | 2017-05-23 | 1 | -7/+9 |
| | |||||
* | Added support of EdDSA signatures | Andreas Steffen | 2016-12-14 | 2 | -1/+6 |
| | |||||
* | Added SHA-3 signature OIDs | Andreas Steffen | 2016-07-26 | 1 | -1/+10 |
| | |||||
* | 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 |