openssl 3.1.1 → 3.1.2

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 65d16dc88820644059bc2773d3f9ea9511324aa07822a31b2bdf1dfd2306224f
4
- data.tar.gz: bbd4cdeec2d76994294061804456942b9528d86352375b8d2c4dfea171287ec5
3
+ metadata.gz: dbe917c45b0e60c1735c892a39e0b4868e596b9ed2ca8cebad6b9ed4aa83ad65
4
+ data.tar.gz: 71d418aea139e127f3dff2034ddf23aa4123b5ff557318830a3cbf6a25ae71dc
5
5
  SHA512:
6
- metadata.gz: 3b7477f09b389f6ed8ffc24c5adb43cfe9a19ba2ee6293adc5e1d08199ea3a9365c4006705c4a4c2935e251e6e720af699786f0eda6cebc7fa2ec9826eb1dbcb
7
- data.tar.gz: 765705e0e698d843b3a2809e957542c76dc414208a762ad58fdfdb6ed9f6400c39c797b0cdc7ad6173fd1d12b4b7c16a448e0a0445fec4efbf190a27318e4340
6
+ metadata.gz: 5301e268ece1b30929810331c436a3946817f3805d2a60eca1f3d112342080db124a5f722c81eb5724a0b7e75890c74bb9bf308a1f73d6103a0169e56ef9147d
7
+ data.tar.gz: 5ac8d51298e646478c15fa41d0f3376a3a261513ad5eaa4c902d428ac92488b824db450e6136a8f88c37d50c8c6a63a850fe418b6d407c8698d03f8a1a3b4b77
data/History.md CHANGED
@@ -1,3 +1,20 @@
1
+ Version 3.1.2
2
+ =============
3
+
4
+ Bug fixes
5
+ ---------
6
+
7
+ * Fix crash when attempting to export an incomplete `OpenSSL::PKey::DSA` key.
8
+ [[GitHub #845]](https://github.com/ruby/openssl/issues/845)
9
+ [[GitHub #847]](https://github.com/ruby/openssl/pull/847)
10
+ * Remove the `OpenSSL::X509::V_FLAG_CRL_CHECK_ALL` flag from the default store
11
+ used by `OpenSSL::SSL::SSLContext#set_params`. It causes certificate
12
+ verification to fail with OpenSSL 3.6.0. It has no effect with any other
13
+ OpenSSL versions.
14
+ [[GitHub #949]](https://github.com/ruby/openssl/issues/949)
15
+ [[GitHub #950]](https://github.com/ruby/openssl/pull/950)
16
+
17
+
1
18
  Version 3.1.1
2
19
  =============
3
20
 
@@ -807,6 +807,7 @@ ossl_pkey_export_spki(VALUE self, int to_der)
807
807
  BIO *bio;
808
808
 
809
809
  GetPKey(self, pkey);
810
+ ossl_pkey_check_public_key(pkey);
810
811
  bio = BIO_new(BIO_s_mem());
811
812
  if (!bio)
812
813
  ossl_raise(ePKeyError, "BIO_new");
data/lib/openssl/ssl.rb CHANGED
@@ -92,7 +92,6 @@ YoaOffgTf5qxiwkjnlVZQc3whgnEt9FpVMvQ9eknyeGB5KHfayAc3+hUAvI3/Cr3
92
92
 
93
93
  DEFAULT_CERT_STORE = OpenSSL::X509::Store.new # :nodoc:
94
94
  DEFAULT_CERT_STORE.set_default_paths
95
- DEFAULT_CERT_STORE.flags = OpenSSL::X509::V_FLAG_CRL_CHECK_ALL
96
95
 
97
96
  # A callback invoked when DH parameters are required for ephemeral DH key
98
97
  # exchange.
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module OpenSSL
4
- VERSION = "3.1.1"
4
+ VERSION = "3.1.2"
5
5
  end
metadata CHANGED
@@ -1,9 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: openssl
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.1
4
+ version: 3.1.2
5
5
  platform: ruby
6
- original_platform: ''
7
6
  authors:
8
7
  - Martin Bosslet
9
8
  - SHIBATA Hiroshi
@@ -11,7 +10,7 @@ authors:
11
10
  - Kazuki Yamaguchi
12
11
  bindir: bin
13
12
  cert_chain: []
14
- date: 2024-12-18 00:00:00.000000000 Z
13
+ date: 1980-01-02 00:00:00.000000000 Z
15
14
  dependencies: []
16
15
  description: It wraps the OpenSSL library.
17
16
  email:
@@ -116,7 +115,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
116
115
  - !ruby/object:Gem::Version
117
116
  version: '0'
118
117
  requirements: []
119
- rubygems_version: 3.6.1
118
+ rubygems_version: 3.8.0.dev
120
119
  specification_version: 4
121
120
  summary: OpenSSL provides SSL, TLS and general purpose cryptography.
122
121
  test_files: []