| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Revert "Revert "impl Clone for PKey and X509 by using their 'references' ↵ | Steven Fackler | 2016-01-31 | 1 | -0/+14 |
| | | | | | member"" | ||||
| * | Fix PKey RSA constructors | Steven Fackler | 2016-01-30 | 1 | -22/+7 |
| | | | | | | | | | `set1` functions bump the object's refcount so we were previously leaking the RSA object. Split the decode from PEM part out to a method on RSA and use that in the PKey constructors. Also make RSA a pointer and actually free it. | ||||
| * | Revert "impl Clone for PKey and X509 by using their 'references' member" | Steven Fackler | 2016-01-28 | 1 | -14/+0 |
| | | |||||
| * | Merge branch 'master' of https://github.com/sfackler/rust-openssl | Daniel Albert | 2016-01-20 | 1 | -0/+85 |
| |\ | |||||
| | * | crypto/pkey: impl Clone for PKey using openssl's ref counting | Cody P Schafer | 2016-01-19 | 1 | -0/+14 |
| | | | |||||
| | * | Merge pull request #328 from Cyberunner23/PemRSA | Steven Fackler | 2016-01-09 | 1 | -0/+68 |
| | |\ | | | | | | | Add support for RSA PEM files. | ||||
| | | * | Added tests for private_rsa_key_from_pem() and public_rsa_key_from_pem() | Cyberunner23 | 2016-01-09 | 1 | -0/+20 |
| | | | | |||||
| | | * | Added private_rsa_key_from_pem and public_rsa_key_from_pem. | Cyberunner23 | 2016-01-05 | 1 | -0/+48 |
| | | | | |||||
| | * | | Mark PKey as `Send` and `Sync` | Will Tange | 2016-01-07 | 1 | -0/+3 |
| | |/ | | | | | | | | | Provided that the locking function is set, the underlying `ffi::EVP_KEY` type should be safe to use across threads. | ||||
| * / | Add RSA structs | Daniel Albert | 2016-01-01 | 1 | -2/+2 |
| |/ | |||||
| * | Rustfmt | Steven Fackler | 2015-12-15 | 1 | -115/+144 |
| | | |||||
| * | Fix a leak when using `EVP_PKEY_get1_RSA`. | Overmind JIANG | 2015-11-18 | 1 | -0/+1 |
| | | | | | | | `EVP_PKEY_get1_RSA` returns a RSA structure with its reference count increased by 1 and therefore we need to call `RSA_free` after finishing using that value. | ||||
| * | Provide public_decrypt, private_encrypt for PKEY | Thom May | 2015-10-28 | 1 | -12/+115 |
| | | |||||
| * | Add public key PEM read function. | Nathan Lilienthal | 2015-10-01 | 1 | -0/+26 |
| | | |||||
| * | Merge pull request #270 from mvdnes/crypto_segv | Steven Fackler | 2015-09-11 | 1 | -7/+67 |
| |\ | | | | | Check if public/private RSA key is properly loaded | ||||
| | * | Fix one call to RSA_size found by tests | Mathijs van de Nes | 2015-09-11 | 1 | -1/+1 |
| | | | |||||
| | * | Add tests to ensure a panic occurs instead of segv | Mathijs van de Nes | 2015-09-11 | 1 | -0/+32 |
| | | | |||||
| | * | Check rsa.is_null() before passing it to RSA_size | Mathijs van de Nes | 2015-09-10 | 1 | -1/+22 |
| | | | | | | | | | RSA_size will cause an segmentation fault if it is null | ||||
| | * | Check _fromstr function for success | Mathijs van de Nes | 2015-09-10 | 1 | -6/+13 |
| | | | |||||
| * | | Make the docs say that load_pub/save_pub methods take DER bytes | Alex Gaynor | 2015-09-09 | 1 | -2/+2 |
| |/ | |||||
| * | Add function to write RSA public key as PEM | Andrew Dunham | 2015-07-23 | 1 | -0/+32 |
| | | |||||
| * | Correction on sign and verify documentation to be more explicit of right | Emeric Chevalier | 2015-05-30 | 1 | -8/+17 |
| | | | | | behaviour (no hash done by the functions). | ||||
| * | Move PKey comparison func to public_eq() | Manuel Schölling | 2015-05-01 | 1 | -14/+14 |
| | | |||||
| * | Add comparison for PKeys | Manuel Schölling | 2015-04-16 | 1 | -0/+30 |
| | | |||||
| * | Add X509::public_key() | Manuel Schölling | 2015-04-15 | 1 | -1/+11 |
| | | |||||
| * | Add SslContext::add_extra_chain_cert() | Manuel Schölling | 2015-04-03 | 1 | -1/+0 |
| | | |||||
| * | Add ability to load private keys from files and use raw keys and ↵ | Manuel Schölling | 2015-04-03 | 1 | -0/+30 |
| | | | | | certificates for SslContext | ||||
| * | Fixup for beta | Alex Crichton | 2015-04-02 | 1 | -3/+3 |
| | | | | | Add derive(Clone) and don't negate unsigned numbers | ||||
| * | Fix deprecation warnings | Steven Fackler | 2015-03-25 | 1 | -15/+15 |
| | | |||||
| * | Convert to new IO. | Steven Fackler | 2015-02-24 | 1 | -3/+5 |
| | | |||||
| * | Move docs to this repo and auto build | Steven Fackler | 2015-02-07 | 1 | -0/+423 |