Commit Graph

1859 Commits

Author SHA1 Message Date
Bradley Beddoes d9e0321851 Set the private key within EcKeyBuilder
The initial usecase here is creating EcKey instances from JWK
representations, that hold private keys, as defined within RFC 7517.
2017-08-09 12:44:54 +10:00
Bradley Beddoes cfb4ea31d5 Support for EcKey creation from affine coordinates
Sets the public key for an EcKey based on its affine co-ordinates,
i.e. it constructs an EC_POINT object based on the supplied x and y
values and sets the public key to be this EC_POINT.

The initial usecase here is creating EcKey instances from JWK
representations as defined within RFC 7517.
2017-08-09 12:21:54 +10:00
Steven Fackler f34af83653 Init in bn_ctx constructor 2017-07-30 13:24:36 -07:00
Steven Fackler d1a42598d7 Init in Dh constructors 2017-07-30 13:23:19 -07:00
Steven Fackler ce2f5500ca Delete old script 2017-07-30 12:12:34 -07:00
Steven Fackler c2164a4864 Add peer_cert_chain 2017-07-29 10:34:10 -07:00
Steven Fackler a132834132 Ignore dtls tests
They're way too flaky.

Closes #525
2017-07-29 09:54:04 -07:00
Steven Fackler b48fce69e2 Fix cache detection 2017-07-29 09:37:40 -07:00
Steven Fackler 381267816f Little circle cleanup 2017-07-27 22:20:01 -07:00
Steven Fackler 8fa9b58743 Tweak formatting on cipher list 2017-07-26 20:49:24 -07:00
Steven Fackler 01927c19ac Initialize OpenSSL in DSA constructor
This fixes the double unlock errors that were popping up on circle
2017-07-25 21:59:52 -07:00
Steven Fackler a02f039c0c Fix build 2017-07-25 20:41:11 -07:00
Steven Fackler 16b2870d14 Fix build 2017-07-25 20:37:13 -07:00
Steven Fackler 82b1a12f35 Abort on bad unlock and safe core dumps 2017-07-25 20:35:29 -07:00
Steven Fackler fbc2c08e07 Always apt-get update 2017-07-25 19:53:34 -07:00
Steven Fackler 1f2716587a Only install curl when building openssl 2017-07-25 19:29:58 -07:00
Steven Fackler 58719820c0 Remove unused environment variable 2017-07-24 23:23:36 -07:00
Steven Fackler 321fa4c29f Sync deps key with rust version 2017-07-24 23:23:08 -07:00
Steven Fackler adb4a06365 Merge pull request #669 from sfackler/arm-systest
Run systest for ARM targets
2017-07-24 22:47:53 -07:00
Steven Fackler 8450cfbb52 Run systest for ARM targets
Also bump to the 1.19 image to make targets a bit easier to manage.
2017-07-24 22:37:31 -07:00
Steven Fackler 581fadc34c Drop to just -g
Debian's ld seems to ICE on it otherwise with OpenSSL 1.1 :(
2017-07-22 11:11:02 -07:00
Steven Fackler 2dbc840172 Build OpenSSL with debuginfo 2017-07-22 11:07:24 -07:00
Steven Fackler 5eced986fc Set RUST_BACKTRACE=1 on tests 2017-07-22 10:58:40 -07:00
Steven Fackler 6c4500b07c Merge pull request #668 from mgeisler/patch-1
Mention Debian for apt-get instructions
2017-07-22 10:55:14 -07:00
Martin Geisler 04c6b47749 Mention Debian for apt-get instructions
Since Debian is the upstream for Ubuntu (and many other distributions), I think it makes sense to mention it explicitly.
2017-07-22 19:48:56 +02:00
Steven Fackler bf6dc28f0c Release v0.9.15 2017-07-19 19:35:28 -07:00
Steven Fackler 43cacf00f5 Forbid LibreSSL 2.5.6+ 2017-07-19 19:30:13 -07:00
Steven Fackler 7de1499c65 Fix X509::clone impl
Closes #667
2017-07-19 19:23:47 -07:00
Steven Fackler a318e88712 Merge pull request #666 from ibabushkin/master
Support for LibreSSL 2.5.5
2017-07-17 11:45:30 -07:00
Inokentiy Babushkin 453e641aa6
Support for LibreSSL 2.5.5 2017-07-17 20:29:35 +02:00
Steven Fackler 455c2f9187 Merge pull request #664 from sfackler/libressl-260
Test against libressl 2.6.0
2017-07-16 14:56:08 -07:00
Steven Fackler 5e0146b10a Test against libressl 2.6.0 2017-07-16 14:51:43 -07:00
Steven Fackler 9c9a0efafc Remove unused import 2017-07-16 14:31:27 -07:00
Steven Fackler b1d5ec99dd Merge pull request #663 from sfackler/circle
Switch over Linux tests to CircleCI
2017-07-16 14:28:35 -07:00
Steven Fackler c8ba960bbc Add badges to README 2017-07-16 14:20:16 -07:00
Steven Fackler 3a7ca9c2ff Switch over Linux tests to CircleCI 2017-07-16 14:15:09 -07:00
Steven Fackler 605b8af445 Tell docs.rs to build with all features 2017-07-15 22:08:52 -07:00
Steven Fackler 374ad206d5 Use foreign-type's Opaque 2017-07-15 21:53:49 -07:00
Steven Fackler bcd0dcafcb Rustfmt 2017-07-15 21:46:11 -07:00
Steven Fackler 5c2410c38a Init before creating ex indexes 2017-07-15 18:58:24 -07:00
Steven Fackler 0408f75b17 Merge pull request #662 from sfackler/verify-cleanup
Don't force overwrite verification mode in SslConnector
2017-07-15 18:37:20 -07:00
Steven Fackler dbbf446a9e Fix build 2017-07-15 17:25:02 -07:00
Steven Fackler c68db708ee Don't overwrite the configured verify mode
We can leverage the new extra data API to configure the verification
mode up front so users can reconfigure it as they like.
2017-07-15 16:50:36 -07:00
Steven Fackler fd52bbe85c Add an API to install extra data 2017-07-15 16:50:36 -07:00
Steven Fackler e3c7a2785c Move callbacks to a submodule 2017-07-15 16:50:36 -07:00
Steven Fackler 9290ed97c2 Merge pull request #657 from sfackler/rsa-pkcs1
Support PKCS#1 RSA public keys
2017-07-06 14:11:27 -10:00
Steven Fackler 88e277d49e Inform cargo about which env vars we care about 2017-07-04 21:24:59 -07:00
Steven Fackler 279bffccf5 Merge pull request #641 from luser/psk
Expose PSK via a SslContextBuilder::set_psk_callback method
2017-07-04 18:19:17 -10:00
Steven Fackler 51a226eb4b Support PKCS#1 RSA public keys
Closes #656
2017-07-04 20:57:00 -07:00
Steven Fackler 026ed1fa07 Merge pull request #655 from ltratt/master
Enable build on LibreSSL 5.6.0 development branch.
2017-06-25 11:06:03 -07:00