jruby-openssl 0.9.13-java → 0.9.14-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: 53cfa91375f8c240492465413cf80832989950be
4
- data.tar.gz: 95559557d8c369fc21f72087814edc4b24f0a9db
3
+ metadata.gz: 971a2b9af7a3669ca153020343b40f4df2c627d3
4
+ data.tar.gz: 95d67e566f756593db2e723ca726b20c65e3dabc
5
5
  SHA512:
6
- metadata.gz: f6ece1c6fc0caa3f4fbb395f0383fba916420d1f0fa038793b94a437afca8c743e3316f37d00a9047ffec419a9ac77f817bcbc14f3f76db4148def5b5fa89093
7
- data.tar.gz: 7699d18401244b3ef64ceaf959b46ef21cf689ed251e1476e722831a71c1679dd622463aab74d4c16fb8624bec496e9e35f6b28d6ac0baaad985789b9ccbf849
6
+ metadata.gz: b0b39af1112051d435e0a44a375d7da24c854579b78b6804b19064aec4f2441a58352515141491af6aef611fff40a5fe59847c369cc8496575848ac3bc94af3c
7
+ data.tar.gz: ef0aab609a05c36f9d45e383a8a165b75fe20702ff0aae1723d5a95a261ef8bd4cfd75642e6fc6092c4665b4567441ae38c57740d1ce26ee2d7c33537fea4c14
data/History.md CHANGED
@@ -1,3 +1,42 @@
1
+ ## 0.9.14
2
+
3
+ * basic support for prompting for PEM password (working for RSA/DSA priv.key)
4
+ * avoid NPE due version field in X509Cert - make sure it's treated as 0 (#78)
5
+ and fix settting ceritificate.serial = number
6
+ * default WairReadable/Writable backtraces to JRuby's -Xerrno.backtrace
7
+ * use hardcoded jks type for loading cacerts - for Java 9 compatibility (#79)
8
+
9
+ ## 0.9.13
10
+
11
+ JRuby-OpenSSL is the first release that aims to be Ruby **2.3** compatible.
12
+
13
+ * SSLSocket#sysread do not copy bytes from buffer - re-use the backing array
14
+ * handle read_nonblock EOF as nil when exception: false (Ruby 2.3 compatibility)
15
+ * start exposing VERSION constant(s) directly on Jopenssl module
16
+ * better not throw EOF on SSLSocket#sysclose for compatibility with MRI
17
+ * setup "dummy" OpenSSL::OPENSSL_LIBRARY_VERSION constant for compatibility
18
+ * Ruby 2.3 compatibility - adjust to changes in MRI's openssl .rb parts
19
+ * update openssl/ssl.rb based on MRI 2.2's version
20
+ * disable backtrace generation for wait non-block errors (use an empty array)
21
+ * support SSLSocket#accept_nonblock/connect_nonblock with exception: false
22
+ * support `exception: false` with syswrite_nonblock and sysread_nonblock
23
+ * remove 'RSA' from RSA public key headers (#76)
24
+
25
+ ## 0.9.12
26
+
27
+ * when the Cipher/Signature needs to be created via java reflection use a constructor
28
+ which avoids verifying the bouncy-castle jars (which is the main reason for using
29
+ reflection since some classloader setups fails to verify those jars) (#73)
30
+ * force US locale for date formatting
31
+ otherwise it uses system locale, which is inconsistent with MRI.
32
+ * X509::Store.set_default_paths ignores FileNotFound errors like MRI does (#68)
33
+ * check type on X509::Store.verify
34
+ throw a TypeError if the argument is not a OpenSSL::X509::Certificate (#69)
35
+ * keep the default x509 certs and directories in line with MRI, only if
36
+ they do not exists fallback on cacerts from the java.home/lib/security/cacerts
37
+ * bring the default ca-certs paths/location more in line with MRI and fallback on
38
+ jvm truststore (java.home/lib/security/cacerts) when needed
39
+
1
40
  ## 0.9.11
2
41
 
3
42
  * add TLSv1_1_client, TLSv1_1_server, TLSv1_2_client and TLSv1_2_server options
@@ -18,7 +18,7 @@ ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
18
18
  DEALINGS IN THE SOFTWARE.
19
19
 
20
20
  Copyright (C) 2007-2009 Ola Bini <ola.bini@gmail.com>
21
- Copyright (C) 2009-2015 The JRuby Team
21
+ Copyright (C) 2009-2016 The JRuby Team
22
22
 
23
23
  Alternatively, the contents of this file may be used under the terms of
24
24
  either of the GNU General Public License Version 2 or later (the "GPL"),
data/README.md CHANGED
@@ -10,11 +10,11 @@ the JRuby [mailing list][1] or the [bug tracker][2].
10
10
 
11
11
  ## Compatibility
12
12
 
13
- Since version **0.9.5** jruby-openssl aims to be compatible with all JRuby versions
13
+ Since version **0.9.6** jruby-openssl aims to be compatible with all JRuby versions
14
14
  **>= 1.6.8** (including 1.7 and 9k), if it's not we consider that a bug, report.
15
15
 
16
- We currently (for 0.9.x) require the Bouncy Castle Java API to be **>= 1.47**,
17
- for JRuby-OpenSSL gem <= 0.9.6 you also need to make sure BC jars **<= 1.50** !
16
+ We currently (for 0.9.x) require the Bouncy Castle Java APIs to be **>= 1.49**,
17
+ for JRuby-OpenSSL **gem <= 0.9.6** you also need to make sure BC jars <= 1.50 !
18
18
 
19
19
  ## Testing
20
20
 
@@ -31,7 +31,7 @@ jruby version. to pick a different version and/or modes (1.8, 1.9, 2.0, 2.1) run
31
31
  for running integration-tests the gem will be first installed and then the same
32
32
  tests run for each possible bouncy-castle version (see [listing][3]), run with
33
33
 
34
- mvn verify -P test-1.6.8,test-1.7.13
34
+ mvn verify -P test-9.0.4.0,test-1.7.22
35
35
 
36
36
  or pick a bouncy-castle version
37
37
 
@@ -45,7 +45,7 @@ NOTE: you can pick any jruby version which is on [central][4] or on [ci.jruby][5
45
45
 
46
46
  ## License
47
47
 
48
- (c) 2009-2015 JRuby distributed under EPL 1.0/GPL 2.0/LGPL 2.1
48
+ (c) 2009-2016 JRuby distributed under EPL 1.0/GPL 2.0/LGPL 2.1
49
49
 
50
50
  [0]: https://secure.travis-ci.org/jruby/jruby-openssl.png
51
51
  [1]: http://xircles.codehaus.org/projects/jruby/lists
Binary file
@@ -1,6 +1,6 @@
1
1
  module Jopenssl
2
- VERSION = '0.9.13'
3
- BOUNCY_CASTLE_VERSION = '1.50'
2
+ VERSION = '0.9.14'
3
+ BOUNCY_CASTLE_VERSION = '1.54'
4
4
  # @deprecated
5
5
  module Version
6
6
  # @private
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.9.13
4
+ version: 0.9.14
5
5
  platform: java
6
6
  authors:
7
7
  - Ola Bini
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-12-21 00:00:00.000000000 Z
12
+ date: 2016-01-11 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: jar-dependencies
@@ -126,8 +126,8 @@ files:
126
126
  - lib/openssl/x509-internal.rb
127
127
  - lib/openssl/x509.rb
128
128
  - lib/jopenssl.jar
129
- - lib/org/bouncycastle/bcpkix-jdk15on/1.50/bcpkix-jdk15on-1.50.jar
130
- - lib/org/bouncycastle/bcprov-jdk15on/1.50/bcprov-jdk15on-1.50.jar
129
+ - lib/org/bouncycastle/bcpkix-jdk15on/1.54/bcpkix-jdk15on-1.54.jar
130
+ - lib/org/bouncycastle/bcprov-jdk15on/1.54/bcprov-jdk15on-1.54.jar
131
131
  homepage: https://github.com/jruby/jruby-openssl
132
132
  licenses:
133
133
  - EPL-1.0
@@ -149,8 +149,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
149
149
  - !ruby/object:Gem::Version
150
150
  version: '0'
151
151
  requirements:
152
- - jar org.bouncycastle:bcpkix-jdk15on, 1.50
153
- - jar org.bouncycastle:bcprov-jdk15on, 1.50
152
+ - jar org.bouncycastle:bcpkix-jdk15on, 1.54
153
+ - jar org.bouncycastle:bcprov-jdk15on, 1.54
154
154
  rubyforge_project:
155
155
  rubygems_version: 2.1.9
156
156
  signing_key: