Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add --test-runs option to test binary | Jack Lloyd | 2017-03-29 | 1 | -5/+9 |
| | | | | Just runs the specified test several times, or until first failure. | ||||
* | Merge GH #879 Fix rsa_blinding tests and add one more test | Jack Lloyd | 2017-03-29 | 1 | -3/+46 |
|\ | |||||
| * | Fix rsa_blinding tests if emsa_raw is missing and add tests for rsa_blinding ↵ | Daniel Neus | 2017-02-16 | 1 | -3/+46 |
| | | | | | | | | while encrypting/decrypting | ||||
* | | Merge GH #899 Add ability to specify iterations when encrypting a private key | Jack Lloyd | 2017-03-29 | 7 | -38/+390 |
|\ \ | |||||
| * | | Add ability to specify iterations when encrypting a private key | Jack Lloyd | 2017-02-26 | 7 | -38/+390 |
| | | | | | | | | | | | | GH #896 | ||||
* | | | Merge GH #946 Expose multiple precision integers in C interface | Jack Lloyd | 2017-03-29 | 5 | -27/+731 |
|\ \ \ | |||||
| * | | | Expose BigInt API subset to C API | Jack Lloyd | 2017-03-28 | 5 | -27/+731 |
| | | | | | | | | | | | | | | | | Also adds RSA key constructors using BN | ||||
* | | | | Merge GH #947 Add support for getentropy syscall | Jack Lloyd | 2017-03-29 | 5 | -1/+79 |
|\ \ \ \ | |||||
| * | | | | Use getentropy(2) as random source. | Alexander Bluhm | 2017-03-29 | 5 | -1/+79 |
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Gather entropy from system call getentropy(2). This is available since in OpenBSD 5.6 and Solaris 11.3. It can provide up to 256 bytes entropy from the kernel without blocking. As a system call it does not need a file descriptor and works in chroot(2) environments without device nodes. | ||||
* / / / | Remove old timing test suite | Jack Lloyd | 2017-03-28 | 19 | -610/+5 |
|/ / / | | | | | | | | | | Replaced by version in cli added in #894 | ||||
* | | | Merge GH #944 Add check_key to C API | Jack Lloyd | 2017-03-28 | 3 | -1/+24 |
|\ \ \ | |||||
| * | | | Expose PK::check_key functions in C interface | Jack Lloyd | 2017-03-27 | 3 | -1/+24 |
| | | | | |||||
* | | | | Merge GH #942 Avoid passing IP as hostname in tls_client command line util | Jack Lloyd | 2017-03-28 | 1 | -1/+11 |
|\ \ \ \ | |||||
| * | | | | tls_client must not pass an IP address as server information | Alexander Bluhm | 2017-03-25 | 1 | -1/+11 |
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | RFC 6066 section 3 says: Literal IPv4 and IPv6 addresses are not permitted in "HostName". But if a user passes an IP address to botan tls_client as connect address, this is also used for SNI. Some TLS server like libtls from the LibreSSL project check that a provided hostname is a DNS name. The TLS connection attempt from botan is rejected with a fatal alert. | ||||
* | | | | Merge GH #938 Fix incorrect bcrypt truncation | Jack Lloyd | 2017-03-28 | 3 | -11/+305 |
|\ \ \ \ | |||||
| * | | | | Avoid long tests for each bcrypt password | Jack Lloyd | 2017-03-24 | 1 | -2/+22 |
| | | | | | |||||
| * | | | | Fix incorrect password truncation in bcrypt password hashing. | Jack Lloyd | 2017-03-24 | 3 | -10/+284 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The 56 char bound is bogus; Blowfish itself allows at most 448 bits in the key schedule, but Bcrypt's modification allows up to 72 chars for the password. Bug pointed out by Solar Designer. Also reject work factors 0...3 since all other extant bcrypt implementations require at least work factor 4. Adds more bcrypt tests generated by crypt_bcrypt and OpenBSD's version. | ||||
* | | | | | Use JSON to store build config | Simon Warta | 2017-03-25 | 1 | -1/+3 |
| |/ / / |/| | | | | | | | | | | | to improve debuggability | ||||
* | | | | shellcheck fix in website.sh | Jack Lloyd | 2017-03-24 | 1 | -5/+3 |
|/ / / | | | | | | | | | | [ci skip] | ||||
* | | | Use a hardcoded URL for the PDF download | René Korthaus | 2017-03-23 | 1 | -10/+8 |
| | | | |||||
* | | | Fix some compiler warnings. | Jack Lloyd | 2017-03-22 | 3 | -3/+3 |
| | | | |||||
* | | | Remove duplicate include GH #928 | Jack Lloyd | 2017-03-22 | 1 | -1/+0 |
| | | | |||||
* | | | Merge GH #929 Add ppc64le target [ci skip] | Jack Lloyd | 2017-03-22 | 1 | -0/+22 |
|\ \ \ | |||||
| * | | | Add ppc64le (POWER8 little endian) as supported cpu | Gustavo Serra Scalet | 2017-03-20 | 1 | -0/+22 |
| | | | | |||||
* | | | | Merge GH #897 Add generic memory type BER decoder | Jack Lloyd | 2017-03-22 | 1 | -0/+32 |
|\ \ \ \ | |||||
| * | | | | Add generic memory type value BER decoder | Nuno Goncalves | 2017-03-07 | 1 | -0/+32 |
| | | | | | | | | | | | | | | | | | | | | Signed-off-by: Nuno Goncalves <[email protected]> | ||||
* | | | | | Merge GH #923 Build PDF handbook | Jack Lloyd | 2017-03-22 | 1 | -0/+10 |
|\ \ \ \ \ | |||||
| * | | | | | Provide the handbook as a PDF download | René Korthaus | 2017-03-16 | 1 | -0/+10 |
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Extends the website script to include a link to the manual as a PDF file for download. Also includes links to search and index only for html, as it does not work for latex. | ||||
* | | | | | Merge GH #931 Add support for reaching IPv6 hosts in the tls_client CLI | Jack Lloyd | 2017-03-22 | 1 | -20/+26 |
|\ \ \ \ \ | |||||
| * | | | | | Add support for reaching IPv6 hosts in the tls_client CLI | René Korthaus | 2017-03-21 | 1 | -20/+26 |
| | | | | | | |||||
* | | | | | | Merge GH #932 Guard filters tests with all necessary macros | Jack Lloyd | 2017-03-22 | 1 | -12/+32 |
|\ \ \ \ \ \ | |||||
| * | | | | | | Guard filters tests with all necessary macros | René Korthaus | 2017-03-21 | 1 | -12/+32 |
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | The filters tests were missing many BOTAN_HAS guards for hash functions, MACs and ciphers used. | ||||
* / / / / / | Fix #917: calendar_point::to_std_timepoint() does not support years after 2037 | Daniel Neus | 2017-03-21 | 3 | -5/+10 |
|/ / / / / | | | | | | | | | | | | | | | | Only throw on systems where 32 bit std::time_t is used. | ||||
* | | | | | Fix DragonflyBSD fs access | Jack Lloyd | 2017-03-19 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | | | | | | GH #887 | ||||
* | | | | | Merge GH #915 Fix OS::get_processor_timestamp() | Jack Lloyd | 2017-03-19 | 1 | -1/+2 |
|\ \ \ \ \ | |||||
| * | | | | | Fix OS::get_processor_timestamp() tests | Daniel Neus | 2017-03-14 | 1 | -1/+2 |
| | |/ / / | |/| | | | |||||
* | | | | | Merge GH #916 Add VS2017 builds | Jack Lloyd | 2017-03-19 | 1 | -3/+22 |
|\ \ \ \ \ | |||||
| * | | | | | Add VS2017 builds | Daniel Neus | 2017-03-14 | 1 | -3/+22 |
| |/ / / / | |||||
* | | | | | No C++ exceptions from cpu probe functions. See GH #920 | Jack Lloyd | 2017-03-19 | 3 | -30/+11 |
| | | | | | |||||
* | | | | | Add RDRAND_RNG speed test | Jack Lloyd | 2017-03-19 | 1 | -0/+12 |
| | | | | | |||||
* | | | | | Fix further compiler macro bug exposed by #921 | Jack Lloyd | 2017-03-19 | 1 | -1/+1 |
| | | | | | |||||
* | | | | | BOTAN_TARGET_COMPILER_IS -> BOTAN_BUILD_COMPILER_IS | Daniel Neus | 2017-03-15 | 2 | -2/+2 |
| |/ / / |/| | | | |||||
* | | | | Merge GH #913 Follow PKIX rules for X.509 time formatting | Jack Lloyd | 2017-03-13 | 2 | -24/+97 |
|\ \ \ \ | |||||
| * | | | | Fix: UTCTime interpreted as GeneralizedTime | Daniel Neus | 2017-03-13 | 2 | -24/+97 |
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Example: "200305100350Z" interpreted as "2003/05/10 03:50:00 UTC" correct is "2020/03/05 10:03:50 UTC" According to RFC 5280: UTCTime values ... MUST include seconds (i.e., times are YYMMDDHHMMSSZ) -> length 13 GeneralizedTime values ... MUST include seconds (i.e., times are YYYYMMDDHHMMSSZ) -> length 15 I think we should enforce the RFC5280 rules even if the ASN.1 rules are not that strict. | ||||
* | | | | Merge GH #912 Fix OpenBSD shared lib name | Jack Lloyd | 2017-03-13 | 2 | -9/+11 |
|\ \ \ \ | |||||
| * | | | | OpenBSD does not have 3 digit soname and library symlinks. | Alexander Bluhm | 2017-03-13 | 2 | -9/+11 |
| |/ / / | | | | | | | | | | | | | | | | | Set library name for openbsd to libbotan-2.so.0.0 and do not install symlinks. | ||||
* / / / | Small fixes in API docs [ci skip] | René Korthaus | 2017-03-09 | 2 | -4/+4 |
|/ / / | |||||
* | | | Merge GH #901 Allow OCSP requests without the full subject certificate | Jack Lloyd | 2017-03-07 | 6 | -18/+51 |
|\ \ \ | |||||
| * | | | Allow OCSP requests without the full subject certificate | Nuno Goncalves | 2017-03-04 | 6 | -18/+51 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A OCSP request doesn't need the full subject certificate. This extends the API to require instead of the subject certificate: * OCSP::Request: subject serial. * OCSP::online_check: subject serial AND ocsp responder url. API breaking change: * removal of OCSP::Request::subject() as OCSP::Request doesn't need to hold the certificate, but only the serial. Signed-off-by: Nuno Goncalves <[email protected]> | ||||
* | | | | Merge GH #904 Fix memory leak in TLS tests | Jack Lloyd | 2017-03-03 | 1 | -4/+6 |
|\ \ \ \ | |/ / / |/| | | |