jruby-openssl 0.15.1-java → 0.15.3-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
  SHA1:
3
- metadata.gz: f1a25faec82c8bb510ce995706c75f2aeb4db3d0
4
- data.tar.gz: 2dafa26f100d33e527be8aec1ad885164ba72147
3
+ metadata.gz: 83683d0f13caa56a8a1532295c4f495ffde97fca
4
+ data.tar.gz: 400e019d7951698ae3fb81feedc17a1115a1b63e
5
5
  SHA512:
6
- metadata.gz: 18cbcd4c738ec6398c996cb4ab9b05a9a2c5dba4c446a11dbf2da5484b279b591ece959139d7099dc0db58eb30fd040700350daf9f2c274dab380985794e02fd
7
- data.tar.gz: 10da5fb052bf224aaa70253ebed31fc6a0ceb3f08cbdc22dc15b86153f56fe10ec9cd424b0c1d53beabe54267a3818942ff4198e9e80d559e77e50d941d91e60
6
+ metadata.gz: 996b96239e82bff3bfe4e0137e8127a992c2f35ff984eb0df75a1b44741c3a56ead2d6cca1b02c4acf07d989526596c64cb11887de90b5c6769830352b3ba276
7
+ data.tar.gz: 34016a352e977c0c5654d77c0afbf0425ebbd5011cff2a5624374f8301c4fcc94db2690f6c31525e612a9d5dca466e448c2a56c05c7f9da07f36028a68357f12
data/History.md CHANGED
@@ -1,3 +1,28 @@
1
+ ## 0.15.3
2
+
3
+ * [fix] keep curve name when group is set into another key
4
+ * [fix] make sure `OpenSSL::PKey::EC#dup` (copying) works
5
+ * [compat] make sure `OpenSSL::PKey::EC#generate_key!` exists
6
+ * [compat] missing OpenSSL:BN `to_int`, `-@`, `+@`, `abs`, `negative?`
7
+ * [compat] implement PKey::EC `public_to_pem` and `xxx_to_der`
8
+ * [fix] initialize @unused_bits = 0 for BitString
9
+ * [fix] raise ASN1Error when unused_bits out of range
10
+ * [fix] respect @unused_bits in BitString (#323)
11
+ * [fix] missing `OpenSSL::ASN1::ObjectId#==` (#311)
12
+ * [compat] implement PKey::DSA `public_to_der` and `public_to_pem`
13
+ * [compat] implement PKey::RSA `public_to_der` and `public_to_pem`
14
+ * [fix] DSA private key should generate after `set_key`
15
+ * [refactor] RSA key internals to always consider params
16
+ * [fix] DSA key compatibility when `set_pqg`
17
+ * [fix] RSA private key should generate after `set_key`
18
+ * [compat] add private? and public? methods on `PKey::EC`
19
+
20
+ ## 0.15.2
21
+
22
+ * [deps] upgrade BC to version 1.79
23
+ * [fix] avoid PKey::EC.new failing with specific DER (#318)
24
+ * [fix] have a useful OPENSSL_VERSION_NUMBER
25
+
1
26
  ## 0.15.1
2
27
 
3
28
  * [deps] upgrade BC to version 1.78.1
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.78 |
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
@@ -69,5 +69,3 @@ module OpenSSL
69
69
  OpenSSL.fixed_length_secure_compare(hashed_a, hashed_b) && a == b
70
70
  end
71
71
  end
72
-
73
- load 'jopenssl/_compat23.rb'
@@ -1,6 +1,6 @@
1
1
  module JOpenSSL
2
- VERSION = '0.15.1'
3
- BOUNCY_CASTLE_VERSION = '1.78.1'
2
+ VERSION = '0.15.3'
3
+ BOUNCY_CASTLE_VERSION = '1.79'
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.15.1</version>
14
+ <version>0.15.3</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.78.1</bc.versions>
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.78.1</version>
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.78.1</version>
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.78.1</version>
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.78.1</version>
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.1
4
+ version: 0.15.3
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-09-27 00:00:00.000000000 Z
13
+ date: 2025-01-19 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.
@@ -25,7 +25,6 @@ files:
25
25
  - README.md
26
26
  - Rakefile
27
27
  - lib/jopenssl.jar
28
- - lib/jopenssl/_compat23.rb
29
28
  - lib/jopenssl/load.rb
30
29
  - lib/jopenssl/version.rb
31
30
  - lib/jruby-openssl.rb
@@ -42,10 +41,10 @@ files:
42
41
  - lib/openssl/pkey.rb
43
42
  - lib/openssl/ssl.rb
44
43
  - lib/openssl/x509.rb
45
- - lib/org/bouncycastle/bcpkix-jdk18on/1.78.1/bcpkix-jdk18on-1.78.1.jar
46
- - lib/org/bouncycastle/bcprov-jdk18on/1.78.1/bcprov-jdk18on-1.78.1.jar
47
- - lib/org/bouncycastle/bctls-jdk18on/1.78.1/bctls-jdk18on-1.78.1.jar
48
- - lib/org/bouncycastle/bcutil-jdk18on/1.78.1/bcutil-jdk18on-1.78.1.jar
44
+ - lib/org/bouncycastle/bcpkix-jdk18on/1.79/bcpkix-jdk18on-1.79.jar
45
+ - lib/org/bouncycastle/bcprov-jdk18on/1.79/bcprov-jdk18on-1.79.jar
46
+ - lib/org/bouncycastle/bctls-jdk18on/1.79/bctls-jdk18on-1.79.jar
47
+ - lib/org/bouncycastle/bcutil-jdk18on/1.79/bcutil-jdk18on-1.79.jar
49
48
  - pom.xml
50
49
  homepage: https://github.com/jruby/jruby-openssl
51
50
  licenses:
@@ -68,10 +67,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
68
67
  - !ruby/object:Gem::Version
69
68
  version: '0'
70
69
  requirements:
71
- - jar org.bouncycastle:bcprov-jdk18on, 1.78.1
72
- - jar org.bouncycastle:bcpkix-jdk18on, 1.78.1
73
- - jar org.bouncycastle:bctls-jdk18on, 1.78.1
74
- - jar org.bouncycastle:bcutil-jdk18on, 1.78.1
70
+ - jar org.bouncycastle:bcprov-jdk18on, 1.79
71
+ - jar org.bouncycastle:bcpkix-jdk18on, 1.79
72
+ - jar org.bouncycastle:bctls-jdk18on, 1.79
73
+ - jar org.bouncycastle:bcutil-jdk18on, 1.79
75
74
  rubyforge_project:
76
75
  rubygems_version: 2.6.14.1
77
76
  signing_key:
@@ -1,71 +0,0 @@
1
- # frozen_string_literal: false
2
-
3
- module OpenSSL
4
-
5
- module PKey
6
-
7
- class DH
8
-
9
- def set_key(pub_key, priv_key)
10
- self.pub_key = pub_key
11
- self.priv_key = priv_key
12
- self
13
- end
14
-
15
- def set_pqg(p, q, g)
16
- self.p = p
17
- if respond_to?(:q=)
18
- self.q = q
19
- else
20
- OpenSSL.warn "JRuby-OpenSSL does not support setting q param on #{inspect}" if q
21
- end
22
- self.g = g
23
- self
24
- end
25
-
26
- end
27
-
28
- class DSA
29
-
30
- def set_key(pub_key, priv_key)
31
- self.pub_key = pub_key
32
- self.priv_key = priv_key
33
- self
34
- end
35
-
36
- def set_pqg(p, q, g)
37
- self.p = p
38
- self.q = q
39
- self.g = g
40
- self
41
- end
42
-
43
- end
44
-
45
- class RSA
46
-
47
- def set_key(n, e, d)
48
- self.n = n
49
- self.e = e
50
- self.d = d
51
- self
52
- end
53
-
54
- def set_factors(p, q)
55
- self.p = p
56
- self.q = q
57
- self
58
- end
59
-
60
- def set_crt_params(dmp1, dmq1, iqmp)
61
- self.dmp1 = dmp1
62
- self.dmq1 = dmq1
63
- self.iqmp = iqmp
64
- self
65
- end
66
-
67
- end
68
-
69
- end
70
-
71
- end