Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add TOC link to users manual and API ref for website | René Korthaus | 2017-03-31 | 1 | -1/+3 |
| | |||||
* | Merge GH #954 Always poll 256 bytes from getentropy syscall | Jack Lloyd | 2017-03-30 | 1 | -3/+4 |
|\ | |||||
| * | Always poll 256 bytes from Getentropy. | Alexander Bluhm | 2017-03-30 | 1 | -3/+4 |
| | | | | | | | | | | | | The OpenBSD system limit for getentropy(2) is 256 bytes. It does not make sense to use the BOTAN_SYSTEM_RNG_POLL_REQUEST define here. As it is only used in one place, another define would be overkill. | ||||
* | | Merge GH #953 Use arc4random for system RNG access on OpenBSD | Jack Lloyd | 2017-03-30 | 2 | -0/+16 |
|\ \ | |/ |/| | |||||
| * | Use arc4random(3) as system rng on OpenBSD. | Alexander Bluhm | 2017-03-30 | 2 | -0/+16 |
|/ | | | | | | | | | OpenBSD provides the arc4random(3) function in libc for user land programs that need good random data. Use this to implement the Botan system random number generator. It has the advantage over /dev/urandom that it works without file descriptors and in chroot(2) environment. Internally libc is currently using a ChaCha20 cipher as PRNG and getentropy(2) to reseed itself automatically. | ||||
* | Merge GH #948 Update release notes for 2.1 | Jack Lloyd | 2017-03-30 | 1 | -0/+14 |
|\ | |||||
| * | Update releases notes for 2.1.0 | Daniel Neus | 2017-03-29 | 1 | -0/+14 |
| | | |||||
* | | Merge GH #952 Disable proc_walk on OpenBSD | Jack Lloyd | 2017-03-30 | 1 | -1/+0 |
|\ \ | |||||
| * | | Disable entropy proc_walk on OpenBSD. | Alexander Bluhm | 2017-03-30 | 1 | -1/+0 |
| | | | | | | | | | | | | | | | The /proc file system was disabled for years. With OpenBSD 5.7 the implementation has been removed from the kernel sources. | ||||
* | | | Merge GH #950 Update authors | Jack Lloyd | 2017-03-30 | 2 | -0/+7 |
|\ \ \ | |/ / |/| | | |||||
| * | | Add myself as contributor. | Alexander Bluhm | 2017-03-29 | 2 | -0/+7 |
|/ / | |||||
* | | Merge GH #949 Add --entropy flag to rng cmd | Jack Lloyd | 2017-03-29 | 1 | -1/+11 |
|\ \ | |||||
| * | | Use entropy source for cli rng. | Alexander Bluhm | 2017-03-29 | 1 | -1/+11 |
| | | | | | | | | | | | | | | | With "botan rng --entropy" the global entropy sources are used to seed the auto seeded random number generator. | ||||
* | | | Build fix | Jack Lloyd | 2017-03-29 | 1 | -1/+1 |
| | | | |||||
* | | | Fix RSA blinding test | Jack Lloyd | 2017-03-29 | 1 | -5/+7 |
|/ / | | | | | | | | | | | Failed if OpenSSL was used since OpenSSL does (whatever it does). GH #879 | ||||
* | | Fix final RSA blinding test | Jack Lloyd | 2017-03-29 | 1 | -4/+5 |
| | | | | | | | | See GH #879 | ||||
* | | Add missing override annotation | Jack Lloyd | 2017-03-29 | 1 | -1/+1 |
| | | |||||
* | | 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 | ||||
* | | | Document functions added in GH #899 | Jack Lloyd | 2017-03-29 | 1 | -0/+30 |
| | | | |||||
* | | | 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 | ||||
* | | | | Document new C APIs added in GH #946 | Jack Lloyd | 2017-03-29 | 1 | -5/+186 |
| | | | | |||||
* | | | | 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. | ||||
* | | | | | Merge GH #945 Remove old timing test suite | Jack Lloyd | 2017-03-29 | 19 | -610/+5 |
|\ \ \ \ \ | |/ / / / |/| | | | | |||||
| * | | | | Remove old timing test suite | Jack Lloyd | 2017-03-28 | 19 | -610/+5 |
| |/ / / | | | | | | | | | | | | | Replaced by version in cli added in #894 | ||||
* | | | | Update release notes | Jack Lloyd | 2017-03-28 | 1 | -0/+15 |
| | | | | | | | | | | | | | | | | [ci skip] | ||||
* | | | | Note that bcrypt bug was introduced in 1.11.0 | Jack Lloyd | 2017-03-28 | 1 | -2/+4 |
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | Specifically 9644a3ecebb15. So 1.10 was not affected, as it instead throws an exception for passwords longer than 56 chars, which is incompatible with other bcrypt APIs but does not introduce any security problems. [ci skip] | ||||
* | | | Merge GH #944 Add check_key to C API | Jack Lloyd | 2017-03-28 | 4 | -2/+28 |
|\ \ \ | |||||
| * | | | Expose PK::check_key functions in C interface | Jack Lloyd | 2017-03-27 | 4 | -2/+28 |
| | | | | |||||
* | | | | Merge GH #942 Avoid passing IP as hostname in tls_client command line util | Jack Lloyd | 2017-03-28 | 2 | -1/+15 |
|\ \ \ \ | |||||
| * | | | | Add documentation that SNI must be FQDN. | Alexander Bluhm | 2017-03-27 | 1 | -0/+4 |
| | | | | | | | | | | | | | | | | | | | | server_info parameter of TLS::Client must not be an IP address. | ||||
| * | | | | 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 | 6 | -15/+341 |
|\ \ \ \ | |||||
| * | | | | Avoid long tests for each bcrypt password | Jack Lloyd | 2017-03-24 | 1 | -2/+22 |
| | | | | | |||||
| * | | | | Add relnotes and CVE | Jack Lloyd | 2017-03-24 | 2 | -1/+5 |
| | | | | | |||||
| * | | | | Fix incorrect password truncation in bcrypt password hashing. | Jack Lloyd | 2017-03-24 | 5 | -14/+316 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | | | | | Merge GH #936 Fix pkg-config with --build-dir | Jack Lloyd | 2017-03-28 | 2 | -17/+14 |
|\ \ \ \ \ | |_|/ / / |/| | | | | |||||
| * | | | | Fix build variable botan_pkgconfig | Simon Warta | 2017-03-25 | 1 | -8/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | This avoids an extra "hello/" path segment when configured with `./configure.py --with-build-dir hello` | ||||
| * | | | | Use JSON to store build config | Simon Warta | 2017-03-25 | 2 | -3/+6 |
| | | | | | | | | | | | | | | | | | | | | to improve debuggability | ||||
| * | | | | configure: write if condition positive | Simon Warta | 2017-03-25 | 1 | -6/+6 |
|/ / / / | |||||
* / / / | shellcheck fix in website.sh | Jack Lloyd | 2017-03-24 | 1 | -5/+3 |
|/ / / | | | | | | | | | | [ci skip] | ||||
* | | | Release notes for Botan 2.1 | Jack Lloyd | 2017-03-23 | 1 | -0/+50 |
| | | | | | | | | | | | | | | | | | | GH #866 [ci skip] | ||||
* | | | Merge GH #937 Fix pdf download URL [ci skip] | Jack Lloyd | 2017-03-23 | 2 | -11/+9 |
|\ \ \ | |||||
| * | | | Use a hardcoded URL for the PDF download | René Korthaus | 2017-03-23 | 2 | -11/+9 |
|/ / / | |||||
* | | | Fix some compiler warnings. | Jack Lloyd | 2017-03-22 | 3 | -3/+3 |
| | | |