openssl 3.3.2-java → 4.0.1-java

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/CONTRIBUTING.md +3 -0
  3. data/History.md +105 -0
  4. data/README.md +12 -11
  5. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bf9522ee11a31ec94832d43bc4c2ce1a39da5b441c90cebe6c7815ecb23ca00c
4
- data.tar.gz: b13e65b9d6b6e90b0b0fa7d537c588895812e2179e0e10d3adb665a727bd8d84
3
+ metadata.gz: d94d72616de151418fc2280e0b54dbf97158e8a0bf4810ed95ef23af8de04d45
4
+ data.tar.gz: b55b5a78d888b3d20966fbdb2bd0f7bd712ed324e9f052620edbba6d840b3c0e
5
5
  SHA512:
6
- metadata.gz: 0bb619e1823453ccdc51253f42d23c5214e8410041d122c1114ae54eb389096715a873e2253c1a76b89475636d3e51b6d25b81ed33662d7ce19aae00a45506f2
7
- data.tar.gz: b0f133dd8e31b31b383a61c1c8cc93300fc5b182c33c05eb12db725652b12397f6b5c3e50a0812595b48d7e650d365acae48d9c1e577755db429e4d7e41d6e8d
6
+ metadata.gz: 728c01f67df3a8b398f41e6cb61e82533b0d68318313b69c0ce1b763ce88104a6a75099bbb1ea7a6639fc18ef79c8c1ce4e3ed7fc23b4c0a6705c55dc78acbb4
7
+ data.tar.gz: 1a0d9332a30fb31ac2eeb005724fcb8ff22d98bf9b2a6afa16884b9d6f9f1ece0e1be58127ff37c0e8b0b79531e0f51746299589ccffb6d57a53a5ae16a298ab
data/CONTRIBUTING.md CHANGED
@@ -224,6 +224,9 @@ $ OPENSSL_CONF=$OPENSSL_DIR/ssl/openssl_fips.cnf \
224
224
  The GitHub Actions workflow file [`test.yml`][GitHub test.yml] contains useful
225
225
  information for building OpenSSL/LibreSSL and testing against them.
226
226
 
227
+ ## Debugging
228
+
229
+ You can use the `OpenSSL.debug = true` to print additional error strings.
227
230
 
228
231
  ## Relation with Ruby source tree
229
232
 
