jruby-openssl 0.10.1-java → 0.10.7-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: ade549d7f3aa3abc46be8284b770710b54be15c7
4
- data.tar.gz: ebeb42397480403b859ddc8df78382228c5ad5d0
3
+ metadata.gz: 5556d31972e0e74ffc7e20e662b8e1666cce85b0
4
+ data.tar.gz: '0439ad0115cdb8ebef38c1a10a514ee4dc48d58c'
5
5
  SHA512:
6
- metadata.gz: 90a72129e758c1296a5e9f99835b9321da3ce2542c4079647b5d9eef0ac8754b437378b0b088c6a6b5800495dda0f1d359cf470b6335bc288ddf184cd3cbaebc
7
- data.tar.gz: b706b8ed3d904e7ab69c50f2696aed1b20fd1cc42de1381f7e4db62992d975aa22bfb87a150c576d8a034688b009fe28a78d8b9cf3abb13fe708e72020a03191
6
+ metadata.gz: fcd2ba1d6d0e2c43a9f30250c441590a1d1490b271c09ff8f08f014daf48c4f6ad77de55a59d7dc33bef17f93f3b9bdd6fa613418db9a6b7736fe95b6bce2865
7
+ data.tar.gz: 9dbb39508d7f2685c428605493984908c506251e4fcaf15c2dafb3f4ead92e5a556de3687ae273ca602e555cf8c9a8329b697c68a5e9da1794f0b66cf6f1b486
data/History.md CHANGED
@@ -1,3 +1,63 @@
1
+ ## 0.10.7
2
+
3
+ * [feat] upgrade BC library to 1.68
4
+ * [fix] SSLContext#ciphers= (fixes #221 and jruby/jruby#3100) (#222)
5
+ * [fix] Java::JavaLang::StringIndexOutOfBoundsException on ctx.cipher=[] (fixes #220) (#223)
6
+ * [fix] SSLContext#ciphers= compatibility (fixes #223) (#220)
7
+ * [fix] Match OpenSSL::X509::Name.hash implementation with Ruby (#216, #218)
8
+ * [fix] OpenSSL::SSL::SSLContext#min_version= failure (#215)
9
+ * [fix] adds OpenSSL::Cipher#iv_len= setter (#208)
10
+
11
+ ## 0.10.6 (yanked)
12
+
13
+ Due several regressions please update to version 0.10.7 or higher.
14
+
15
+ ## 0.10.5
16
+
17
+ * [fix] EC key sign/verify (#193)
18
+ * [feat] upgrade BC library to 1.65
19
+ * [refactor] clean security helpers to avoid reflection (#197)
20
+ * Just use normal getInstance to get KeyFactory (fixes #197)
21
+ * Allow multiple Certificates with the same SubjectDN in the store (#198)
22
+ * Try direct path for MessageDigest before invasive path (#194)
23
+ (relates to jruby/jruby#6098)
24
+ * [refactor] avoid NativeException usage (jruby/jruby#5646)
25
+
26
+ ## 0.10.4
27
+
28
+ * Use CertificateFactory.getInstance rather than reflection
29
+ eliminates one of the module warnings we have been seeing (#161)
30
+
31
+ ## 0.10.3
32
+
33
+ * [fix] implement (missing) PKey::DSA#params
34
+ * [fix] authorityKeyIdentifier ext (general-name) value
35
+ * [fix] authority keyid extension's :always part optional (#174)
36
+ * [fix] work-around for not setting certificate serial
37
+ raise a more friendly error (jruby/jruby#1691)
38
+ * [fix] PKey.read not parsing RSA pub-key (#176)
39
+ * [feat] support reading DSA (public key) in full DER
40
+ * [fix] RSA key DER format to closely follow OpenSSL
41
+ * [fix] add missing ASN1 factory methods (Null, EndOfContent)
42
+ * [fix] support getting password from block for PKeys
43
+ * [fix] incorrect ASN.1 for wrapped Integer type
44
+ * [fix] correct public key for subjectKeyIdentifier ext (#173)
45
+ * [fix] invalid Cert#sign handling -> raise (instead of ClassCastException)
46
+ * [feat] more TLS (GCM) ciphers - supported on Java 8+
47
+ * [feat] add ECDHE-RSA-AES128-GCM-SHA256 as supported cipher (#185)
48
+ * [feat] add support for ECDHE-RSA-AES256-GCM-SHA384 (#187)
49
+ * [fix] try hard not to fail on unkown oids (OpenSSL::X509::Certificate#to_text)
50
+ * update Bouncy-Castle to 1.62 (and handle supported BC compatibility)
51
+
52
+ ## 0.10.2
53
+
54
+ * update Bouncy-Castle to 1.61 (and handle supported BC compatibility)
55
+ * [fix] avoid NPE when CRL fails to parse (invalid str) (jruby/jruby#5619)
56
+ * hide (deprecated) Jopenssl constant
57
+ * default OpenSSL.warn to warnings-enabled flag
58
+ * only un-restrict jce when its restricted
59
+ * OpenSSL::Cipher#update additional buffer argument (#170) (jruby/jruby#5242)
60
+
1
61
  ## 0.10.1
2
62
 
3
63
  * loading JOpenSSL's native ext part the JRuby 9.2 (internal) way
data/Mavenfile CHANGED
@@ -49,10 +49,11 @@ plugin( :compiler, '3.1',
49
49
  :source => '1.7', :target => java_target,
50
50
  :encoding => 'UTF-8', :debug => true,
51
51
  :showWarnings => true, :showDeprecation => true,
52
+ :excludes => [ 'module-info.java' ],
53
+ #:jdkToolchain => { :version => '[1.7,11)' },
52
54
 
53
55
  :generatedSourcesDirectory => gen_sources,
54
- :annotationProcessors => [ 'org.jruby.anno.AnnotationBinder' ],
55
- :compilerArgs => [ '-XDignore.symbol.file=true' ] ) do
56
+ :annotationProcessors => [ 'org.jruby.anno.AnnotationBinder' ]) do
56
57
 
57
58
  #execute_goal :compile, :id => 'annotation-binder', :phase => 'compile',
58
59
  # :generatedSourcesDirectory => gen_sources, #:outputDirectory => gen_sources,
@@ -61,10 +62,19 @@ plugin( :compiler, '3.1',
61
62
  # :useIncrementalCompilation => false, :fork => true, :verbose => true,
62
63
  # :compilerArgs => [ '-XDignore.symbol.file=true', '-J-Dfile.encoding=UTF-8' ]
63
64
 
64
- execute_goal :compile, :id => 'compile-populators', :phase => 'process-classes',
65
- :includes => [ 'org/jruby/gen/**/*.java' ], :optimize => true,
66
- :compilerArgs => [ '-XDignore.symbol.file=true' ]
67
- # NOTE: maybe '-J-Xbootclasspath/p:${unsafe.jar}' ... as well ?!
65
+ execute_goal :compile,
66
+ :id => 'compile-populators', :phase => 'process-classes',
67
+ :includes => [ 'org/jruby/gen/**/*.java' ],
68
+ :optimize => true,
69
+ :compilerArgs => [ '', '-XDignore.symbol.file=true' ]
70
+ end
71
+
72
+ profile 'module-info' do
73
+ activation { jdk '[9,)' }
74
+ plugin :compiler, '3.8.1',
75
+ :source => '9', :target => java_target,
76
+ :release => '9',
77
+ :includes => [ 'module-info.java' ]
68
78
  end
69
79
 
70
80
  plugin :clean do
@@ -78,7 +88,12 @@ plugin :clean do
78
88
  end
79
89
 
80
90
  jar 'org.jruby:jruby-core', '1.7.20', :scope => :provided
81
- jar 'junit:junit', '4.11', :scope => :test
91
+ jar 'junit:junit', '[4.13.1,)', :scope => :test
92
+
93
+ # 9.1.17.0 is Java 7 compatible (till supporting JRuby 1.7)
94
+ # NOTE: to build on Java 11 - installing gems fails (due old jossl) with:
95
+ # load error: jopenssl/load -- java.lang.StringIndexOutOfBoundsException
96
+ MVN_JRUBY_VERSION = ENV_JAVA['java.version'].to_i >= 9 ? '9.2.9.0' : '9.1.17.0'
82
97
 
83
98
  jruby_plugin! :gem do
84
99
  # when installing dependent gems we want to use the built in openssl not the one from this lib directory
@@ -92,25 +107,24 @@ plugin :deploy, '2.8.1' do
92
107
  execute_goals( :deploy, :skip => false )
93
108
  end
94
109
 
95
- supported_bc_versions = %w{ 1.55 1.56 1.57 1.58 1.59 }
110
+ supported_bc_versions = %w{ 1.58 1.59 1.60 1.61 1.62 1.63 1.64 1.65 }
96
111
 
97
112
  default_bc_version = File.read File.expand_path('lib/jopenssl/version.rb', File.dirname(__FILE__))
98
113
  default_bc_version = default_bc_version[/BOUNCY_CASTLE_VERSION\s?=\s?'(.*?)'/, 1]
99
114
 
100
- properties( 'jruby.plugins.version' => '1.0.10',
101
- 'jruby.versions' => '1.7.20',
115
+ properties( 'jruby.plugins.version' => '1.1.8',
116
+ 'jruby.switches' => '-W0', # https://github.com/torquebox/jruby-maven-plugins/issues/94
102
117
  'bc.versions' => default_bc_version,
103
118
  'invoker.test' => '${bc.versions}',
104
119
  # allow to skip all tests with -Dmaven.test.skip
105
120
  'invoker.skip' => '${maven.test.skip}',
106
121
  'runit.dir' => 'src/test/ruby/**/test_*.rb',
107
- # use this version of jruby for ALL the jruby-maven-plugins
108
- 'jruby.version' => '1.7.20',
109
- # dump pom.xml as readonly when running 'rmvn'
110
- 'polyglot.dump.pom' => 'pom.xml',
111
- 'polyglot.dump.readonly' => true,
112
- 'tesla.dump.pom' => 'pom.xml',
113
- 'tesla.dump.readonly' => true )
122
+ 'mavengem.wagon.version' => '1.0.3', # for jruby plugin
123
+ 'mavengem-wagon.version' => '1.0.3', # for polyglot-ruby
124
+ # use this version of jruby for the jruby-maven-plugins
125
+ 'jruby.versions' => MVN_JRUBY_VERSION, 'jruby.version' => MVN_JRUBY_VERSION,
126
+ # dump pom.xml when running 'rmvn'
127
+ 'polyglot.dump.pom' => 'pom.xml', 'polyglot.dump.readonly' => false )
114
128
 
115
129
  # make sure we have the embedded jars in place before we run runit plugin
116
130
  plugin! :dependency do
@@ -137,34 +151,22 @@ invoker_run_options = {
137
151
  'runit.dir' => '${runit.dir}' }
138
152
  }
139
153
 
140
- jruby_1_7_versions = %w{ 1.7.18 1.7.20 1.7.22 1.7.23 1.7.24 1.7.25 1.7.26 1.7.27 }
141
-
142
- jruby_1_7_versions.each { |version|
143
- profile :id => "test-#{version}" do
144
- plugin :invoker, '1.8' do
145
- execute_goals( :install, :run, invoker_run_options )
146
- end
147
- properties 'jruby.versions' => version, 'jruby.modes' => '1.9,2.0',
148
- 'bc.versions' => supported_bc_versions.join(',')
149
- end
150
- }
151
-
152
- jruby_9_K_versions = %w{ 9.0.1.0 9.0.5.0 9.1.2.0 9.1.8.0 9.1.12.0 9.1.16.0 9.1.17.0 9.2.0.0 }
154
+ jruby_9_K_versions = %w{ 9.0.5.0 9.1.2.0 9.1.8.0 9.1.12.0 9.1.16.0 9.1.17.0 }
155
+ jruby_9_K_versions += %w{ 9.2.0.0 9.2.5.0 9.2.6.0 9.2.7.0 9.2.8.0 9.2.9.0 }
153
156
 
154
157
  jruby_9_K_versions.each { |version|
155
158
  profile :id => "test-#{version}" do
156
159
  plugin :invoker, '1.8' do
157
160
  execute_goals( :install, :run, invoker_run_options )
158
161
  end
159
- # NOTE: we're work-around 9K maven-runit version bug (due minitest changes) !
160
- # ... still can not build with 9K : https://github.com/jruby/jruby/issues/3184
161
- properties 'jruby.version' => version, 'jruby.versions' => version,
162
+ properties 'jruby.version' => version,
163
+ 'jruby.versions' => version,
162
164
  'bc.versions' => supported_bc_versions.join(',')
163
165
  end
164
166
  }
165
167
 
166
168
  profile :id => 'release' do
167
- plugin :gpg, '1.5' do
169
+ plugin :gpg, '1.6' do
168
170
  execute_goal :sign, :phase => :verify
169
171
  end
170
172
  end
data/README.md CHANGED
@@ -23,6 +23,7 @@ the JRuby [mailing list][1] or the [bug tracker][2].
23
23
  | 0.9.17 | 1.6.8-9.1.5 | Java 6-8 | 1.50-1.54 |
24
24
  | ~>0.9.18 | 1.6.8-9.1.x | Java 6-8 | 1.50-1.55 |
25
25
  | 0.10.0 | 1.7.20-9.2.x | Java 7-10 | 1.55-1.59 |
26
+ | 0.10.3 | 1.7.20-9.2.x | Java 7-11 | 1.56-1.62 |
26
27
 
27
28
  NOTE: backwards JRuby compatibility was not handled for versions <= **0.9.6**
28
29
 
@@ -42,28 +43,24 @@ any of OpenSSL's C code, only Ruby parts (*.rb) are the same as in MRI's OpenSSL
42
43
  mvn test
43
44
 
44
45
  will run (junit as well as ruby) tests and a some ruby tests against the default
45
- jruby version. to pick a different version and/or modes (1.8, 1.9, 2.0, 2.1) run
46
+ jruby version. to pick a different JRuby version run
46
47
 
47
- mvn test -Djruby.versions=1.7.12 -Djruby.modes=1.8
48
+ mvn test -Djruby.versions=9.2.8.0
48
49
 
49
50
  for running integration-tests the gem will be first installed and then the same
50
51
  tests run for each possible bouncy-castle version (see [listing][3]), run with
51
52
 
52
- mvn verify -P test-9.0.4.0,test-1.7.22
53
+ mvn verify -P test-9.2.9.0,test-9.1.17.0
53
54
 
54
55
  or pick a bouncy-castle version
55
56
 
56
- mvn verify -P test-1.6.8 -Dbc.versions=1.50
57
-
58
- or simply be more picky
59
-
60
- mvn verify -P test-1.7.4 -Dbc.versions=1.49 -Djruby.modes=1.9
57
+ mvn verify -P test-9.2.9.0 -Dbc.versions=1.60
61
58
 
62
59
  NOTE: you can pick any jruby version which is on [central][4] or on [ci.jruby][5]
63
60
 
64
61
  ## License
65
62
 
66
- (c) 2009-2018 JRuby distributed under EPL 1.0/GPL 2.0/LGPL 2.1
63
+ (c) 2009-2020 JRuby distributed under EPL 1.0/GPL 2.0/LGPL 2.1
67
64
 
68
65
  [0]: https://secure.travis-ci.org/jruby/jruby-openssl.svg
69
66
  [1]: http://xircles.codehaus.org/projects/jruby/lists
data/Rakefile CHANGED
@@ -27,6 +27,10 @@ else
27
27
  RubyMaven.exec( 'package -Dmaven.test.skip=true' )
28
28
  end
29
29
  end
30
+ task :test_prepare do
31
+ RubyMaven.exec( 'prepare-package -Dmaven.test.skip=true' )
32
+ RubyMaven.exec( 'test-compile' ) # separate step due -Dmaven.test.skip=true
33
+ end
30
34
  end
31
35
 
32
36
  task :build do
data/lib/jopenssl.jar CHANGED
Binary file
@@ -1,5 +1,9 @@
1
1
  module JOpenSSL
2
- VERSION = '0.10.1'
3
- BOUNCY_CASTLE_VERSION = '1.59'
2
+ VERSION = '0.10.7'
3
+ BOUNCY_CASTLE_VERSION = '1.68'
4
+ end
5
+
6
+ Object.class_eval do
7
+ Jopenssl = JOpenSSL
8
+ private_constant :Jopenssl if respond_to?(:private_constant)
4
9
  end
5
- Jopenssl = JOpenSSL
@@ -316,20 +316,15 @@ module OpenSSL::Buffering
316
316
  @wbuffer << s
317
317
  @wbuffer.force_encoding(Encoding::BINARY)
318
318
  @sync ||= false
319
- if @sync or @wbuffer.size > BLOCK_SIZE or idx = @wbuffer.rindex($/)
320
- remain = idx ? idx + $/.size : @wbuffer.length
321
- nwritten = 0
322
- while remain > 0
323
- str = @wbuffer[nwritten,remain]
319
+ if @sync or @wbuffer.size > BLOCK_SIZE
320
+ until @wbuffer.empty?
324
321
  begin
325
- nwrote = syswrite(str)
322
+ nwrote = syswrite(@wbuffer)
326
323
  rescue Errno::EAGAIN
327
324
  retry
328
325
  end
329
- remain -= nwrote
330
- nwritten += nwrote
326
+ @wbuffer[0, nwrote] = ""
331
327
  end
332
- @wbuffer[0,nwritten] = ""
333
328
  end
334
329
  end
335
330
 
@@ -409,9 +404,7 @@ module OpenSSL::Buffering
409
404
  end
410
405
  args.each{|arg|
411
406
  s << arg.to_s
412
- if $/ && /\n\z/ !~ s
413
- s << "\n"
414
- end
407
+ s.sub!(/(?<!\n)\z/, "\n")
415
408
  }
416
409
  do_write(s)
417
410
  nil
@@ -17,55 +17,55 @@ module OpenSSL
17
17
  module SSL
18
18
  class SSLContext
19
19
  unless const_defined? :DEFAULT_PARAMS # JRuby does it in Java
20
- DEFAULT_PARAMS = { # :nodoc:
21
- :min_version => OpenSSL::SSL::TLS1_VERSION,
22
- :verify_mode => OpenSSL::SSL::VERIFY_PEER,
23
- :verify_hostname => true,
24
- :options => -> {
25
- opts = OpenSSL::SSL::OP_ALL
26
- opts &= ~OpenSSL::SSL::OP_DONT_INSERT_EMPTY_FRAGMENTS
27
- opts |= OpenSSL::SSL::OP_NO_COMPRESSION
28
- opts
29
- }.call
30
- }
20
+ DEFAULT_PARAMS = { # :nodoc:
21
+ :min_version => OpenSSL::SSL::TLS1_VERSION,
22
+ :verify_mode => OpenSSL::SSL::VERIFY_PEER,
23
+ :verify_hostname => true,
24
+ :options => -> {
25
+ opts = OpenSSL::SSL::OP_ALL
26
+ opts &= ~OpenSSL::SSL::OP_DONT_INSERT_EMPTY_FRAGMENTS
27
+ opts |= OpenSSL::SSL::OP_NO_COMPRESSION
28
+ opts
29
+ }.call
30
+ }
31
31
 
32
- if !(OpenSSL::OPENSSL_VERSION.start_with?("OpenSSL") &&
33
- OpenSSL::OPENSSL_VERSION_NUMBER >= 0x10100000)
34
- DEFAULT_PARAMS.merge!(
35
- ciphers: %w{
36
- ECDHE-ECDSA-AES128-GCM-SHA256
37
- ECDHE-RSA-AES128-GCM-SHA256
38
- ECDHE-ECDSA-AES256-GCM-SHA384
39
- ECDHE-RSA-AES256-GCM-SHA384
40
- DHE-RSA-AES128-GCM-SHA256
41
- DHE-DSS-AES128-GCM-SHA256
42
- DHE-RSA-AES256-GCM-SHA384
43
- DHE-DSS-AES256-GCM-SHA384
44
- ECDHE-ECDSA-AES128-SHA256
45
- ECDHE-RSA-AES128-SHA256
46
- ECDHE-ECDSA-AES128-SHA
47
- ECDHE-RSA-AES128-SHA
48
- ECDHE-ECDSA-AES256-SHA384
49
- ECDHE-RSA-AES256-SHA384
50
- ECDHE-ECDSA-AES256-SHA
51
- ECDHE-RSA-AES256-SHA
52
- DHE-RSA-AES128-SHA256
53
- DHE-RSA-AES256-SHA256
54
- DHE-RSA-AES128-SHA
55
- DHE-RSA-AES256-SHA
56
- DHE-DSS-AES128-SHA256
57
- DHE-DSS-AES256-SHA256
58
- DHE-DSS-AES128-SHA
59
- DHE-DSS-AES256-SHA
60
- AES128-GCM-SHA256
61
- AES256-GCM-SHA384
62
- AES128-SHA256
63
- AES256-SHA256
64
- AES128-SHA
65
- AES256-SHA
66
- }.join(":"),
67
- )
68
- end
32
+ if !(OpenSSL::OPENSSL_VERSION.start_with?("OpenSSL") &&
33
+ OpenSSL::OPENSSL_VERSION_NUMBER >= 0x10100000)
34
+ DEFAULT_PARAMS.merge!(
35
+ ciphers: %w{
36
+ ECDHE-ECDSA-AES128-GCM-SHA256
37
+ ECDHE-RSA-AES128-GCM-SHA256
38
+ ECDHE-ECDSA-AES256-GCM-SHA384
39
+ ECDHE-RSA-AES256-GCM-SHA384
40
+ DHE-RSA-AES128-GCM-SHA256
41
+ DHE-DSS-AES128-GCM-SHA256
42
+ DHE-RSA-AES256-GCM-SHA384
43
+ DHE-DSS-AES256-GCM-SHA384
44
+ ECDHE-ECDSA-AES128-SHA256
45
+ ECDHE-RSA-AES128-SHA256
46
+ ECDHE-ECDSA-AES128-SHA
47
+ ECDHE-RSA-AES128-SHA
48
+ ECDHE-ECDSA-AES256-SHA384
49
+ ECDHE-RSA-AES256-SHA384
50
+ ECDHE-ECDSA-AES256-SHA
51
+ ECDHE-RSA-AES256-SHA
52
+ DHE-RSA-AES128-SHA256
53
+ DHE-RSA-AES256-SHA256
54
+ DHE-RSA-AES128-SHA
55
+ DHE-RSA-AES256-SHA
56
+ DHE-DSS-AES128-SHA256
57
+ DHE-DSS-AES256-SHA256
58
+ DHE-DSS-AES128-SHA
59
+ DHE-DSS-AES256-SHA
60
+ AES128-GCM-SHA256
61
+ AES256-GCM-SHA384
62
+ AES128-SHA256
63
+ AES256-SHA256
64
+ AES128-SHA
65
+ AES256-SHA
66
+ }.join(":"),
67
+ )
68
+ end
69
69
  end
70
70
 
71
71
  if defined?(OpenSSL::PKey::DH)
@@ -111,6 +111,21 @@ YoaOffgTf5qxiwkjnlVZQc3whgnEt9FpVMvQ9eknyeGB5KHfayAc3+hUAvI3/Cr3
111
111
  # callback must return an SSLContext for the server name or nil.
112
112
  attr_accessor :servername_cb
113
113
 
114
+ # call-seq:
115
+ # SSLContext.new -> ctx
116
+ # SSLContext.new(:TLSv1) -> ctx
117
+ # SSLContext.new("SSLv23") -> ctx
118
+ #
119
+ # Creates a new SSL context.
120
+ #
121
+ # If an argument is given, #ssl_version= is called with the value. Note
122
+ # that this form is deprecated. New applications should use #min_version=
123
+ # and #max_version= as necessary.
124
+ # def initialize(version = nil)
125
+ # self.options |= OpenSSL::SSL::OP_ALL
126
+ # self.ssl_version = version if version
127
+ # end
128
+
114
129
  ##
115
130
  # call-seq:
116
131
  # ctx.set_params(params = {}) -> params
@@ -14,6 +14,54 @@
14
14
 
15
15
  module OpenSSL
16
16
  module X509
17
+ # class ExtensionFactory
18
+ # def create_extension(*arg)
19
+ # if arg.size > 1
20
+ # create_ext(*arg)
21
+ # else
22
+ # send("create_ext_from_"+arg[0].class.name.downcase, arg[0])
23
+ # end
24
+ # end
25
+ #
26
+ # def create_ext_from_array(ary)
27
+ # raise ExtensionError, "unexpected array form" if ary.size > 3
28
+ # create_ext(ary[0], ary[1], ary[2])
29
+ # end
30
+ #
31
+ # def create_ext_from_string(str) # "oid = critical, value"
32
+ # oid, value = str.split(/=/, 2)
33
+ # oid.strip!
34
+ # value.strip!
35
+ # create_ext(oid, value)
36
+ # end
37
+ #
38
+ # def create_ext_from_hash(hash)
39
+ # create_ext(hash["oid"], hash["value"], hash["critical"])
40
+ # end
41
+ # end
42
+ #
43
+ # class Extension
44
+ # def ==(other)
45
+ # return false unless Extension === other
46
+ # to_der == other.to_der
47
+ # end
48
+ #
49
+ # def to_s # "oid = critical, value"
50
+ # str = self.oid
51
+ # str << " = "
52
+ # str << "critical, " if self.critical?
53
+ # str << self.value.gsub(/\n/, ", ")
54
+ # end
55
+ #
56
+ # def to_h # {"oid"=>sn|ln, "value"=>value, "critical"=>true|false}
57
+ # {"oid"=>self.oid,"value"=>self.value,"critical"=>self.critical?}
58
+ # end
59
+ #
60
+ # def to_a
61
+ # [ self.oid, self.value, self.critical? ]
62
+ # end
63
+ # end
64
+
17
65
  class Name
18
66
  module RFC2253DN
19
67
  Special = ',=+<>#;'
@@ -117,6 +165,13 @@ module OpenSSL
117
165
  end
118
166
  end
119
167
 
168
+ # class Attribute
169
+ # def ==(other)
170
+ # return false unless Attribute === other
171
+ # to_der == other.to_der
172
+ # end
173
+ # end
174
+
120
175
  class StoreContext
121
176
  def cleanup
122
177
  warn "(#{caller.first}) OpenSSL::X509::StoreContext#cleanup is deprecated with no replacement" if $VERBOSE
@@ -135,5 +190,19 @@ module OpenSSL
135
190
  }
136
191
  end
137
192
  end
193
+
194
+ # class CRL
195
+ # def ==(other)
196
+ # return false unless CRL === other
197
+ # to_der == other.to_der
198
+ # end
199
+ # end
200
+
201
+ # class Request
202
+ # def ==(other)
203
+ # return false unless Request === other
204
+ # to_der == other.to_der
205
+ # end
206
+ # end
138
207
  end
139
208
  end
data/pom.xml CHANGED
@@ -6,12 +6,12 @@ DO NOT MODIFIY - GENERATED CODE
6
6
 
7
7
 
8
8
  -->
9
- <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
9
+ <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
10
10
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
11
11
  <modelVersion>4.0.0</modelVersion>
12
12
  <groupId>rubygems</groupId>
13
13
  <artifactId>jruby-openssl</artifactId>
14
- <version>0.10.1</version>
14
+ <version>0.10.7</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>
@@ -34,9 +34,12 @@ DO NOT MODIFIY - GENERATED CODE
34
34
  </license>
35
35
  </licenses>
36
36
  <developers>
37
+ <developer>
38
+ <name>Karol Bucek</name>
39
+ <email>self+jruby-openssl@kares.org</email>
40
+ </developer>
37
41
  <developer>
38
42
  <name>Ola Bini</name>
39
- <email>ola.bini@gmail.com</email>
40
43
  </developer>
41
44
  <developer>
42
45
  <name>JRuby contributors</name>
@@ -57,54 +60,34 @@ DO NOT MODIFIY - GENERATED CODE
57
60
  </snapshotRepository>
58
61
  </distributionManagement>
59
62
  <properties>
60
- <bc.versions>1.59</bc.versions>
61
- <jruby.plugins.version>1.0.10</jruby.plugins.version>
63
+ <bc.versions>1.68</bc.versions>
64
+ <mavengem.wagon.version>1.0.3</mavengem.wagon.version>
65
+ <jruby.switches>-W0</jruby.switches>
66
+ <jruby.version>9.1.17.0</jruby.version>
67
+ <jruby.plugins.version>1.1.8</jruby.plugins.version>
62
68
  <invoker.skip>${maven.test.skip}</invoker.skip>
63
- <jruby.version>1.7.20</jruby.version>
64
69
  <runit.dir>src/test/ruby/**/test_*.rb</runit.dir>
65
- <jruby.versions>1.7.20</jruby.versions>
66
- <polyglot.dump.readonly>true</polyglot.dump.readonly>
67
- <tesla.dump.pom>pom.xml</tesla.dump.pom>
70
+ <mavengem-wagon.version>1.0.3</mavengem-wagon.version>
71
+ <jruby.versions>9.1.17.0</jruby.versions>
72
+ <polyglot.dump.readonly>false</polyglot.dump.readonly>
68
73
  <polyglot.dump.pom>pom.xml</polyglot.dump.pom>
69
- <tesla.dump.readonly>true</tesla.dump.readonly>
70
74
  <invoker.test>${bc.versions}</invoker.test>
71
75
  </properties>
72
76
  <dependencies>
73
- <dependency>
74
- <groupId>rubygems</groupId>
75
- <artifactId>jar-dependencies</artifactId>
76
- <version>[0.1,0.99999]</version>
77
- <type>gem</type>
78
- <scope>test</scope>
79
- </dependency>
80
- <dependency>
81
- <groupId>rubygems</groupId>
82
- <artifactId>mocha</artifactId>
83
- <version>[1.1.0,1.1.99999]</version>
84
- <type>gem</type>
85
- <scope>test</scope>
86
- </dependency>
87
- <dependency>
88
- <groupId>rubygems</groupId>
89
- <artifactId>ruby-maven</artifactId>
90
- <version>[3.0,3.99999]</version>
91
- <type>gem</type>
92
- <scope>test</scope>
93
- </dependency>
94
77
  <dependency>
95
78
  <groupId>org.bouncycastle</groupId>
96
79
  <artifactId>bcprov-jdk15on</artifactId>
97
- <version>1.59</version>
80
+ <version>1.68</version>
98
81
  </dependency>
99
82
  <dependency>
100
83
  <groupId>org.bouncycastle</groupId>
101
84
  <artifactId>bcpkix-jdk15on</artifactId>
102
- <version>1.59</version>
85
+ <version>1.68</version>
103
86
  </dependency>
104
87
  <dependency>
105
88
  <groupId>org.bouncycastle</groupId>
106
89
  <artifactId>bctls-jdk15on</artifactId>
107
- <version>1.59</version>
90
+ <version>1.68</version>
108
91
  </dependency>
109
92
  <dependency>
110
93
  <groupId>org.jruby</groupId>
@@ -115,18 +98,23 @@ DO NOT MODIFIY - GENERATED CODE
115
98
  <dependency>
116
99
  <groupId>junit</groupId>
117
100
  <artifactId>junit</artifactId>
118
- <version>4.11</version>
101
+ <version>[4.13.1,)</version>
119
102
  <scope>test</scope>
120
103
  </dependency>
121
104
  </dependencies>
122
105
  <repositories>
123
106
  <repository>
124
- <id>rubygems-releases</id>
125
- <url>http://rubygems-proxy.torquebox.org/releases</url>
107
+ <id>mavengems</id>
108
+ <url>mavengem:https://rubygems.org</url>
126
109
  </repository>
127
110
  </repositories>
128
111
  <build>
129
112
  <extensions>
113
+ <extension>
114
+ <groupId>org.torquebox.mojo</groupId>
115
+ <artifactId>mavengem-wagon</artifactId>
116
+ <version>${mavengem.wagon.version}</version>
117
+ </extension>
130
118
  <extension>
131
119
  <groupId>de.saumya.mojo</groupId>
132
120
  <artifactId>gem-with-jar-extension</artifactId>
@@ -266,6 +254,7 @@ DO NOT MODIFIY - GENERATED CODE
266
254
  </includes>
267
255
  <optimize>true</optimize>
268
256
  <compilerArgs>
257
+ <compilerArg></compilerArg>
269
258
  <compilerArg>-XDignore.symbol.file=true</compilerArg>
270
259
  </compilerArgs>
271
260
  </configuration>
@@ -278,13 +267,13 @@ DO NOT MODIFIY - GENERATED CODE
278
267
  <debug>true</debug>
279
268
  <showWarnings>true</showWarnings>
280
269
  <showDeprecation>true</showDeprecation>
270
+ <excludes>
271
+ <exclude>module-info.java</exclude>
272
+ </excludes>
281
273
  <generatedSourcesDirectory>${basedir}/target/generated-sources</generatedSourcesDirectory>
282
274
  <annotationProcessors>
283
275
  <annotationProcessor>org.jruby.anno.AnnotationBinder</annotationProcessor>
284
276
  </annotationProcessors>
285
- <compilerArgs>
286
- <compilerArg>-XDignore.symbol.file=true</compilerArg>
287
- </compilerArgs>
288
277
  </configuration>
289
278
  </plugin>
290
279
  <plugin>
@@ -368,160 +357,29 @@ DO NOT MODIFIY - GENERATED CODE
368
357
  </build>
369
358
  <profiles>
370
359
  <profile>
371
- <id>test-1.7.18</id>
372
- <build>
373
- <plugins>
374
- <plugin>
375
- <artifactId>maven-invoker-plugin</artifactId>
376
- <version>1.8</version>
377
- <executions>
378
- <execution>
379
- <id>tests-with-different-bc-versions</id>
380
- <goals>
381
- <goal>install</goal>
382
- <goal>run</goal>
383
- </goals>
384
- <configuration>
385
- <projectsDirectory>integration</projectsDirectory>
386
- <pomIncludes>
387
- <pomInclude>*/pom.xml</pomInclude>
388
- </pomIncludes>
389
- <streamLogs>true</streamLogs>
390
- <properties>
391
- <jruby.versions>${jruby.versions}</jruby.versions>
392
- <jruby.modes>${jruby.modes}</jruby.modes>
393
- <jruby.openssl.version>${project.version}</jruby.openssl.version>
394
- <bc.versions>${bc.versions}</bc.versions>
395
- <runit.dir>${runit.dir}</runit.dir>
396
- </properties>
397
- </configuration>
398
- </execution>
399
- </executions>
400
- </plugin>
401
- </plugins>
402
- </build>
403
- <properties>
404
- <bc.versions>1.55,1.56,1.57,1.58,1.59</bc.versions>
405
- <jruby.modes>1.9,2.0</jruby.modes>
406
- <jruby.versions>1.7.18</jruby.versions>
407
- </properties>
408
- </profile>
409
- <profile>
410
- <id>test-1.7.20</id>
360
+ <id>module-info</id>
361
+ <activation>
362
+ <jdk>[9,)</jdk>
363
+ </activation>
411
364
  <build>
412
365
  <plugins>
413
366
  <plugin>
414
- <artifactId>maven-invoker-plugin</artifactId>
415
- <version>1.8</version>
416
- <executions>
417
- <execution>
418
- <goals>
419
- <goal>install</goal>
420
- <goal>run</goal>
421
- </goals>
422
- <configuration>
423
- <projectsDirectory>integration</projectsDirectory>
424
- <pomIncludes>
425
- <pomInclude>*/pom.xml</pomInclude>
426
- </pomIncludes>
427
- <streamLogs>true</streamLogs>
428
- <properties>
429
- <jruby.versions>${jruby.versions}</jruby.versions>
430
- <jruby.modes>${jruby.modes}</jruby.modes>
431
- <jruby.openssl.version>${project.version}</jruby.openssl.version>
432
- <bc.versions>${bc.versions}</bc.versions>
433
- <runit.dir>${runit.dir}</runit.dir>
434
- </properties>
435
- </configuration>
436
- </execution>
437
- </executions>
438
- </plugin>
439
- </plugins>
440
- </build>
441
- <properties>
442
- <bc.versions>1.55,1.56,1.57,1.58,1.59</bc.versions>
443
- <jruby.modes>1.9,2.0</jruby.modes>
444
- <jruby.versions>1.7.20</jruby.versions>
445
- </properties>
446
- </profile>
447
- <profile>
448
- <id>test-1.7.22</id>
449
- <build>
450
- <plugins>
451
- <plugin>
452
- <artifactId>maven-invoker-plugin</artifactId>
453
- <version>1.8</version>
454
- <executions>
455
- <execution>
456
- <goals>
457
- <goal>install</goal>
458
- <goal>run</goal>
459
- </goals>
460
- <configuration>
461
- <projectsDirectory>integration</projectsDirectory>
462
- <pomIncludes>
463
- <pomInclude>*/pom.xml</pomInclude>
464
- </pomIncludes>
465
- <streamLogs>true</streamLogs>
466
- <properties>
467
- <jruby.versions>${jruby.versions}</jruby.versions>
468
- <jruby.modes>${jruby.modes}</jruby.modes>
469
- <jruby.openssl.version>${project.version}</jruby.openssl.version>
470
- <bc.versions>${bc.versions}</bc.versions>
471
- <runit.dir>${runit.dir}</runit.dir>
472
- </properties>
473
- </configuration>
474
- </execution>
475
- </executions>
476
- </plugin>
477
- </plugins>
478
- </build>
479
- <properties>
480
- <bc.versions>1.55,1.56,1.57,1.58,1.59</bc.versions>
481
- <jruby.modes>1.9,2.0</jruby.modes>
482
- <jruby.versions>1.7.22</jruby.versions>
483
- </properties>
484
- </profile>
485
- <profile>
486
- <id>test-1.7.23</id>
487
- <build>
488
- <plugins>
489
- <plugin>
490
- <artifactId>maven-invoker-plugin</artifactId>
491
- <version>1.8</version>
492
- <executions>
493
- <execution>
494
- <goals>
495
- <goal>install</goal>
496
- <goal>run</goal>
497
- </goals>
498
- <configuration>
499
- <projectsDirectory>integration</projectsDirectory>
500
- <pomIncludes>
501
- <pomInclude>*/pom.xml</pomInclude>
502
- </pomIncludes>
503
- <streamLogs>true</streamLogs>
504
- <properties>
505
- <jruby.versions>${jruby.versions}</jruby.versions>
506
- <jruby.modes>${jruby.modes}</jruby.modes>
507
- <jruby.openssl.version>${project.version}</jruby.openssl.version>
508
- <bc.versions>${bc.versions}</bc.versions>
509
- <runit.dir>${runit.dir}</runit.dir>
510
- </properties>
511
- </configuration>
512
- </execution>
513
- </executions>
367
+ <artifactId>maven-compiler-plugin</artifactId>
368
+ <version>3.8.1</version>
369
+ <configuration>
370
+ <source>9</source>
371
+ <target>1.7</target>
372
+ <release>9</release>
373
+ <includes>
374
+ <include>module-info.java</include>
375
+ </includes>
376
+ </configuration>
514
377
  </plugin>
515
378
  </plugins>
516
379
  </build>
517
- <properties>
518
- <bc.versions>1.55,1.56,1.57,1.58,1.59</bc.versions>
519
- <jruby.modes>1.9,2.0</jruby.modes>
520
- <jruby.versions>1.7.23</jruby.versions>
521
- </properties>
522
380
  </profile>
523
381
  <profile>
524
- <id>test-1.7.24</id>
382
+ <id>test-9.0.5.0</id>
525
383
  <build>
526
384
  <plugins>
527
385
  <plugin>
@@ -529,6 +387,7 @@ DO NOT MODIFIY - GENERATED CODE
529
387
  <version>1.8</version>
530
388
  <executions>
531
389
  <execution>
390
+ <id>tests-with-different-bc-versions</id>
532
391
  <goals>
533
392
  <goal>install</goal>
534
393
  <goal>run</goal>
@@ -553,13 +412,13 @@ DO NOT MODIFIY - GENERATED CODE
553
412
  </plugins>
554
413
  </build>
555
414
  <properties>
556
- <bc.versions>1.55,1.56,1.57,1.58,1.59</bc.versions>
557
- <jruby.modes>1.9,2.0</jruby.modes>
558
- <jruby.versions>1.7.24</jruby.versions>
415
+ <bc.versions>1.58,1.59,1.60,1.61,1.62,1.63,1.64,1.65</bc.versions>
416
+ <jruby.version>9.0.5.0</jruby.version>
417
+ <jruby.versions>9.0.5.0</jruby.versions>
559
418
  </properties>
560
419
  </profile>
561
420
  <profile>
562
- <id>test-1.7.25</id>
421
+ <id>test-9.1.2.0</id>
563
422
  <build>
564
423
  <plugins>
565
424
  <plugin>
@@ -591,13 +450,13 @@ DO NOT MODIFIY - GENERATED CODE
591
450
  </plugins>
592
451
  </build>
593
452
  <properties>
594
- <bc.versions>1.55,1.56,1.57,1.58,1.59</bc.versions>
595
- <jruby.modes>1.9,2.0</jruby.modes>
596
- <jruby.versions>1.7.25</jruby.versions>
453
+ <bc.versions>1.58,1.59,1.60,1.61,1.62,1.63,1.64,1.65</bc.versions>
454
+ <jruby.version>9.1.2.0</jruby.version>
455
+ <jruby.versions>9.1.2.0</jruby.versions>
597
456
  </properties>
598
457
  </profile>
599
458
  <profile>
600
- <id>test-1.7.26</id>
459
+ <id>test-9.1.8.0</id>
601
460
  <build>
602
461
  <plugins>
603
462
  <plugin>
@@ -629,13 +488,13 @@ DO NOT MODIFIY - GENERATED CODE
629
488
  </plugins>
630
489
  </build>
631
490
  <properties>
632
- <bc.versions>1.55,1.56,1.57,1.58,1.59</bc.versions>
633
- <jruby.modes>1.9,2.0</jruby.modes>
634
- <jruby.versions>1.7.26</jruby.versions>
491
+ <bc.versions>1.58,1.59,1.60,1.61,1.62,1.63,1.64,1.65</bc.versions>
492
+ <jruby.version>9.1.8.0</jruby.version>
493
+ <jruby.versions>9.1.8.0</jruby.versions>
635
494
  </properties>
636
495
  </profile>
637
496
  <profile>
638
- <id>test-1.7.27</id>
497
+ <id>test-9.1.12.0</id>
639
498
  <build>
640
499
  <plugins>
641
500
  <plugin>
@@ -667,13 +526,13 @@ DO NOT MODIFIY - GENERATED CODE
667
526
  </plugins>
668
527
  </build>
669
528
  <properties>
670
- <bc.versions>1.55,1.56,1.57,1.58,1.59</bc.versions>
671
- <jruby.modes>1.9,2.0</jruby.modes>
672
- <jruby.versions>1.7.27</jruby.versions>
529
+ <bc.versions>1.58,1.59,1.60,1.61,1.62,1.63,1.64,1.65</bc.versions>
530
+ <jruby.version>9.1.12.0</jruby.version>
531
+ <jruby.versions>9.1.12.0</jruby.versions>
673
532
  </properties>
674
533
  </profile>
675
534
  <profile>
676
- <id>test-9.0.1.0</id>
535
+ <id>test-9.1.16.0</id>
677
536
  <build>
678
537
  <plugins>
679
538
  <plugin>
@@ -705,13 +564,13 @@ DO NOT MODIFIY - GENERATED CODE
705
564
  </plugins>
706
565
  </build>
707
566
  <properties>
708
- <bc.versions>1.55,1.56,1.57,1.58,1.59</bc.versions>
709
- <jruby.version>9.0.1.0</jruby.version>
710
- <jruby.versions>9.0.1.0</jruby.versions>
567
+ <bc.versions>1.58,1.59,1.60,1.61,1.62,1.63,1.64,1.65</bc.versions>
568
+ <jruby.version>9.1.16.0</jruby.version>
569
+ <jruby.versions>9.1.16.0</jruby.versions>
711
570
  </properties>
712
571
  </profile>
713
572
  <profile>
714
- <id>test-9.0.5.0</id>
573
+ <id>test-9.1.17.0</id>
715
574
  <build>
716
575
  <plugins>
717
576
  <plugin>
@@ -743,13 +602,13 @@ DO NOT MODIFIY - GENERATED CODE
743
602
  </plugins>
744
603
  </build>
745
604
  <properties>
746
- <bc.versions>1.55,1.56,1.57,1.58,1.59</bc.versions>
747
- <jruby.version>9.0.5.0</jruby.version>
748
- <jruby.versions>9.0.5.0</jruby.versions>
605
+ <bc.versions>1.58,1.59,1.60,1.61,1.62,1.63,1.64,1.65</bc.versions>
606
+ <jruby.version>9.1.17.0</jruby.version>
607
+ <jruby.versions>9.1.17.0</jruby.versions>
749
608
  </properties>
750
609
  </profile>
751
610
  <profile>
752
- <id>test-9.1.2.0</id>
611
+ <id>test-9.2.0.0</id>
753
612
  <build>
754
613
  <plugins>
755
614
  <plugin>
@@ -781,13 +640,13 @@ DO NOT MODIFIY - GENERATED CODE
781
640
  </plugins>
782
641
  </build>
783
642
  <properties>
784
- <bc.versions>1.55,1.56,1.57,1.58,1.59</bc.versions>
785
- <jruby.version>9.1.2.0</jruby.version>
786
- <jruby.versions>9.1.2.0</jruby.versions>
643
+ <bc.versions>1.58,1.59,1.60,1.61,1.62,1.63,1.64,1.65</bc.versions>
644
+ <jruby.version>9.2.0.0</jruby.version>
645
+ <jruby.versions>9.2.0.0</jruby.versions>
787
646
  </properties>
788
647
  </profile>
789
648
  <profile>
790
- <id>test-9.1.8.0</id>
649
+ <id>test-9.2.5.0</id>
791
650
  <build>
792
651
  <plugins>
793
652
  <plugin>
@@ -819,13 +678,13 @@ DO NOT MODIFIY - GENERATED CODE
819
678
  </plugins>
820
679
  </build>
821
680
  <properties>
822
- <bc.versions>1.55,1.56,1.57,1.58,1.59</bc.versions>
823
- <jruby.version>9.1.8.0</jruby.version>
824
- <jruby.versions>9.1.8.0</jruby.versions>
681
+ <bc.versions>1.58,1.59,1.60,1.61,1.62,1.63,1.64,1.65</bc.versions>
682
+ <jruby.version>9.2.5.0</jruby.version>
683
+ <jruby.versions>9.2.5.0</jruby.versions>
825
684
  </properties>
826
685
  </profile>
827
686
  <profile>
828
- <id>test-9.1.12.0</id>
687
+ <id>test-9.2.6.0</id>
829
688
  <build>
830
689
  <plugins>
831
690
  <plugin>
@@ -857,13 +716,13 @@ DO NOT MODIFIY - GENERATED CODE
857
716
  </plugins>
858
717
  </build>
859
718
  <properties>
860
- <bc.versions>1.55,1.56,1.57,1.58,1.59</bc.versions>
861
- <jruby.version>9.1.12.0</jruby.version>
862
- <jruby.versions>9.1.12.0</jruby.versions>
719
+ <bc.versions>1.58,1.59,1.60,1.61,1.62,1.63,1.64,1.65</bc.versions>
720
+ <jruby.version>9.2.6.0</jruby.version>
721
+ <jruby.versions>9.2.6.0</jruby.versions>
863
722
  </properties>
864
723
  </profile>
865
724
  <profile>
866
- <id>test-9.1.16.0</id>
725
+ <id>test-9.2.7.0</id>
867
726
  <build>
868
727
  <plugins>
869
728
  <plugin>
@@ -895,13 +754,13 @@ DO NOT MODIFIY - GENERATED CODE
895
754
  </plugins>
896
755
  </build>
897
756
  <properties>
898
- <bc.versions>1.55,1.56,1.57,1.58,1.59</bc.versions>
899
- <jruby.version>9.1.16.0</jruby.version>
900
- <jruby.versions>9.1.16.0</jruby.versions>
757
+ <bc.versions>1.58,1.59,1.60,1.61,1.62,1.63,1.64,1.65</bc.versions>
758
+ <jruby.version>9.2.7.0</jruby.version>
759
+ <jruby.versions>9.2.7.0</jruby.versions>
901
760
  </properties>
902
761
  </profile>
903
762
  <profile>
904
- <id>test-9.1.17.0</id>
763
+ <id>test-9.2.8.0</id>
905
764
  <build>
906
765
  <plugins>
907
766
  <plugin>
@@ -933,13 +792,13 @@ DO NOT MODIFIY - GENERATED CODE
933
792
  </plugins>
934
793
  </build>
935
794
  <properties>
936
- <bc.versions>1.55,1.56,1.57,1.58,1.59</bc.versions>
937
- <jruby.version>9.1.17.0</jruby.version>
938
- <jruby.versions>9.1.17.0</jruby.versions>
795
+ <bc.versions>1.58,1.59,1.60,1.61,1.62,1.63,1.64,1.65</bc.versions>
796
+ <jruby.version>9.2.8.0</jruby.version>
797
+ <jruby.versions>9.2.8.0</jruby.versions>
939
798
  </properties>
940
799
  </profile>
941
800
  <profile>
942
- <id>test-9.2.0.0</id>
801
+ <id>test-9.2.9.0</id>
943
802
  <build>
944
803
  <plugins>
945
804
  <plugin>
@@ -971,9 +830,9 @@ DO NOT MODIFIY - GENERATED CODE
971
830
  </plugins>
972
831
  </build>
973
832
  <properties>
974
- <bc.versions>1.55,1.56,1.57,1.58,1.59</bc.versions>
975
- <jruby.version>9.2.0.0</jruby.version>
976
- <jruby.versions>9.2.0.0</jruby.versions>
833
+ <bc.versions>1.58,1.59,1.60,1.61,1.62,1.63,1.64,1.65</bc.versions>
834
+ <jruby.version>9.2.9.0</jruby.version>
835
+ <jruby.versions>9.2.9.0</jruby.versions>
977
836
  </properties>
978
837
  </profile>
979
838
  <profile>
@@ -982,7 +841,7 @@ DO NOT MODIFIY - GENERATED CODE
982
841
  <plugins>
983
842
  <plugin>
984
843
  <artifactId>maven-gpg-plugin</artifactId>
985
- <version>1.5</version>
844
+ <version>1.6</version>
986
845
  <executions>
987
846
  <execution>
988
847
  <phase>verify</phase>
metadata CHANGED
@@ -1,60 +1,19 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jruby-openssl
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.1
4
+ version: 0.10.7
5
5
  platform: java
6
6
  authors:
7
+ - Karol Bucek
7
8
  - Ola Bini
8
9
  - JRuby contributors
9
10
  autorequire:
10
11
  bindir: bin
11
12
  cert_chain: []
12
- date: 2018-06-22 00:00:00.000000000 Z
13
- dependencies:
14
- - !ruby/object:Gem::Dependency
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - ~>
18
- - !ruby/object:Gem::Version
19
- version: '0.1'
20
- name: jar-dependencies
21
- prerelease: false
22
- type: :development
23
- version_requirements: !ruby/object:Gem::Requirement
24
- requirements:
25
- - - ~>
26
- - !ruby/object:Gem::Version
27
- version: '0.1'
28
- - !ruby/object:Gem::Dependency
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - ~>
32
- - !ruby/object:Gem::Version
33
- version: 1.1.0
34
- name: mocha
35
- prerelease: false
36
- type: :development
37
- version_requirements: !ruby/object:Gem::Requirement
38
- requirements:
39
- - - ~>
40
- - !ruby/object:Gem::Version
41
- version: 1.1.0
42
- - !ruby/object:Gem::Dependency
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - ~>
46
- - !ruby/object:Gem::Version
47
- version: '3.0'
48
- name: ruby-maven
49
- prerelease: false
50
- type: :development
51
- version_requirements: !ruby/object:Gem::Requirement
52
- requirements:
53
- - - ~>
54
- - !ruby/object:Gem::Version
55
- version: '3.0'
13
+ date: 2021-04-28 00:00:00.000000000 Z
14
+ dependencies: []
56
15
  description: JRuby-OpenSSL is an add-on gem for JRuby that emulates the Ruby OpenSSL native library.
57
- email: ola.bini@gmail.com
16
+ email: self+jruby-openssl@kares.org
58
17
  executables: []
59
18
  extensions: []
60
19
  extra_rdoc_files: []
@@ -117,9 +76,9 @@ files:
117
76
  - lib/openssl/ssl.rb
118
77
  - lib/openssl/x509-internal.rb
119
78
  - lib/openssl/x509.rb
120
- - lib/org/bouncycastle/bcpkix-jdk15on/1.59/bcpkix-jdk15on-1.59.jar
121
- - lib/org/bouncycastle/bcprov-jdk15on/1.59/bcprov-jdk15on-1.59.jar
122
- - lib/org/bouncycastle/bctls-jdk15on/1.59/bctls-jdk15on-1.59.jar
79
+ - lib/org/bouncycastle/bcpkix-jdk15on/1.68/bcpkix-jdk15on-1.68.jar
80
+ - lib/org/bouncycastle/bcprov-jdk15on/1.68/bcprov-jdk15on-1.68.jar
81
+ - lib/org/bouncycastle/bctls-jdk15on/1.68/bctls-jdk15on-1.68.jar
123
82
  - pom.xml
124
83
  homepage: https://github.com/jruby/jruby-openssl
125
84
  licenses:
@@ -133,20 +92,20 @@ require_paths:
133
92
  - lib
134
93
  required_ruby_version: !ruby/object:Gem::Requirement
135
94
  requirements:
136
- - - '>='
95
+ - - ">="
137
96
  - !ruby/object:Gem::Version
138
97
  version: 1.9.3
139
98
  required_rubygems_version: !ruby/object:Gem::Requirement
140
99
  requirements:
141
- - - '>='
100
+ - - ">="
142
101
  - !ruby/object:Gem::Version
143
102
  version: 2.4.8
144
103
  requirements:
145
- - jar org.bouncycastle:bcprov-jdk15on, 1.59
146
- - jar org.bouncycastle:bcpkix-jdk15on, 1.59
147
- - jar org.bouncycastle:bctls-jdk15on, 1.59
104
+ - jar org.bouncycastle:bcprov-jdk15on, 1.68
105
+ - jar org.bouncycastle:bcpkix-jdk15on, 1.68
106
+ - jar org.bouncycastle:bctls-jdk15on, 1.68
148
107
  rubyforge_project:
149
- rubygems_version: 2.4.6
108
+ rubygems_version: 2.6.14.1
150
109
  signing_key:
151
110
  specification_version: 4
152
111
  summary: JRuby OpenSSL