jruby-openssl 0.15.0-java → 0.15.2-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/History.md +10 -0
- data/README.md +1 -1
- data/lib/jopenssl/load.rb +4 -14
- data/lib/jopenssl/version.rb +2 -2
- data/lib/jopenssl.jar +0 -0
- data/lib/org/bouncycastle/bcpkix-jdk18on/{1.78/bcpkix-jdk18on-1.78.jar → 1.79/bcpkix-jdk18on-1.79.jar} +0 -0
- data/lib/org/bouncycastle/bcprov-jdk18on/{1.78/bcprov-jdk18on-1.78.jar → 1.79/bcprov-jdk18on-1.79.jar} +0 -0
- data/lib/org/bouncycastle/bctls-jdk18on/{1.78/bctls-jdk18on-1.78.jar → 1.79/bctls-jdk18on-1.79.jar} +0 -0
- data/lib/org/bouncycastle/bcutil-jdk18on/{1.78/bcutil-jdk18on-1.78.jar → 1.79/bcutil-jdk18on-1.79.jar} +0 -0
- data/pom.xml +6 -6
- metadata +10 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3b322a7977111ba9770b41e0401f501af7409f3b9d37299e1e7b792fb2987b63
|
4
|
+
data.tar.gz: 9a5b49175af58f39f0d2c5113eb0487fed68bfbb3cff76e2417dcf8d874030d0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ed0d9547185e0ade1eff94d60b2c926cfc8c2c69bf273db53ce978f45a75067a4436caf0cf68f3c52a79b07abe5fa9067262c1701044dc8d6537bf5b5fcdfb50
|
7
|
+
data.tar.gz: f0083caf3519b9815b675ab9c65a33f6f77f71409f5e77613bc01c7bed8c82b39e8c9f75b886a2616979ffe52f880688fbaedbcd09a46db17e4e33ba1102ee35
|
data/History.md
CHANGED
@@ -1,3 +1,13 @@
|
|
1
|
+
## 0.15.2
|
2
|
+
|
3
|
+
* [deps] upgrade BC to version 1.79
|
4
|
+
* [fix] avoid PKey::EC.new failing with specific DER (#318)
|
5
|
+
* [fix] have a useful OPENSSL_VERSION_NUMBER
|
6
|
+
|
7
|
+
## 0.15.1
|
8
|
+
|
9
|
+
* [deps] upgrade BC to version 1.78.1
|
10
|
+
|
1
11
|
## 0.15.0
|
2
12
|
|
3
13
|
This version upgraded to latest Bouncy-Castle (1.78) and the minimum supported
|
data/README.md
CHANGED
@@ -28,7 +28,7 @@ the JRuby [mailing list][1] or the [bug tracker][2].
|
|
28
28
|
| ~>0.12.x | 9.1.x-9.3.x | Java 8-15 | 1.65-1.68 |
|
29
29
|
| ~>0.13.x | 9.1.x-9.4.x | Java 8-17 | 1.68-1.69 |
|
30
30
|
| ~>0.14.x | 9.1.x-9.4.x | Java 8-21 | 1.71-1.74 |
|
31
|
-
| ~>0.15.x | 9.2.x-9.4.x | Java 8-21 | 1.76-1.
|
31
|
+
| ~>0.15.x | 9.2.x-9.4.x | Java 8-21 | 1.76-1.79 |
|
32
32
|
|
33
33
|
NOTE: backwards JRuby compatibility was not handled for versions <= **0.9.6**
|
34
34
|
|
data/lib/jopenssl/load.rb
CHANGED
@@ -1,5 +1,3 @@
|
|
1
|
-
warn 'Loading jruby-openssl gem in a non-JRuby interpreter' unless defined? JRUBY_VERSION
|
2
|
-
|
3
1
|
require 'jopenssl/version'
|
4
2
|
|
5
3
|
# NOTE: assuming user does pull in BC .jars from somewhere else on the CP
|
@@ -25,16 +23,7 @@ unless ENV_JAVA['jruby.openssl.load.jars'].eql?('false')
|
|
25
23
|
end
|
26
24
|
|
27
25
|
require 'jopenssl.jar'
|
28
|
-
|
29
|
-
if JRuby::Util.respond_to?(:load_ext) # JRuby 9.2
|
30
|
-
JRuby::Util.load_ext('org.jruby.ext.openssl.OpenSSL')
|
31
|
-
else; require 'jruby'
|
32
|
-
org.jruby.ext.openssl.OpenSSL.load(JRuby.runtime)
|
33
|
-
end
|
34
|
-
|
35
|
-
if RUBY_VERSION > '2.3'
|
36
|
-
load 'jopenssl/_compat23.rb'
|
37
|
-
end
|
26
|
+
JRuby::Util.load_ext('org.jruby.ext.openssl.OpenSSL')
|
38
27
|
|
39
28
|
# NOTE: content bellow should live in *lib/openssl.rb* but due RubyGems/Bundler
|
40
29
|
# `autoload :OpenSSL` this will cause issues if an older version (0.11) is the
|
@@ -61,7 +50,6 @@ end
|
|
61
50
|
require 'openssl/bn'
|
62
51
|
require 'openssl/pkey'
|
63
52
|
require 'openssl/cipher'
|
64
|
-
#require 'openssl/config' if OpenSSL.const_defined?(:Config, false)
|
65
53
|
require 'openssl/digest'
|
66
54
|
require 'openssl/hmac'
|
67
55
|
require 'openssl/x509'
|
@@ -80,4 +68,6 @@ module OpenSSL
|
|
80
68
|
hashed_b = OpenSSL::Digest.digest('SHA256', b)
|
81
69
|
OpenSSL.fixed_length_secure_compare(hashed_a, hashed_b) && a == b
|
82
70
|
end
|
83
|
-
end
|
71
|
+
end
|
72
|
+
|
73
|
+
load 'jopenssl/_compat23.rb'
|
data/lib/jopenssl/version.rb
CHANGED
data/lib/jopenssl.jar
CHANGED
Binary file
|
Binary file
|
Binary file
|
data/lib/org/bouncycastle/bctls-jdk18on/{1.78/bctls-jdk18on-1.78.jar → 1.79/bctls-jdk18on-1.79.jar}
RENAMED
Binary file
|
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.15.
|
14
|
+
<version>0.15.2</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.
|
63
|
+
<bc.versions>1.79</bc.versions>
|
64
64
|
<invoker.skip>${maven.test.skip}</invoker.skip>
|
65
65
|
<invoker.test>${bc.versions}</invoker.test>
|
66
66
|
<jruby.plugins.version>3.0.2</jruby.plugins.version>
|
@@ -77,22 +77,22 @@ DO NOT MODIFY - GENERATED CODE
|
|
77
77
|
<dependency>
|
78
78
|
<groupId>org.bouncycastle</groupId>
|
79
79
|
<artifactId>bcprov-jdk18on</artifactId>
|
80
|
-
<version>1.
|
80
|
+
<version>1.79</version>
|
81
81
|
</dependency>
|
82
82
|
<dependency>
|
83
83
|
<groupId>org.bouncycastle</groupId>
|
84
84
|
<artifactId>bcpkix-jdk18on</artifactId>
|
85
|
-
<version>1.
|
85
|
+
<version>1.79</version>
|
86
86
|
</dependency>
|
87
87
|
<dependency>
|
88
88
|
<groupId>org.bouncycastle</groupId>
|
89
89
|
<artifactId>bctls-jdk18on</artifactId>
|
90
|
-
<version>1.
|
90
|
+
<version>1.79</version>
|
91
91
|
</dependency>
|
92
92
|
<dependency>
|
93
93
|
<groupId>org.bouncycastle</groupId>
|
94
94
|
<artifactId>bcutil-jdk18on</artifactId>
|
95
|
-
<version>1.
|
95
|
+
<version>1.79</version>
|
96
96
|
</dependency>
|
97
97
|
<dependency>
|
98
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.15.
|
4
|
+
version: 0.15.2
|
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: 2024-
|
13
|
+
date: 2024-11-24 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,10 +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-jdk18on/1.
|
46
|
-
- lib/org/bouncycastle/bcprov-jdk18on/1.
|
47
|
-
- lib/org/bouncycastle/bctls-jdk18on/1.
|
48
|
-
- lib/org/bouncycastle/bcutil-jdk18on/1.
|
45
|
+
- lib/org/bouncycastle/bcpkix-jdk18on/1.79/bcpkix-jdk18on-1.79.jar
|
46
|
+
- lib/org/bouncycastle/bcprov-jdk18on/1.79/bcprov-jdk18on-1.79.jar
|
47
|
+
- lib/org/bouncycastle/bctls-jdk18on/1.79/bctls-jdk18on-1.79.jar
|
48
|
+
- lib/org/bouncycastle/bcutil-jdk18on/1.79/bcutil-jdk18on-1.79.jar
|
49
49
|
- pom.xml
|
50
50
|
homepage: https://github.com/jruby/jruby-openssl
|
51
51
|
licenses:
|
@@ -68,10 +68,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
68
68
|
- !ruby/object:Gem::Version
|
69
69
|
version: '0'
|
70
70
|
requirements:
|
71
|
-
- jar org.bouncycastle:bcprov-jdk18on, 1.
|
72
|
-
- jar org.bouncycastle:bcpkix-jdk18on, 1.
|
73
|
-
- jar org.bouncycastle:bctls-jdk18on, 1.
|
74
|
-
- jar org.bouncycastle:bcutil-jdk18on, 1.
|
71
|
+
- jar org.bouncycastle:bcprov-jdk18on, 1.79
|
72
|
+
- jar org.bouncycastle:bcpkix-jdk18on, 1.79
|
73
|
+
- jar org.bouncycastle:bctls-jdk18on, 1.79
|
74
|
+
- jar org.bouncycastle:bcutil-jdk18on, 1.79
|
75
75
|
rubygems_version: 3.1.6
|
76
76
|
signing_key:
|
77
77
|
specification_version: 4
|