data/History.md CHANGED
@@ -1,3 +1,108 @@
1
+ Version 4.0.1
2
+ =============
3
+
4
+ Notable changes
5
+ ---------------
6
+
7
+ * Add `sync_close` keyword argument to `OpenSSL::SSL::SSLSocket.new` as a
8
+ short-hand for setting `sync_close` attribute on the created `SSLSocket`
9
+ instance.
10
+ [[GitHub #955]](https://github.com/ruby/openssl/issues/955)
11
+ [[GitHub #996]](https://github.com/ruby/openssl/pull/996)
12
+
13
+
14
+ Bug fixes
15
+ ---------
16
+
17
+ * Fix uninitialized variables in `OpenSSL::OCSP::BasicResponse#status`.
18
+ [[GitHub #1004]](https://github.com/ruby/openssl/pull/1004)
19
+
20
+
21
+ Version 4.0.0
22
+ =============
23
+
24
+ Compatibility
25
+ -------------
26
+
27
+ * Ruby >= 2.7
28
+ * OpenSSL >= 1.1.1, LibreSSL >= 3.9, and AWS-LC 1.66.0
29
+ - Removed support for OpenSSL 1.0.2-1.1.0 and LibreSSL 3.1-3.8.
30
+ [[GitHub #835]](https://github.com/ruby/openssl/issues/835)
31
+ - Added support for AWS-LC.
32
+ [[GitHub #833]](https://github.com/ruby/openssl/issues/833)
33
+
34
+
35
+ Notable changes
36
+ ---------------
37
+
38
+ * `OpenSSL::SSL`
39
+ - Reduce overhead when writing to `OpenSSL::SSL::SSLSocket`. `#syswrite` no
40
+ longer creates a temporary String object.
41
+ [[GitHub #831]](https://github.com/ruby/openssl/pull/831)
42
+ - Make `OpenSSL::SSL::SSLContext#min_version=` and `#max_version=` wrap the
43
+ corresponding OpenSSL APIs directly, and remove the fallback to SSL options.
44
+ [[GitHub #849]](https://github.com/ruby/openssl/pull/849)
45
+ - Add `OpenSSL::SSL::SSLContext#sigalgs=` and `#client_sigalgs=` for
46
+ specifying signature algorithms to use for connections.
47
+ [[GitHub #895]](https://github.com/ruby/openssl/pull/895)
48
+ - Rename `OpenSSL::SSL::SSLContext#ecdh_curves=` to `#groups=` following
49
+ the underlying OpenSSL API rename. This method is no longer specific to
50
+ ECDHE. The old method remains as an alias.
51
+ [[GitHub #900]](https://github.com/ruby/openssl/pull/900)
52
+ - Add `OpenSSL::SSL::SSLSocket#sigalg`, `#peer_sigalg`, and `#group` for
53
+ getting the signature algorithm and the key agreement group used in the
54
+ current connection.
55
+ [[GitHub #908]](https://github.com/ruby/openssl/pull/908)
56
+ - Enable `SSL_CTX_set_dh_auto()` for servers by default.
57
+ [[GitHub #924]](https://github.com/ruby/openssl/pull/924)
58
+ - Improve Ractor compatibility. Note that the internal-use constant
59
+ `OpenSSL::SSL::SSLContext::DEFAULT_PARAMS` is now frozen.
60
+ [[GitHub #925]](https://github.com/ruby/openssl/pull/925)
61
+ * `OpenSSL::PKey`
62
+ - Remove `OpenSSL::PKey::EC::Point#mul` support with array arguments. The
63
+ underlying OpenSSL API has been removed, and the method has been deprecated
64
+ since ruby/openssl v3.0.0.
65
+ [[GitHub #843]](https://github.com/ruby/openssl/pull/843)
66
+ - `OpenSSL::PKey::{RSA,DSA,DH}#params` uses `nil` to indicate missing fields
67
+ instead of the number `0`.
68
+ [[GitHub #774]](https://github.com/ruby/openssl/pull/774)
69
+ - Unify `OpenSSL::PKey::PKeyError` classes. The former subclasses
70
+ `OpenSSL::PKey::DHError`, `OpenSSL::PKey::DSAError`,
71
+ `OpenSSL::PKey::ECError`, and `OpenSSL::PKey::RSAError` have been merged
72
+ into a single class.
73
+ [[GitHub #929]](https://github.com/ruby/openssl/pull/929)
74
+ * `OpenSSL::Cipher`
75
+ - `OpenSSL::Cipher#encrypt` and `#decrypt` no longer accept arguments.
76
+ Passing passwords has been deprecated since Ruby 1.8.2 (released in 2004).
77
+ [[GitHub #887]](https://github.com/ruby/openssl/pull/887)
78
+ - `OpenSSL::Cipher#final` raises `OpenSSL::Cipher::AuthTagError` when the
79
+ integrity check fails for AEAD ciphers. `OpenSSL::Cipher::AuthTagError` is a
80
+ new subclass of `OpenSSL::Cipher::CipherError`, which was previously raised.
81
+ [[GitHub #939]](https://github.com/ruby/openssl/pull/939)
82
+ - `OpenSSL::Cipher.new` now raises `OpenSSL::Cipher::CipherError` instead of
83
+ `RuntimeError` when OpenSSL does not recognize the algorithm.
84
+ [[GitHub #958]](https://github.com/ruby/openssl/pull/958)
85
+ - Add support for "fetched" cipher algorithms with OpenSSL 3.0 or later.
86
+ [[GitHub #958]](https://github.com/ruby/openssl/pull/958)
87
+ * `OpenSSL::Digest`
88
+ - `OpenSSL::Digest.new` now raises `OpenSSL::Digest::DigestError` instead of
89
+ `RuntimeError` when OpenSSL does not recognize the algorithm.
90
+ [[GitHub #958]](https://github.com/ruby/openssl/pull/958)
91
+ - Add support for "fetched" digest algorithms with OpenSSL 3.0 or later.
92
+ [[GitHub #958]](https://github.com/ruby/openssl/pull/958)
93
+ * `OpenSSL::ASN1.decode` now assumes a 1950-2049 year range for `UTCTime`
94
+ according to RFC 5280. It previously used a 1969-2068 range. The encoder
95
+ has always used the 1950-2049 range.
96
+ [[GitHub #909]](https://github.com/ruby/openssl/pull/909)
97
+ * `OpenSSL::OpenSSLError`, the base class for all ruby/openssl errors, carry
98
+ an additional attribute `#errors` to keep the content of OpenSSL's error
99
+ queue. Also, add `#detailed_message` for Ruby 3.2 or later.
100
+ [[GitHub #976]](https://github.com/ruby/openssl/pull/976)
101
+ * `OpenSSL::PKCS7.new` raises `OpenSSL::PKCS7::PKCS7Error` instead of
102
+ `ArgumentError` on error to be consistent with other constructors.
103
+ [[GitHub #983]](https://github.com/ruby/openssl/pull/983)
104
+
105
+
1
106
  Version 3.3.2
2
107
  =============
3
108
 
data/README.md CHANGED
@@ -16,17 +16,18 @@ the standard library of Ruby. This is called a [default gem].
16
16
  Each stable branch of OpenSSL for Ruby will remain supported as long as it is
17
17
  included as a default gem in [supported Ruby branches][Ruby Maintenance Branches].
18
18
 
19
- |Version|Maintenance status |Ruby compatibility|OpenSSL compatibility |
20
- |-------|-------------------------------|------------------|--------------------------------------------|
21
- |3.3.x |normal maintenance (Ruby 3.4) |Ruby 2.7+ |OpenSSL 1.0.2-3.4 (current) or LibreSSL 3.1+|
22
- |3.2.x |normal maintenance (Ruby 3.3) |Ruby 2.7+ |OpenSSL 1.0.2-3.4 (current) or LibreSSL 3.1+|
23
- |3.1.x |normal maintenance (Ruby 3.2) |Ruby 2.6+ |OpenSSL 1.0.2-3.4 (current) or LibreSSL 3.1+|
24
- |3.0.x |security maintenance (Ruby 3.1)|Ruby 2.6+ |OpenSSL 1.0.2-3.4 (current) or LibreSSL 3.1+|
25
- |2.2.x |end-of-life (Ruby 3.0) |Ruby 2.3+ |OpenSSL 1.0.1-1.1.1 or LibreSSL 2.9+ |
26
- |2.1.x |end-of-life (Ruby 2.5-2.7) |Ruby 2.3+ |OpenSSL 1.0.1-1.1.1 or LibreSSL 2.5+ |
27
- |2.0.x |end-of-life (Ruby 2.4) |Ruby 2.3+ |OpenSSL 0.9.8-1.1.1 or LibreSSL 2.3+ |
28
-
29
- [default gem]: https://docs.ruby-lang.org/en/master/standard_library_rdoc.html
19
+ |Version|Minimum Ruby|OpenSSL compatibility |Bundled with|Maintenance |
20
+ |-------|------------|-----------------------------------------|------------|-------------|
21
+ |4.0.x |Ruby 2.7 |OpenSSL 1.1.1-3.x, LibreSSL 3.9+, AWS-LC |Ruby 4.0 |bug fixes |
22
+ |3.3.x |Ruby 2.7 |OpenSSL 1.0.2-3.x, LibreSSL 3.1+ |Ruby 3.4 |bug fixes |
23
+ |3.2.x |Ruby 2.7 |OpenSSL 1.0.2-3.x, LibreSSL 3.1+ |Ruby 3.3 |bug fixes |
24
+ |3.1.x |Ruby 2.6 |OpenSSL 1.0.2-3.x, LibreSSL 3.1+ |Ruby 3.2 |security only|
25
+ |3.0.x |Ruby 2.6 |OpenSSL 1.0.2-3.x, LibreSSL 3.1+ |Ruby 3.1 |end-of-life |
26
+ |2.2.x |Ruby 2.3 |OpenSSL 1.0.1-1.1.1, LibreSSL 2.9+ |Ruby 3.0 |end-of-life |
27
+ |2.1.x |Ruby 2.3 |OpenSSL 1.0.1-1.1.1, LibreSSL 2.5+ |Ruby 2.5-2.7|end-of-life |
28
+ |2.0.x |Ruby 2.3 |OpenSSL 0.9.8-1.1.1, LibreSSL 2.3+ |Ruby 2.4 |end-of-life |
29
+
30
+ [default gem]: https://docs.ruby-lang.org/en/master/standard_library_md.html
30
31
  [Ruby Maintenance Branches]: https://www.ruby-lang.org/en/downloads/branches/
31
32
 
32
33
  ## Installation
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: openssl
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.3.2
4
+ version: 4.0.1
5
5
  platform: java
6
6
  authors:
7
7
  - Martin Bosslet
@@ -62,7 +62,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
62
62
  - !ruby/object:Gem::Version
63
63
  version: '0'
64
64
  requirements: []
65
- rubygems_version: 3.6.9
65
+ rubygems_version: 3.7.2
66
66
  specification_version: 4
67
67
  summary: SSL/TLS and general-purpose cryptography for Ruby
68
68
  test_files: []