jruby-openssl 0.15.2-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
- SHA256:
3
- metadata.gz: 3b322a7977111ba9770b41e0401f501af7409f3b9d37299e1e7b792fb2987b63
4
- data.tar.gz: 9a5b49175af58f39f0d2c5113eb0487fed68bfbb3cff76e2417dcf8d874030d0
2
+ SHA1:
3
+ metadata.gz: 83683d0f13caa56a8a1532295c4f495ffde97fca
4
+ data.tar.gz: 400e019d7951698ae3fb81feedc17a1115a1b63e
5
5
  SHA512:
6
- metadata.gz: ed0d9547185e0ade1eff94d60b2c926cfc8c2c69bf273db53ce978f45a75067a4436caf0cf68f3c52a79b07abe5fa9067262c1701044dc8d6537bf5b5fcdfb50
7
- data.tar.gz: f0083caf3519b9815b675ab9c65a33f6f77f71409f5e77613bc01c7bed8c82b39e8c9f75b886a2616979ffe52f880688fbaedbcd09a46db17e4e33ba1102ee35
6
+ metadata.gz: 996b96239e82bff3bfe4e0137e8127a992c2f35ff984eb0df75a1b44741c3a56ead2d6cca1b02c4acf07d989526596c64cb11887de90b5c6769830352b3ba276
7
+ data.tar.gz: 34016a352e977c0c5654d77c0afbf0425ebbd5011cff2a5624374f8301c4fcc94db2690f6c31525e612a9d5dca466e448c2a56c05c7f9da07f36028a68357f12
data/History.md CHANGED
@@ -1,3 +1,22 @@
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
+
1
20
  ## 0.15.2
2
21
 
3
22
  * [deps] upgrade BC to version 1.79
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,5 +1,5 @@
1
1
  module JOpenSSL
2
- VERSION = '0.15.2'
2
+ VERSION = '0.15.3'
3
3
  BOUNCY_CASTLE_VERSION = '1.79'
4
4
  end
5
5
 
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.2</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>
@@ -65,8 +65,8 @@ DO NOT MODIFY - GENERATED CODE
65
65
  <invoker.test>${bc.versions}</invoker.test>
66
66
  <jruby.plugins.version>3.0.2</jruby.plugins.version>
67
67
  <jruby.switches>-W0</jruby.switches>
68
- <jruby.version>9.2.19.0</jruby.version>
69
- <jruby.versions>9.2.19.0</jruby.versions>
68
+ <jruby.version>9.1.17.0</jruby.version>
69
+ <jruby.versions>9.1.17.0</jruby.versions>
70
70
  <mavengem-wagon.version>2.0.2</mavengem-wagon.version>
71
71
  <mavengem.wagon.version>2.0.2</mavengem.wagon.version>
72
72
  <polyglot.dump.pom>pom.xml</polyglot.dump.pom>
@@ -274,7 +274,6 @@ DO NOT MODIFY - GENERATED CODE
274
274
  <configuration>
275
275
  <source>1.8</source>
276
276
  <target>1.8</target>
277
- <release>8</release>
278
277
  <encoding>UTF-8</encoding>
279
278
  <debug>true</debug>
280
279
  <showWarnings>true</showWarnings>
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.2
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-11-24 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
@@ -72,7 +71,8 @@ requirements:
72
71
  - jar org.bouncycastle:bcpkix-jdk18on, 1.79
73
72
  - jar org.bouncycastle:bctls-jdk18on, 1.79
74
73
  - jar org.bouncycastle:bcutil-jdk18on, 1.79
75
- rubygems_version: 3.1.6
74
+ rubyforge_project:
75
+ rubygems_version: 2.6.14.1
76
76
  signing_key:
77
77
  specification_version: 4
78
78
  summary: JRuby OpenSSL
@@ -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