Steven Fackler
cdf388e3f4
Release v0.9.5
2017-01-03 16:09:24 -08:00
Steven Fackler
dbd6134fd6
Clean up EcKey example a bit
2017-01-03 15:33:45 -08:00
Steven Fackler
0897c196e1
Merge pull request #547 from sfackler/x509-stack
...
Add X509::stack_from_pem
2017-01-03 15:31:03 -08:00
Steven Fackler
da817c952d
Merge pull request #541 from bluejekyll/master
...
add EcKey creation from EcPoint, public_key
2017-01-03 15:27:14 -08:00
Steven Fackler
6291407b17
Add X509::stack_from_pem
...
Implementation is a clone of SSL_CTX_use_certificate_chain_file
2017-01-03 14:56:00 -08:00
Steven Fackler
570af5ff09
Merge pull request #545 from Philipp91/patch-2
...
Pointer from PKey docs to sign module.
2017-01-03 12:37:17 -08:00
Steven Fackler
95a2660499
Merge pull request #544 from tomusdrw/master
...
Improving missing OpenSSL message on Linux
2017-01-03 12:37:04 -08:00
Steven Fackler
e2f1569500
Tweak layout a little bit
2017-01-03 12:35:52 -08:00
Philipp Keck
1767cd5464
Pointer from PKey docs to sign module.
...
Could even add a link, but I don't know how.
Someone who wants to use OpenSSL to compute an HMAC won't find a "hmac" module and won't find HMACs in the "hash" module. Unless the person knows that HMACs are used to "sign" messages (the usual term in this context would be "authenticate"), they will probably use the search function and look for "hmac", then they'll find this method. So it's helpful to include a pointer to the right API to use. Without such a pointer, the API user is left with a seemingly useless Pkey instance.
Similar pointers could be helpful from the other creator methods in this file. And/or from the top-level documentation or the hash documentation towards the sign module. Another idea would be a trivial `hmac` module with a few helper functions that internally just use Pkey. If many users who just want a simple HMAC value can use that API, there are fewer dependencies on `Pkey` and `sign`, which is probably a good thing.
2017-01-03 14:48:46 +01:00
Tomasz Drwięga
d9e3d6ea21
Improving missing OpenSSL message on Linux
2017-01-03 11:56:32 +01:00
Steven Fackler
cfb2539ed4
Typo
2017-01-02 09:37:31 -08:00
Steven Fackler
f9404947a3
Some readme tweaks
2017-01-01 11:30:31 -08:00
Steven Fackler
0483ea767c
Little cleanup
2017-01-01 11:05:54 -08:00
Steven Fackler
0e0bee50a5
Clean up bio
2017-01-01 10:18:43 -08:00
Steven Fackler
7e75c76bb4
Stick tag description on the right function
2017-01-01 10:13:34 -08:00
Steven Fackler
cdabc1b3e3
Fix docs
2017-01-01 10:07:32 -08:00
Steven Fackler
85a6e8acca
Fix doc reference
2017-01-01 09:53:08 -08:00
Benjamin Fry
444c00955a
add EcKey creation from EcPoint, public_key
2016-12-31 10:40:56 -08:00
Steven Fackler
5c49b58a88
Indicate that memcmp::eq should be used for HMACs
2016-12-31 09:44:57 -08:00
Steven Fackler
283036c5ad
Merge pull request #540 from joshtriplett/metadeps
...
Use metadeps to specify pkg-config dependencies declaratively
2016-12-25 12:17:45 -05:00
Josh Triplett
9ff3ce4687
Use metadeps to specify pkg-config dependencies declaratively
...
This makes it easier for distribution packaging tools to generate
appropriate package dependencies.
2016-12-24 02:38:51 -08:00
Steven Fackler
762510a5fa
Release v0.9.4
2016-12-23 13:38:52 -05:00
Steven Fackler
7e035a7fd1
Merge pull request #538 from semarie/libressl
...
Add LibreSSL support
2016-12-22 11:59:19 -05:00
Sébastien Marie
a70e27ae64
Add Travis build against LibreSSL
2016-12-21 09:27:21 +01:00
Sébastien Marie
b3526cbd2b
Add LibreSSL 2.5.0 support
2016-12-21 09:27:12 +01:00
Sébastien Marie
53c470c71a
duplicate ossl10x.rs to libressl.rs
2016-12-21 08:39:25 +01:00
Steven Fackler
593e530ba2
Merge pull request #539 from alexcrichton/zero-write
...
Handle zero-length writes in SSL_write
2016-12-20 16:32:31 -08:00
Alex Crichton
8e01f8d250
Handle zero-length reads/writes
...
This commit adds some short-circuits for zero-length reads/writes to
`SslStream`. Because OpenSSL returns 0 on error, then we could mistakenly
confuse a 0-length success as an actual error, so we avoid writing or reading 0
bytes by returning quickly with a success.
2016-12-20 15:52:18 -08:00
Steven Fackler
3cfcf13880
Merge branch 'master' of github.com:sfackler/rust-openssl
2016-12-20 14:30:56 -08:00
Steven Fackler
fde5b42d3e
Merge pull request #535 from Philipp91/patch-1
...
#534 Explain how to install trusted root certificates
2016-12-14 09:05:04 -08:00
Philipp Keck
65d45bcad8
Explain how to install trusted root certificates
...
The slproweb.com OpenSSL distribution does not contain root certificates, so they need to be downloaded and installed manually to avoid certificate warnings when making requests.
2016-12-14 17:55:07 +01:00
Steven Fackler
b310e594cd
Merge pull request #531 from aidanhs/aphs-lib-include-dirs
...
Allow OPENSSL_{LIB,INCLUDE}_DIR to override OPENSSL_DIR
2016-12-12 11:44:51 -08:00
Aidan Hobson Sayers
b090804227
Allow OPENSSL_{LIB,INCLUDE}_DIR to override OPENSSL_DIR
2016-12-12 17:51:35 +00:00
Steven Fackler
791f2c8f4d
Release v0.9.3
2016-12-09 21:54:06 -08:00
Steven Fackler
26cefe7d97
Switch to docs.rs for docs
2016-12-09 21:52:43 -08:00
Steven Fackler
152d788998
Fix ErrorStack display
2016-12-09 21:32:41 -08:00
Steven Fackler
33ca7b6320
Merge pull request #530 from 0xa/blowfish
...
Add Blowfish support
2016-12-09 14:24:56 -08:00
0xa
5340895249
Add Blowfish tests
2016-12-09 21:31:26 +00:00
0xa
0850f605b1
Use EVP_bf_cfb64 instead of EVP_bf_cfb
2016-12-09 18:42:10 +00:00
0xa
0081665339
Add Blowfish support
2016-12-09 17:06:15 +00:00
Steven Fackler
e2331b29d3
Update README.md
2016-12-02 11:11:24 -08:00
Steven Fackler
0602712bf4
Release v0.9.2
2016-11-27 22:23:32 -08:00
Steven Fackler
146512099b
Implement Clone for SslConnector and SslAcceptor
2016-11-27 21:35:35 -08:00
Steven Fackler
234f126d7d
Cleanup
2016-11-27 21:00:59 -08:00
Steven Fackler
8b60d4a3c2
Return Option from group
2016-11-16 15:45:15 -08:00
Steven Fackler
e58dda8990
Remove EcGroup constructors
...
You also need a generator and possibly other stuff. Let's hold off on
construction until someone has a concrete requirement for them.
2016-11-16 13:53:03 +01:00
Steven Fackler
7515510125
Test elliptic curve signatures
2016-11-15 22:06:20 +01:00
Steven Fackler
ec0fa36714
Add a test for mul_generator
2016-11-15 21:24:34 +01:00
Steven Fackler
b914f779e8
Turns out yet another variant of EC_POINT_mul is allowed!
2016-11-15 21:20:06 +01:00
Steven Fackler
9dca8f06e7
Merge pull request #524 from sfackler/ec
...
More elliptic curve functionality
2016-11-15 11:23:11 +01:00