Skip to content

Commit

Permalink
Ruby/OpenSSL 3.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rhenium committed Dec 23, 2022
1 parent 5cb3bfb commit be3dc24
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 2 deletions.
36 changes: 36 additions & 0 deletions History.md
@@ -1,3 +1,39 @@
Version 3.1.0
=============

Ruby/OpenSSL 3.1 will be maintained for the lifetime of Ruby 3.2.

Merged bug fixes in 2.2.3 and 3.0.2. Among the new features and changes are:

Notable changes
---------------

* Add `OpenSSL::SSL::SSLContext#ciphersuites=` to allow setting TLS 1.3 cipher
suites.
[[GitHub #493]](https://github.com/ruby/openssl/pull/493)
* Add `OpenSSL::SSL::SSLSocket#export_keying_material` for exporting keying
material of the session, as defined in RFC 5705.
[[GitHub #530]](https://github.com/ruby/openssl/pull/530)
* Add `OpenSSL::SSL::SSLContext#keylog_cb=` for setting the TLS key logging
callback, which is useful for supporting NSS's SSLKEYLOGFILE debugging output.
[[GitHub #536]](https://github.com/ruby/openssl/pull/536)
* Remove the default digest algorithm from `OpenSSL::OCSP::BasicResponse#sign`
and `OpenSSL::OCSP::Request#sign`. Omitting the 5th parameter of these
methods used to be equivalent of specifying SHA-1. This default value is now
removed and we will let the underlying OpenSSL library decide instead.
[[GitHub #507]](https://github.com/ruby/openssl/pull/507)
* Add `OpenSSL::BN#mod_sqrt`.
[[GitHub #553]](https://github.com/ruby/openssl/pull/553)
* Allow calling `OpenSSL::Cipher#update` with an empty string. This was
prohibited to workaround an ancient bug in OpenSSL.
[[GitHub #568]](https://github.com/ruby/openssl/pull/568)
* Fix build on platforms without socket support, such as WASI. `OpenSSL::SSL`
will not be defined if OpenSSL is compiled with `OPENSSL_NO_SOCK`.
[[GitHub #558]](https://github.com/ruby/openssl/pull/558)
* Improve support for recent LibreSSL versions. This includes HKDF support in
LibreSSL 3.6 and Ed25519 support in LibreSSL 3.7.


Version 3.0.2
=============

Expand Down
2 changes: 1 addition & 1 deletion lib/openssl/version.rb
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module OpenSSL
VERSION = "3.1.0.pre"
VERSION = "3.1.0"
end
2 changes: 1 addition & 1 deletion openssl.gemspec
@@ -1,6 +1,6 @@
Gem::Specification.new do |spec|
spec.name = "openssl"
spec.version = "3.1.0.pre"
spec.version = "3.1.0"
spec.authors = ["Martin Bosslet", "SHIBATA Hiroshi", "Zachary Scott", "Kazuki Yamaguchi"]
spec.email = ["ruby-core@ruby-lang.org"]
spec.summary = %q{OpenSSL provides SSL, TLS and general purpose cryptography.}
Expand Down

0 comments on commit be3dc24

Please sign in to comment.