| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| | * | | Add remaining SSL_OP constants | Steven Fackler | 2016-10-12 | 2 | -10/+10 | |
| | | | | ||||||
| | * | | Add support for OpenSSL 1.1.0 | Alex Crichton | 2016-10-12 | 38 | -1438/+2508 | |
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit is relatively major refactoring of the `openssl-sys` crate as well as the `openssl` crate itself. The end goal here was to support OpenSSL 1.1.0, and lots of other various tweaks happened along the way. The major new features are: * OpenSSL 1.1.0 is supported * OpenSSL 0.9.8 is no longer supported (aka all OSX users by default) * All FFI bindings are verified with the `ctest` crate (same way as the `libc` crate) * CI matrixes are vastly expanded to include 32/64 of all platforms, more OpenSSL version coverage, as well as ARM coverage on Linux * The `c_helpers` module is completely removed along with the `gcc` dependency. * The `openssl-sys` build script was completely rewritten * Now uses `OPENSSL_DIR` to find the installation, not include/lib env vars. * Better error messages for mismatched versions. * Better error messages for failing to find OpenSSL on a platform (more can be done here) * Probing of OpenSSL build-time configuration to inform the API of the `*-sys` crate. * Many Cargo features have been removed as they're now enabled by default. As this is a breaking change to both the `openssl` and `openssl-sys` crates this will necessitate a major version bump of both. There's still a few more API questions remaining but let's hash that out on a PR! Closes #452 | |||||
| * | | Rename NoPadding to None | Steven Fackler | 2016-10-07 | 1 | -5/+5 | |
| | | | ||||||
| * | | Rename EncryptionPadding to Padding | Steven Fackler | 2016-10-07 | 1 | -17/+17 | |
| | | | ||||||
| * | | Merge pull request #461 from aoprisan/RSAEncDec | Steven Fackler | 2016-10-07 | 2 | -1/+175 | |
| |\ \ | | | | | | | Added public/private encrypt/decrypt functions to RSA | |||||
| | * | | Removed max_size; removed all encrypt/decrypt methods except private/public ↵ | Andrei Oprisan | 2016-10-07 | 1 | -69/+26 | |
| | | | | | | | | | | | | | encrypt/decrypt which take the padding | |||||
| | * | | added try_ssl_size, which handles -1 as error and returns the value ↵ | Andrei Oprisan | 2016-10-05 | 2 | -0/+217 | |
| |/ / | | | | | | | | | | | | | | | otherwise; added RSA private_decrypt and public encrypt lift_ssl_size Added public/private encrypt/decrypt to RSA from the original commit + tests; added try_ssl_returns_size macro to check for -1 in case of SSL functions which return size | |||||
| * | | Merge pull request #458 from manuels/patch-1 | Steven Fackler | 2016-10-03 | 1 | -0/+7 | |
| |\ \ | | | | | | | Add RAND_status and RSA paddings | |||||
| | * | | Add RAND_status() | manuels | 2016-10-01 | 1 | -0/+1 | |
| | | | | | | | | | | RAND_status() returns 1 if the PRNG has been seeded with enough data, 0 otherwise. | |||||
| | * | | Add RSA_*_PADDING constants | manuels | 2016-10-01 | 1 | -0/+6 | |
| |/ / | ||||||
| * | | Make sure private component exists when signing | Steven Fackler | 2016-09-29 | 1 | -0/+1 | |
| | | | | | | | | | Closes #457 | |||||
| * | | Merge branch 'release' | Steven Fackler | 2016-09-09 | 3 | -4/+4 | |
| |\| | ||||||
| | * | Merge branch 'release-v0.8.3' into releaseopenssl-v0.8.3 | Steven Fackler | 2016-09-09 | 6 | -8/+11 | |
| | |\ | ||||||
| | | * | Release v0.8.3 | Steven Fackler | 2016-09-09 | 3 | -4/+4 | |
| | |/ |/| | ||||||
| * | | Merge pull request #450 from sfackler/sfackler-patch-1 | Steven Fackler | 2016-09-09 | 1 | -1/+1 | |
| |\ \ | | | | | | | Fix password callback on ARM | |||||
| | * | | Fix password callback on ARM | Steven Fackler | 2016-09-08 | 1 | -1/+1 | |
| |/ / | | | | | Closes #449 | |||||
| * | | Merge pull request #446 from xitep/master | Steven Fackler | 2016-09-01 | 1 | -1/+2 | |
| |\ \ | | | | | | | Implement Clone for openssl::error::ErrorStack | |||||
| | * | | Implement Clone for openssl::error::ErrorStack | Novotnik, Petr | 2016-09-01 | 1 | -1/+2 | |
| |/ / | ||||||
| * | | Merge pull request #444 from adelarsq/patch-1 | Steven Fackler | 2016-08-30 | 1 | -0/+2 | |
| |\ \ | | | | | | | Add cargo clean in the list | |||||
| | * | | Add description about how to solve openssl issue | Adelar da Silva Queiróz | 2016-08-29 | 1 | -1/+2 | |
| | | | | ||||||
| | * | | Add cargo clean in the list | Adelar da Silva Queiróz | 2016-08-29 | 1 | -0/+1 | |
| |/ / | ||||||
| * | | Re-enable 64 bit MSVC | Steven Fackler | 2016-08-20 | 1 | -2/+2 | |
| | | | | | | | | | Closes #443 | |||||
| * | | Merge branch 'release' | Steven Fackler | 2016-08-18 | 5 | -8/+8 | |
| |\| | ||||||
| | * | Merge branch 'release-sys-v0.7.17-v0.8.2' into releaseopenssl-v0.8.2openssl-sys-v0.7.17 | Steven Fackler | 2016-08-18 | 15 | -20/+147 | |
| | |\ | ||||||
| | | * | Release openssl-sys v0.7.17, openssl v0.8.2 | Steven Fackler | 2016-08-18 | 5 | -8/+8 | |
| | |/ |/| | ||||||
| * | | Fix SslContext::add_extra_chain_cert | Steven Fackler | 2016-08-17 | 4 | -3/+28 | |
| | | | | | | | | | | | | | | | | | | | SSL_CTX_add_extra_chain_cert assumes ownership of the certificate, so the method really needs to take an X509 by value. Work around this by manually cloning the cert. This method has been around for over a year but I'm guessing nobody actually used it since it produces a nice double free into segfault! | |||||
| * | | Ignore flickering test on windows | Steven Fackler | 2016-08-16 | 1 | -0/+1 | |
| | | | ||||||
| * | | Merge pull request #436 from dweinstein/asn1_expiration | Steven Fackler | 2016-08-16 | 9 | -7/+96 | |
| |\ \ | | | | | | | Add support for getting X509 notBefore, notAfter | |||||
| | * | | Get rid of use Asn1TimeRef warning for some builds | David Weinstein | 2016-08-17 | 1 | -1/+4 | |
| | | | | ||||||
| | * | | Be explicit regarding Asn1TimeRef lifetimes | David Weinstein | 2016-08-17 | 1 | -2/+2 | |
| | | | | ||||||
| | * | | Fix docs | David Weinstein | 2016-08-17 | 1 | -2/+2 | |
| | | | | ||||||
| | * | | Add x509_validity feature to travis tests | David Weinstein | 2016-08-17 | 2 | -3/+5 | |
| | | | | | | | | | | | | | - also update docs for new x509 `not_before`, `not_after` | |||||
| | * | | Add test for `"x509_validity"` feature | David Weinstein | 2016-08-17 | 1 | -0/+12 | |
| | | | | ||||||
| | * | | Add `"x509_expiry"` feature flag | David Weinstein | 2016-08-17 | 5 | -4/+9 | |
| | | | | | | | | | | | | | | | | - fix return of `ASN1_TIME_print` - assert on null `date` | |||||
| | * | | Introduce `Asn1TimeRef` | David Weinstein | 2016-08-17 | 2 | -15/+35 | |
| | | | | ||||||
| | * | | Progress on asn1 expiry | David Weinstein | 2016-08-17 | 6 | -2/+49 | |
| |/ / | | | | | | | | | | | - Use MemBio and implement `Display` for Asn1Time - Tweak doc for asn1 `not_before`, `not_after` | |||||
| * | | Merge pull request #440 from dweinstein/openssl-mirror | Steven Fackler | 2016-08-16 | 1 | -2/+14 | |
| |\ \ | | | | | | | Improve build script | |||||
| | * | | Fix finicky sha1 stdin format | David Weinstein | 2016-08-17 | 1 | -1/+2 | |
| | | | | ||||||
| | * | | Improve build script | David Weinstein | 2016-08-17 | 1 | -2/+13 | |
| |/ / | | | | | | | | | - try and fallback to a mirror when openssl.org is down - check the sha1 of the downloaded tarball | |||||
| * | | Merge branch 'release' | Steven Fackler | 2016-08-15 | 5 | -8/+8 | |
| |\| | ||||||
| | * | Merge branch 'release-sys-v0.7.16-v0.8.1' into releaseopenssl-v0.8.1openssl-sys-v0.7.16 | Steven Fackler | 2016-08-15 | 20 | -85/+273 | |
| | |\ | ||||||
| | | * | Release openssl-sys v0.7.16, openssl v0.8.1 | Steven Fackler | 2016-08-15 | 5 | -8/+8 | |
| | |/ |/| | ||||||
| * | | Add a little comment to sketchy transmute | Steven Fackler | 2016-08-15 | 1 | -0/+1 | |
| | | | ||||||
| * | | Initialize algorithms in init | Steven Fackler | 2016-08-14 | 1 | -1/+2 | |
| | | | | | | | | | Required to deserialize PKCS12 on 0.9.8, looks like | |||||
| * | | Docs for pkcs12 | Steven Fackler | 2016-08-14 | 1 | -0/+2 | |
| | | | ||||||
| * | | Fix memory leak in general name stack | Steven Fackler | 2016-08-14 | 2 | -2/+15 | |
| | | | ||||||
| * | | PKCS #12 support | Steven Fackler | 2016-08-14 | 4 | -9/+76 | |
| | | | ||||||
| * | | More test fixes | Steven Fackler | 2016-08-14 | 1 | -1/+1 | |
| | | | ||||||
| * | | Fix tests | Steven Fackler | 2016-08-14 | 1 | -9/+9 | |
| | | | ||||||
| * | | Start on PKCS #12 support | Steven Fackler | 2016-08-14 | 9 | -24/+126 | |
| | | | ||||||