Commit Graph

2963 Commits

Author SHA1 Message Date
Steven Fackler 1a9c25b9f9
Merge pull request #1330 from mati865/windows-tests
Make openssl-errors tests work on Windows
2020-08-12 10:35:19 -04:00
Mateusz Mikuła 0163bfec4b Make openssl-errors tests work on Windows 2020-08-12 16:18:51 +02:00
Steven Fackler 56c12958e2
Merge pull request #1329 from marcelbuesing/master
Expose subject_name_hash
2020-08-11 10:19:14 -04:00
Steven Fackler 8c02f30444
Update mod.rs 2020-08-11 10:04:38 -04:00
marcelbuesing 4849ac0aab
Cast to u32 2020-08-11 14:34:46 +02:00
marcelbuesing 1cffc2b575
Expose subject_name_hash 2020-08-11 11:47:28 +02:00
Steven Fackler 08d8367ff2
Merge pull request #1324 from orium/fix-1293-openssl-no-atexit
Make openssl not cleanup at exit, which could lead to race conditions.
2020-08-08 20:51:57 -04:00
Steven Fackler 79b5ee7f55 Stop testing 1024 bit DH keys
Closes #1328
2020-08-08 12:54:39 -04:00
Steven Fackler a7066c2a8c Work around upstream base64 bug
Closes #1325
2020-07-28 17:59:04 -04:00
Steven Fackler c706d91188 Fix EcdsaSig method flexibility
Closes #1323
2020-07-28 13:58:28 -04:00
Diogo Sousa 2602f49243 Make openssl not cleanup at exit, which can lead to race conditions on openssl >= 1.1.1b.
Fixes #1293.
2020-07-28 12:00:44 +01:00
Steven Fackler 5cf2c2d5f0 Fix clippy 2020-07-22 14:18:30 -06:00
Steven Fackler 94e70e09ea
Merge pull request #1311 from Solumin/patch-1
Fix documentation for unwrap_key
2020-07-03 19:28:13 -04:00
Teddy Sudol 6f5ce4b49a
Fix documentation for unwrap_key
The documentation incorrectly stated the length requirements for the input parameters.
2020-07-03 15:39:04 -07:00
Steven Fackler 70b21ed671 Fix changelog 2020-06-25 18:24:07 -07:00
Steven Fackler d8395ba415 Release openssl v0.10.30 2020-06-25 18:22:52 -07:00
Steven Fackler ff4a2152dc
Merge pull request #1306 from crdumoul/master
Add SslStream::from_raw_parts
2020-06-23 21:51:42 -04:00
Christopher Dumoulin 78c77b288c Add SslStream::from_raw_parts 2020-06-23 15:27:42 +00:00
Steven Fackler 164bb84bd1
Merge pull request #1299 from flokli/siganture
sign.rs: fix typo in comment
2020-06-14 18:56:51 -04:00
Florian Klink 3e12906302 sign.rs: fix typo in comment 2020-06-15 00:43:25 +02:00
Steven Fackler 2f98f1c821 Fix CI branch 2020-06-06 16:32:27 -07:00
Steven Fackler f5c89a0b94 remove appveyor builds 2020-06-06 13:58:44 -07:00
Steven Fackler 7546bfd148 Ignore default verify paths test on windows 2020-06-06 13:58:44 -07:00
Steven Fackler 60118dddad test env lookup 2020-06-06 13:58:44 -07:00
Steven Fackler 52c1b6fdc2 set vcpkg root 2020-06-06 13:58:44 -07:00
Steven Fackler a9a092a9ff run stuff 2020-06-06 13:58:44 -07:00
Steven Fackler 5f59ee012e update vcpkg 2020-06-06 13:58:44 -07:00
Steven Fackler 6f7501b034 Move vcpkg build to github actions 2020-06-06 13:58:44 -07:00
Steven Fackler f042c21f93
Merge pull request #1282 from jsha/debug-everything
Add Debug trait for X509 and other types.
2020-06-05 18:38:34 -04:00
Steven Fackler e5e8fb4915 Fix readme link 2020-06-05 15:34:22 -07:00
Steven Fackler 85c95f34a6 Release openssl-sys v0.9.58 2020-06-05 15:33:00 -07:00
Steven Fackler 95a813b646
Merge pull request #1287 from henrydcase/hdc/pke
adding PKE interface
2020-06-05 18:27:57 -04:00
Steven Fackler 65a3417994
Merge pull request #1288 from sgg/sgg/impl-Debug-SslConnector
Adds Debug derive for SslConnector
2020-06-05 18:27:12 -04:00
Steven Fackler f658458c2f
Merge pull request #1290 from Leo1003/fix-dsa-private-pem
Fix private key serializtion in HasPublic impl for DsaRef
2020-06-05 18:27:04 -04:00
Steven Fackler bcce90effe
Merge pull request #1289 from Leo1003/add_write_ec_pubkey
Add PEM/DER serialization for EC public key
2020-06-05 17:07:37 -04:00
Steven Fackler 24af7de14c fix clippy 2020-06-05 13:33:13 -07:00
Leo 4469897ff9 Fix private key serializtion in HasPublic impl for DsaRef 2020-06-05 19:15:41 +08:00
Leo 7d129b6413 Add PEM/DER serialization for EC public key 2020-06-05 18:58:59 +08:00
Samani G. Gikandi d5be3e5758 Adds Debug derive for SslConnector 2020-06-04 17:23:20 -07:00
Jacob Hoffman-Andrews cbfdaa516d Fix test. 2020-06-03 23:32:03 -07:00
Jacob Hoffman-Andrews aedbe6537b Make tests narrower.
Evidently the behavior on different platforms is different with regards
to whether the final element in a list gets a comma or not, so we can't
do a fully-string comparison of the debug output.
2020-06-03 21:30:15 -07:00
Kris Kwiatkowski 5be8a5e9f4 adding PKE interface
The patch adds PKE interface functions, namely:
    EVP_PKEY_encrypt_init
    EVP_PKEY_encrypt
    EVP_PKEY_decrypt_init
    EVP_PKEY_decrypt

Additionally it adds functions for getting and
setting public and private key to/from byte array.

	EVP_PKEY_get_raw_public_key
	EVP_PKEY_new_raw_public_key
	EVP_PKEY_get_raw_private_key
	EVP_PKEY_new_raw_private_key

Finally it also adds a function for getting NID
of a scheme by it's name (SN).
2020-06-03 23:46:32 +00:00
Steven Fackler 639c8af5c1 Fix cache name 2020-06-03 14:49:51 -07:00
Steven Fackler fdc09c9ae9
Merge pull request #1284 from vishwin/master
Support LibreSSL 3.2.0
2020-06-02 07:04:54 -04:00
Charlie Li 32de038385 Support LibreSSL 3.2.0 2020-06-02 06:19:00 -04:00
Jacob Hoffman-Andrews 01e229346c Write "error" when there is an error. 2020-06-01 18:29:50 -07:00
Jacob Hoffman-Andrews 1aff5b9198 Fixes in response to review feedback. 2020-05-31 20:03:37 -07:00
Jacob Hoffman-Andrews 6482f419b8 Add Debug trait for X509 and other types.
This currently leaves out at least two useful things:
 - The detailed SubjectPublicKeyInfo, e.g. the modulus of RSA keys.
 - Extensions.
2020-05-30 17:20:55 -07:00
Steven Fackler 7446f9fa68
Merge pull request #1281 from sfackler/github-actions
More GitHub actions
2020-05-26 21:16:16 -04:00
Steven Fackler 63928bdaaf fix syntax 2020-05-25 17:56:04 -07:00