jruby-openssl 0.12.2-java → 0.14.1.cr2-java

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5e7e293b2549e684866105df2df1b7fdc93b930a9740bf6b5159149dfbc236e0
4
- data.tar.gz: 771bace1ef936acd0ec9508f30f4636c3415a3785ebe29883490646b9221eae9
3
+ metadata.gz: 243da8699b1063ce7f53d1085f7134a7aec5eddee99ef1f0b3de48a2bb339b3c
4
+ data.tar.gz: 24a3633794ebba2748798b95b6881578adf19513f4137347481cc453f24b4934
5
5
  SHA512:
6
- metadata.gz: f746ec0e6551af8004714f6345154a0c52a429283828e8a41765617627d0498083283216b33dcca9fe1dd7206aeb1bc8d9bff0b2e6999395bfe8cdaa32dd295e
7
- data.tar.gz: 9261e4930fd87105dfcf2ade1cba0cf8d241623394f83ecd0c86a476d151eb12de34fa480a0838347dcc4950acebae3306746b4e0c69ebeb2c109c38ce7a81ac
6
+ metadata.gz: 84e5714eab4ba0371c9f5eed984c2335cdf3b13c65c3a0aa2781f06009e440351151c68b3f37ffc647c51aedf327c9208b55ed67536ac3f1dd1e593b3f8fa207
7
+ data.tar.gz: cec73a83bfb68f3af9011f5984fce21f282bb06caffa77d95b63fc479a1f0125358d7fd9f383937b44376696bad4399410a1bd7d7d94dd4f44ae781003ac94e7
data/History.md CHANGED
@@ -1,3 +1,33 @@
1
+ ## 0.14.1 (CR2)
2
+
3
+ * [fix] Java's default session timeout in 24h
4
+ * [fix] handle ArgumentError on SSLSession#timeout=
5
+ * [fix] handle potential buffer overflow on write (#242)
6
+ * [fix] buffer overflow after wrap-ing data - wait
7
+ * [refactor] try a few tricks to detect session re-use
8
+
9
+ ## 0.14.0
10
+
11
+ This version upgraded to latest Bouncy-Castle (1.71) and is only compatible with
12
+ the new version mostly due artifact naming and breaking chances in BC itself.
13
+
14
+ * [deps] upgrade BC to latest 1.71
15
+ * [fix] make set_minmax_proto_version private
16
+
17
+ ## 0.13.0
18
+
19
+ * [fix] ASN1::EndOfContent ancestor hierarchy (#228)
20
+ * [fix] handle X509::Name type conversion (#206)
21
+ * [fix] handle invalid type when creating `X509::Name`
22
+ * [fix] `OpenSSL::X509::Name#inspect` compatibility
23
+ * [fix] escaping with `OpenSSL::X509::Name::RFC2253`
24
+ * [feat] implement `OpenSSL::X509::Name#to_utf8`
25
+ * [fix] compat missing `OpenSSL::SSL::OP_NO_TLSv1_3`
26
+ * [refactor] performance - do not encode/decode cert objects
27
+ * [fix] make sure `Context.ciphers` are not mutated (#219)
28
+ * [feat] support `to_java` conversion for CRL
29
+ * [feat] support `to_java` protocol for PKey (#250)
30
+
1
31
  ## 0.12.2
2
32
 
3
33
  * [fix] work-around JRuby 9.2 autoload behavior (#248)
data/README.md CHANGED
@@ -27,6 +27,8 @@ the JRuby [mailing list][1] or the [bug tracker][2].
27
27
  | ~>0.10.5 | 1.7.20-9.3.x | Java 7-11 | 1.60-1.68 |
28
28
  | ~>0.11.x | 9.0.x-9.3.x | Java 7-11 | 1.62-1.68 |
29
29
  | ~>0.12.x | 9.1.x-9.3.x | Java 8-15 | 1.65-1.68 |
30
+ | ~>0.13.x | 9.1.x-9.3.x | Java 8-17 | 1.68-1.69 |
31
+ | ~>0.14.x | 9.1.x-9.3.x | Java 8-17 | 1.71 |
30
32
 
31
33
  NOTE: backwards JRuby compatibility was not handled for versions <= **0.9.6**
32
34
 
data/lib/jopenssl/load.rb CHANGED
@@ -8,22 +8,19 @@ unless ENV_JAVA['jruby.openssl.load.jars'].eql?('false')
8
8
  begin
9
9
  require 'jar-dependencies'
10
10
  # if we have jar-dependencies we let it track the jars
11
- require_jar 'org.bouncycastle', 'bcprov-jdk15on', version
12
- require_jar 'org.bouncycastle', 'bcpkix-jdk15on', version
13
- require_jar 'org.bouncycastle', 'bctls-jdk15on', version
14
- begin # bcutil got extracted from bcprov in BC 1.69
15
- require_jar 'org.bouncycastle', 'bcutil-jdk15to18', version
16
- rescue LoadError, RuntimeError
17
- # continue without loading the jar - assume we got BC < 1.69
18
- end
11
+ require_jar 'org.bouncycastle', 'bcprov-jdk18on', version
12
+ require_jar 'org.bouncycastle', 'bcpkix-jdk18on', version
13
+ require_jar 'org.bouncycastle', 'bcutil-jdk18on', version
14
+ require_jar 'org.bouncycastle', 'bctls-jdk18on', version
19
15
  bc_jars = true
20
16
  rescue LoadError, RuntimeError
21
17
  bc_jars = false
22
18
  end
23
19
  unless bc_jars
24
- load "org/bouncycastle/bcprov-jdk15on/#{version}/bcprov-jdk15on-#{version}.jar"
25
- load "org/bouncycastle/bcpkix-jdk15on/#{version}/bcpkix-jdk15on-#{version}.jar"
26
- load "org/bouncycastle/bctls-jdk15on/#{version}/bctls-jdk15on-#{version}.jar"
20
+ load "org/bouncycastle/bcprov-jdk18on/#{version}/bcprov-jdk18on-#{version}.jar"
21
+ load "org/bouncycastle/bcpkix-jdk18on/#{version}/bcpkix-jdk18on-#{version}.jar"
22
+ load "org/bouncycastle/bcutil-jdk18on/#{version}/bcutil-jdk18on-#{version}.jar"
23
+ load "org/bouncycastle/bctls-jdk18on/#{version}/bctls-jdk18on-#{version}.jar"
27
24
  end
28
25
  end
29
26
 
@@ -1,6 +1,6 @@
1
1
  module JOpenSSL
2
- VERSION = '0.12.2'
3
- BOUNCY_CASTLE_VERSION = '1.68'
2
+ VERSION = '0.14.1.cr2'
3
+ BOUNCY_CASTLE_VERSION = '1.71'
4
4
  end
5
5
 
6
6
  Object.class_eval do
data/lib/jopenssl.jar CHANGED
Binary file
data/pom.xml CHANGED
@@ -11,7 +11,7 @@ DO NOT MODIFY - GENERATED CODE
11
11
  <modelVersion>4.0.0</modelVersion>
12
12
  <groupId>rubygems</groupId>
13
13
  <artifactId>jruby-openssl</artifactId>
14
- <version>0.12.2</version>
14
+ <version>0.14.1.cr2-SNAPSHOT</version>
15
15
  <packaging>gem</packaging>
16
16
  <name>JRuby OpenSSL</name>
17
17
  <description>JRuby-OpenSSL is an add-on gem for JRuby that emulates the Ruby OpenSSL native library.</description>
@@ -60,7 +60,7 @@ DO NOT MODIFY - GENERATED CODE
60
60
  </snapshotRepository>
61
61
  </distributionManagement>
62
62
  <properties>
63
- <bc.versions>1.68</bc.versions>
63
+ <bc.versions>1.71</bc.versions>
64
64
  <invoker.skip>${maven.test.skip}</invoker.skip>
65
65
  <invoker.test>${bc.versions}</invoker.test>
66
66
  <jruby.plugins.version>2.0.1</jruby.plugins.version>
@@ -76,18 +76,23 @@ DO NOT MODIFY - GENERATED CODE
76
76
  <dependencies>
77
77
  <dependency>
78
78
  <groupId>org.bouncycastle</groupId>
79
- <artifactId>bcprov-jdk15on</artifactId>
80
- <version>1.68</version>
79
+ <artifactId>bcprov-jdk18on</artifactId>
80
+ <version>1.71</version>
81
81
  </dependency>
82
82
  <dependency>
83
83
  <groupId>org.bouncycastle</groupId>
84
- <artifactId>bcpkix-jdk15on</artifactId>
85
- <version>1.68</version>
84
+ <artifactId>bcpkix-jdk18on</artifactId>
85
+ <version>1.71</version>
86
86
  </dependency>
87
87
  <dependency>
88
88
  <groupId>org.bouncycastle</groupId>
89
- <artifactId>bctls-jdk15on</artifactId>
90
- <version>1.68</version>
89
+ <artifactId>bctls-jdk18on</artifactId>
90
+ <version>1.71</version>
91
+ </dependency>
92
+ <dependency>
93
+ <groupId>org.bouncycastle</groupId>
94
+ <artifactId>bcutil-jdk18on</artifactId>
95
+ <version>1.71</version>
91
96
  </dependency>
92
97
  <dependency>
93
98
  <groupId>org.jruby</groupId>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jruby-openssl
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.2
4
+ version: 0.14.1.cr2
5
5
  platform: java
6
6
  authors:
7
7
  - Karol Bucek
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2022-03-03 00:00:00.000000000 Z
13
+ date: 2022-07-03 00:00:00.000000000 Z
14
14
  dependencies: []
15
15
  description: JRuby-OpenSSL is an add-on gem for JRuby that emulates the Ruby OpenSSL
16
16
  native library.
@@ -42,9 +42,10 @@ files:
42
42
  - lib/openssl/pkey.rb
43
43
  - lib/openssl/ssl.rb
44
44
  - lib/openssl/x509.rb
45
- - lib/org/bouncycastle/bcpkix-jdk15on/1.68/bcpkix-jdk15on-1.68.jar
46
- - lib/org/bouncycastle/bcprov-jdk15on/1.68/bcprov-jdk15on-1.68.jar
47
- - lib/org/bouncycastle/bctls-jdk15on/1.68/bctls-jdk15on-1.68.jar
45
+ - lib/org/bouncycastle/bcpkix-jdk18on/1.71/bcpkix-jdk18on-1.71.jar
46
+ - lib/org/bouncycastle/bcprov-jdk18on/1.71/bcprov-jdk18on-1.71.jar
47
+ - lib/org/bouncycastle/bctls-jdk18on/1.71/bctls-jdk18on-1.71.jar
48
+ - lib/org/bouncycastle/bcutil-jdk18on/1.71/bcutil-jdk18on-1.71.jar
48
49
  - pom.xml
49
50
  homepage: https://github.com/jruby/jruby-openssl
50
51
  licenses:
@@ -63,13 +64,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
63
64
  version: 2.3.0
64
65
  required_rubygems_version: !ruby/object:Gem::Requirement
65
66
  requirements:
66
- - - ">="
67
+ - - ">"
67
68
  - !ruby/object:Gem::Version
68
- version: '0'
69
+ version: 1.3.1
69
70
  requirements:
70
- - jar org.bouncycastle:bcprov-jdk15on, 1.68
71
- - jar org.bouncycastle:bcpkix-jdk15on, 1.68
72
- - jar org.bouncycastle:bctls-jdk15on, 1.68
71
+ - jar org.bouncycastle:bcprov-jdk18on, 1.71
72
+ - jar org.bouncycastle:bcpkix-jdk18on, 1.71
73
+ - jar org.bouncycastle:bctls-jdk18on, 1.71
74
+ - jar org.bouncycastle:bcutil-jdk18on, 1.71
73
75
  rubygems_version: 3.1.6
74
76
  signing_key:
75
77
  specification_version: 4