jruby-openssl 0.9.4 → 0.14.0-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/History.md +652 -0
- data/LICENSE.txt +37 -0
- data/Mavenfile +163 -5
- data/README.md +75 -0
- data/Rakefile +52 -2
- data/lib/jopenssl/_compat23.rb +71 -0
- data/lib/jopenssl/load.rb +75 -16
- data/lib/jopenssl/version.rb +9 -4
- data/lib/jopenssl.jar +0 -0
- data/lib/openssl/bn.rb +40 -5
- data/lib/openssl/buffering.rb +477 -4
- data/lib/openssl/cipher.rb +67 -5
- data/lib/openssl/config.rb +500 -4
- data/lib/openssl/digest.rb +73 -5
- data/lib/openssl/hmac.rb +13 -0
- data/lib/openssl/marshal.rb +30 -0
- data/lib/openssl/pkcs12.rb +60 -99
- data/lib/openssl/pkcs5.rb +22 -0
- data/lib/openssl/pkey.rb +42 -0
- data/lib/openssl/ssl.rb +542 -4
- data/lib/openssl/x509.rb +368 -4
- data/lib/openssl.rb +3 -1
- data/lib/org/bouncycastle/bcpkix-jdk18on/1.71/bcpkix-jdk18on-1.71.jar +0 -0
- data/lib/org/bouncycastle/bcprov-jdk18on/1.71/bcprov-jdk18on-1.71.jar +0 -0
- data/lib/org/bouncycastle/bctls-jdk18on/1.71/bctls-jdk18on-1.71.jar +0 -0
- data/lib/org/bouncycastle/bcutil-jdk18on/1.71/bcutil-jdk18on-1.71.jar +0 -0
- data/pom.xml +772 -0
- metadata +40 -107
- data/History.txt +0 -218
- data/License.txt +0 -30
- data/README.txt +0 -13
- data/TODO-1_9-support.txt +0 -23
- data/lib/jopenssl18/openssl/bn.rb +0 -35
- data/lib/jopenssl18/openssl/buffering.rb +0 -241
- data/lib/jopenssl18/openssl/cipher.rb +0 -65
- data/lib/jopenssl18/openssl/config.rb +0 -316
- data/lib/jopenssl18/openssl/digest.rb +0 -61
- data/lib/jopenssl18/openssl/pkcs7.rb +0 -25
- data/lib/jopenssl18/openssl/ssl-internal.rb +0 -179
- data/lib/jopenssl18/openssl/ssl.rb +0 -1
- data/lib/jopenssl18/openssl/x509-internal.rb +0 -153
- data/lib/jopenssl18/openssl/x509.rb +0 -1
- data/lib/jopenssl18/openssl.rb +0 -67
- data/lib/jopenssl19/openssl/bn.rb +0 -35
- data/lib/jopenssl19/openssl/buffering.rb +0 -449
- data/lib/jopenssl19/openssl/cipher.rb +0 -65
- data/lib/jopenssl19/openssl/config.rb +0 -313
- data/lib/jopenssl19/openssl/digest.rb +0 -72
- data/lib/jopenssl19/openssl/ssl-internal.rb +0 -177
- data/lib/jopenssl19/openssl/ssl.rb +0 -2
- data/lib/jopenssl19/openssl/x509-internal.rb +0 -158
- data/lib/jopenssl19/openssl/x509.rb +0 -2
- data/lib/jopenssl19/openssl.rb +0 -23
- data/lib/openssl/pkcs7.rb +0 -5
- data/lib/openssl/ssl-internal.rb +0 -5
- data/lib/openssl/x509-internal.rb +0 -5
- data/test/java/pkcs7_mime_enveloped.message +0 -19
- data/test/java/pkcs7_mime_signed.message +0 -30
- data/test/java/pkcs7_multipart_signed.message +0 -45
- data/test/java/test_java_attribute.rb +0 -25
- data/test/java/test_java_bio.rb +0 -42
- data/test/java/test_java_mime.rb +0 -173
- data/test/java/test_java_pkcs7.rb +0 -772
- data/test/java/test_java_smime.rb +0 -177
- data/test/test_java.rb +0 -98
- data/test/ut_eof.rb +0 -128
metadata
CHANGED
@@ -1,146 +1,79 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jruby-openssl
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
|
6
|
-
platform: ruby
|
4
|
+
version: 0.14.0
|
5
|
+
platform: java
|
7
6
|
authors:
|
7
|
+
- Karol Bucek
|
8
8
|
- Ola Bini
|
9
9
|
- JRuby contributors
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
14
|
-
dependencies:
|
15
|
-
-
|
16
|
-
|
17
|
-
|
18
|
-
requirements:
|
19
|
-
- - '>='
|
20
|
-
- !ruby/object:Gem::Version
|
21
|
-
version: 1.5.0147
|
22
|
-
none: false
|
23
|
-
requirement: !ruby/object:Gem::Requirement
|
24
|
-
requirements:
|
25
|
-
- - '>='
|
26
|
-
- !ruby/object:Gem::Version
|
27
|
-
version: 1.5.0147
|
28
|
-
none: false
|
29
|
-
prerelease: false
|
30
|
-
type: :runtime
|
31
|
-
- !ruby/object:Gem::Dependency
|
32
|
-
name: rake
|
33
|
-
version_requirements: !ruby/object:Gem::Requirement
|
34
|
-
requirements:
|
35
|
-
- - ~>
|
36
|
-
- !ruby/object:Gem::Version
|
37
|
-
version: '10.1'
|
38
|
-
none: false
|
39
|
-
requirement: !ruby/object:Gem::Requirement
|
40
|
-
requirements:
|
41
|
-
- - ~>
|
42
|
-
- !ruby/object:Gem::Version
|
43
|
-
version: '10.1'
|
44
|
-
none: false
|
45
|
-
prerelease: false
|
46
|
-
type: :development
|
47
|
-
- !ruby/object:Gem::Dependency
|
48
|
-
name: ruby-maven
|
49
|
-
version_requirements: !ruby/object:Gem::Requirement
|
50
|
-
requirements:
|
51
|
-
- - ~>
|
52
|
-
- !ruby/object:Gem::Version
|
53
|
-
version: 3.1.0.0.0
|
54
|
-
none: false
|
55
|
-
requirement: !ruby/object:Gem::Requirement
|
56
|
-
requirements:
|
57
|
-
- - ~>
|
58
|
-
- !ruby/object:Gem::Version
|
59
|
-
version: 3.1.0.0.0
|
60
|
-
none: false
|
61
|
-
prerelease: false
|
62
|
-
type: :development
|
63
|
-
description: JRuby-OpenSSL is an add-on gem for JRuby that emulates the Ruby OpenSSL native library.
|
64
|
-
email: ola.bini@gmail.com
|
13
|
+
date: 2022-06-30 00:00:00.000000000 Z
|
14
|
+
dependencies: []
|
15
|
+
description: JRuby-OpenSSL is an add-on gem for JRuby that emulates the Ruby OpenSSL
|
16
|
+
native library.
|
17
|
+
email: self+jruby-openssl@kares.org
|
65
18
|
executables: []
|
66
19
|
extensions: []
|
67
20
|
extra_rdoc_files: []
|
68
21
|
files:
|
69
|
-
- History.
|
70
|
-
-
|
22
|
+
- History.md
|
23
|
+
- LICENSE.txt
|
71
24
|
- Mavenfile
|
72
|
-
- README.
|
25
|
+
- README.md
|
73
26
|
- Rakefile
|
74
|
-
- TODO-1_9-support.txt
|
75
27
|
- lib/jopenssl.jar
|
76
|
-
- lib/
|
77
|
-
- lib/openssl.rb
|
28
|
+
- lib/jopenssl/_compat23.rb
|
78
29
|
- lib/jopenssl/load.rb
|
79
30
|
- lib/jopenssl/version.rb
|
80
|
-
- lib/
|
81
|
-
- lib/
|
82
|
-
- lib/jopenssl18/openssl/buffering.rb
|
83
|
-
- lib/jopenssl18/openssl/cipher.rb
|
84
|
-
- lib/jopenssl18/openssl/config.rb
|
85
|
-
- lib/jopenssl18/openssl/digest.rb
|
86
|
-
- lib/jopenssl18/openssl/pkcs7.rb
|
87
|
-
- lib/jopenssl18/openssl/ssl-internal.rb
|
88
|
-
- lib/jopenssl18/openssl/ssl.rb
|
89
|
-
- lib/jopenssl18/openssl/x509-internal.rb
|
90
|
-
- lib/jopenssl18/openssl/x509.rb
|
91
|
-
- lib/jopenssl19/openssl.rb
|
92
|
-
- lib/jopenssl19/openssl/bn.rb
|
93
|
-
- lib/jopenssl19/openssl/buffering.rb
|
94
|
-
- lib/jopenssl19/openssl/cipher.rb
|
95
|
-
- lib/jopenssl19/openssl/config.rb
|
96
|
-
- lib/jopenssl19/openssl/digest.rb
|
97
|
-
- lib/jopenssl19/openssl/ssl-internal.rb
|
98
|
-
- lib/jopenssl19/openssl/ssl.rb
|
99
|
-
- lib/jopenssl19/openssl/x509-internal.rb
|
100
|
-
- lib/jopenssl19/openssl/x509.rb
|
31
|
+
- lib/jruby-openssl.rb
|
32
|
+
- lib/openssl.rb
|
101
33
|
- lib/openssl/bn.rb
|
102
34
|
- lib/openssl/buffering.rb
|
103
35
|
- lib/openssl/cipher.rb
|
104
36
|
- lib/openssl/config.rb
|
105
37
|
- lib/openssl/digest.rb
|
38
|
+
- lib/openssl/hmac.rb
|
39
|
+
- lib/openssl/marshal.rb
|
106
40
|
- lib/openssl/pkcs12.rb
|
107
|
-
- lib/openssl/
|
108
|
-
- lib/openssl/
|
41
|
+
- lib/openssl/pkcs5.rb
|
42
|
+
- lib/openssl/pkey.rb
|
109
43
|
- lib/openssl/ssl.rb
|
110
|
-
- lib/openssl/x509-internal.rb
|
111
44
|
- lib/openssl/x509.rb
|
112
|
-
-
|
113
|
-
-
|
114
|
-
-
|
115
|
-
-
|
116
|
-
-
|
117
|
-
|
118
|
-
|
119
|
-
-
|
120
|
-
-
|
121
|
-
-
|
122
|
-
|
123
|
-
licenses: []
|
45
|
+
- lib/org/bouncycastle/bcpkix-jdk18on/1.71/bcpkix-jdk18on-1.71.jar
|
46
|
+
- lib/org/bouncycastle/bcprov-jdk18on/1.71/bcprov-jdk18on-1.71.jar
|
47
|
+
- lib/org/bouncycastle/bctls-jdk18on/1.71/bctls-jdk18on-1.71.jar
|
48
|
+
- lib/org/bouncycastle/bcutil-jdk18on/1.71/bcutil-jdk18on-1.71.jar
|
49
|
+
- pom.xml
|
50
|
+
homepage: https://github.com/jruby/jruby-openssl
|
51
|
+
licenses:
|
52
|
+
- EPL-1.0
|
53
|
+
- GPL-2.0
|
54
|
+
- LGPL-2.1
|
55
|
+
metadata: {}
|
124
56
|
post_install_message:
|
125
57
|
rdoc_options: []
|
126
58
|
require_paths:
|
127
59
|
- lib
|
128
60
|
required_ruby_version: !ruby/object:Gem::Requirement
|
129
61
|
requirements:
|
130
|
-
- -
|
62
|
+
- - ">="
|
131
63
|
- !ruby/object:Gem::Version
|
132
|
-
version:
|
133
|
-
none: false
|
64
|
+
version: 2.3.0
|
134
65
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
135
66
|
requirements:
|
136
|
-
- -
|
67
|
+
- - ">="
|
137
68
|
- !ruby/object:Gem::Version
|
138
69
|
version: '0'
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
70
|
+
requirements:
|
71
|
+
- jar org.bouncycastle:bcprov-jdk18on, 1.71
|
72
|
+
- jar org.bouncycastle:bcpkix-jdk18on, 1.71
|
73
|
+
- jar org.bouncycastle:bctls-jdk18on, 1.71
|
74
|
+
- jar org.bouncycastle:bcutil-jdk18on, 1.71
|
75
|
+
rubygems_version: 3.1.6
|
143
76
|
signing_key:
|
144
|
-
specification_version:
|
145
|
-
summary: OpenSSL
|
77
|
+
specification_version: 4
|
78
|
+
summary: JRuby OpenSSL
|
146
79
|
test_files: []
|
data/History.txt
DELETED
@@ -1,218 +0,0 @@
|
|
1
|
-
== 0.7.7
|
2
|
-
|
3
|
-
This release includes bug fixes.
|
4
|
-
|
5
|
-
- JRUBY-6622: Support loading encrypted RSA key with PBES2
|
6
|
-
- JRUBY-4326: Confusing (and late) OpenSSL error message
|
7
|
-
- JRUBY-6579: Avoid ClassCastException for public key loading
|
8
|
-
- JRUBY-6515: sending UTF-8 data over SSL can hang with openssl
|
9
|
-
- Update tests to sync with CRuby ruby_1_9_3
|
10
|
-
|
11
|
-
== 0.7.6
|
12
|
-
|
13
|
-
This release includes initial implementation of PKCS12 by Owen Ou.
|
14
|
-
|
15
|
-
- JRUBY-5066: Implement OpenSSL::PKCS12 (only for simple case)
|
16
|
-
- JRUBY-6385: Assertion failure with -J-ea
|
17
|
-
|
18
|
-
== 0.7.5
|
19
|
-
|
20
|
-
This release improved 1.9 mode support with help of
|
21
|
-
Duncan Mak <duncan@earthaid.net>. Now jruby-ossl gem includes both 1.8 and 1.9
|
22
|
-
libraries and part of features should work fine on 1.9 mode, too.
|
23
|
-
|
24
|
-
- JRUBY-6270: Wrong keyUsage check for SSL server
|
25
|
-
- JRUBY-6260: OpenSSL::ASN1::Integer#value incompatibility
|
26
|
-
- JRUBY-6044: Improve Ecrypted RSA/DSA pem support
|
27
|
-
- JRUBY-5972: Allow to load/dump empty PKCS7 data
|
28
|
-
- JRUBY-5834: Fix X509Name handling; X509Name RDN can include multiple elements
|
29
|
-
- JRUBY-5362: Improved 1.9 support
|
30
|
-
- JRUBY-4992: Warn if loaded by non JRuby interpreter
|
31
|
-
|
32
|
-
== 0.7.4
|
33
|
-
|
34
|
-
- JRUBY-5519: Avoid String encoding dependency in DER loading. PEM loading
|
35
|
-
failed on JRuby 1.6.x. Fixed.
|
36
|
-
- JRUBY-5510: Add debug information to released jar
|
37
|
-
- JRUBY-5478: Update bouncycastle jars to the latest version. (1.46)
|
38
|
-
|
39
|
-
== 0.7.3
|
40
|
-
|
41
|
-
- JRUBY-5200: Net::IMAP + SSL(imaps) login could hang. Fixed.
|
42
|
-
- JRUBY-5253: Allow to load the certificate file which includes private
|
43
|
-
key for activemarchant compatibility.
|
44
|
-
- JRUBY-5267: Added SSL socket error-checks to avoid busy loop under an
|
45
|
-
unknown condition.
|
46
|
-
- JRUBY-5316: Improvements for J9's IBMJCE support. Now all testcases
|
47
|
-
pass on J9 JDK 6.
|
48
|
-
|
49
|
-
== 0.7.2
|
50
|
-
|
51
|
-
- JRUBY-5126: Ignore Cipher#reset and Cipher#iv= when it's a stream
|
52
|
-
cipher (Net::SSH compatibility)
|
53
|
-
- JRUBY-5125: let Cipher#name for 'rc4' to be 'RC4' (Net::SSH
|
54
|
-
compatibility)
|
55
|
-
- JRUBY-5096: Fixed inconsistent Certificate verification behavior
|
56
|
-
- JRUBY-5060: Avoid NPE from to_pem for empty X509 Objects
|
57
|
-
- JRUBY-5059: SSLSocket ignores Timeout (Fixed)
|
58
|
-
- JRUBY-4965: implemented OpenSSL::Config
|
59
|
-
- JRUBY-5023: make Certificate#signature_algorithm return correct algo
|
60
|
-
name; "sha1WithRSAEncryption" instead of "SHA1"
|
61
|
-
- JRUBY-5024: let HMAC.new accept a String as a digest name
|
62
|
-
- JRUBY-5018: SSLSocket holds selectors, keys, preventing quick
|
63
|
-
cleanup of resources when dereferenced
|
64
|
-
|
65
|
-
== 0.7.1
|
66
|
-
|
67
|
-
- NOTE: Now BouncyCastle jars has moved out to its own gem
|
68
|
-
"bouncy-castle-java" (http://rubygems.org/gems/bouncy-castle-java).
|
69
|
-
You don't need to care about it because "jruby-openssl" gem depends
|
70
|
-
on it from now on.
|
71
|
-
|
72
|
-
=== SSL bugfix
|
73
|
-
|
74
|
-
- JRUBY-4826 net/https client possibly raises "rbuf_fill': End of file
|
75
|
-
reached (EOFError)" for HTTP chunked read.
|
76
|
-
|
77
|
-
=== Misc
|
78
|
-
|
79
|
-
- JRUBY-4900: Set proper String to OpenSSL::OPENSSL_VERSION. Make sure
|
80
|
-
it's not an OpenSSL artifact: "OpenSSL 0.9.8b 04 May 2006
|
81
|
-
(JRuby-OpenSSL fake)" -> "jruby-ossl 0.7.1"
|
82
|
-
- JRUBY-4975: Moving BouncyCastle jars out to its own gem.
|
83
|
-
|
84
|
-
== 0.7
|
85
|
-
|
86
|
-
- Follow MRI 1.8.7 openssl API changes
|
87
|
-
- Fixes so that jruby-openssl can run on appengine
|
88
|
-
- Many bug and compatibility fixes, see below.
|
89
|
-
- This is the last release that will be compatible with JRuby 1.4.x.
|
90
|
-
- Compatibility issues
|
91
|
-
-- JRUBY-4342: Follow ruby-openssl of CRuby 1.8.7.
|
92
|
-
-- JRUBY-4346: Sync tests with tests for ruby-openssl of CRuby 1.8.7.
|
93
|
-
-- JRUBY-4444: OpenSSL crash running RubyGems tests
|
94
|
-
-- JRUBY-4075: Net::SSH gives OpenSSL::Cipher::CipherError "No message
|
95
|
-
available"
|
96
|
-
-- JRUBY-4076: Net::SSH padding error using 3des-cbc on Solaris
|
97
|
-
-- JRUBY-4541: jruby-openssl doesn't load on App Engine.
|
98
|
-
-- JRUBY-4077: Net::SSH "all authorization methods failed" Solaris -> Solaris
|
99
|
-
-- JRUBY-4535: Issues with the BouncyCastle provider
|
100
|
-
-- JRUBY-4510: JRuby-OpenSSL crashes when JCE fails a initialise bcprov
|
101
|
-
-- JRUBY-4343: Update BouncyCastle jar to upstream version; jdk14-139 ->
|
102
|
-
jdk15-144
|
103
|
-
- Cipher issues
|
104
|
-
-- JRUBY-4012: Initialization vector length handled differently than in MRI
|
105
|
-
(longer IV sequence are trimmed to fit the required)
|
106
|
-
-- JRUBY-4473: Implemented DSA key generation
|
107
|
-
-- JRUBY-4472: Cipher does not support RC4 and CAST
|
108
|
-
-- JRUBY-4577: InvalidParameterException 'Wrong keysize: must be equal to 112 or
|
109
|
-
168' for DES3 + SunJCE
|
110
|
-
- SSL and X.509(PKIX) issues
|
111
|
-
-- JRUBY-4384: TCP socket connection causes busy loop of SSL server
|
112
|
-
-- JRUBY-4370: Implement SSLContext#ciphers
|
113
|
-
-- JRUBY-4688: SSLContext#ciphers does not accept 'DEFAULT'
|
114
|
-
-- JRUBY-4357: SSLContext#{setup,ssl_version=} are not implemented
|
115
|
-
-- JRUBY-4397: SSLContext#extra_chain_cert and SSLContext#client_ca
|
116
|
-
-- JRUBY-4684: SSLContext#verify_depth is ignored
|
117
|
-
-- JRUBY-4398: SSLContext#options does not affect to SSL sessions
|
118
|
-
-- JRUBY-4360: Implement SSLSocket#verify_result and dependents
|
119
|
-
-- JRUBY-3829: SSLSocket#read should clear given buffer before concatenating
|
120
|
-
(ByteBuffer.java:328:in `allocate': java.lang.IllegalArgumentException when
|
121
|
-
returning SOAP queries over a certain size)
|
122
|
-
-- JRUBY-4686: SSLSocket can drop last chunk of data just before inbound channel
|
123
|
-
close
|
124
|
-
-- JRUBY-4369: X509Store#verify_callback is not called
|
125
|
-
-- JRUBY-4409: OpenSSL::X509::Store#add_file corrupts when it includes
|
126
|
-
certificates which have the same subject (problem with
|
127
|
-
ruby-openid-apps-discovery (github jruby-openssl issue #2))
|
128
|
-
-- JRUBY-4333: PKCS#8 formatted privkey read
|
129
|
-
-- JRUBY-4454: Loading Key file as a Certificate causes NPE
|
130
|
-
-- JRUBY-4455: calling X509::Certificate#sign for the Certificate initialized
|
131
|
-
from PEM causes IllegalStateException
|
132
|
-
- PKCS#7 issues
|
133
|
-
-- JRUBY-4379: PKCS7#sign failed for DES3 cipher algorithm
|
134
|
-
-- JRUBY-4428: Allow to use DES-EDE3-CBC in PKCS#7 w/o the Policy Files (rake
|
135
|
-
test doesn't finish on JDK5 w/o policy files update)
|
136
|
-
- Misc
|
137
|
-
-- JRUBY-4574: jruby-openssl deprecation warning cleanup
|
138
|
-
-- JRUBY-4591: jruby-1.4 support
|
139
|
-
|
140
|
-
== 0.6
|
141
|
-
|
142
|
-
- This is a recommended upgrade to jruby-openssl. A security problem
|
143
|
-
involving peer certificate verification was found where failed
|
144
|
-
verification silently did nothing, making affected applications
|
145
|
-
vulnerable to attackers. Attackers could lead a client application
|
146
|
-
to believe that a secure connection to a rogue SSL server is
|
147
|
-
legitimate. Attackers could also penetrate client-validated SSL
|
148
|
-
server applications with a dummy certificate. Your application would
|
149
|
-
be vulnerable if you're using the 'net/https' library with
|
150
|
-
OpenSSL::SSL::VERIFY_PEER mode and any version of jruby-openssl
|
151
|
-
prior to 0.6. Thanks to NaHi (NAKAMURA Hiroshi) for finding the
|
152
|
-
problem and providing the fix. See
|
153
|
-
http://www.jruby.org/2009/12/07/vulnerability-in-jruby-openssl.html
|
154
|
-
for details.
|
155
|
-
- This release addresses CVE-2009-4123 which was reserved for the
|
156
|
-
above vulnerability.
|
157
|
-
- Many fixes from NaHi, including issues related to certificate
|
158
|
-
verification and certificate store purpose verification.
|
159
|
-
- implement OpenSSL::X509::Store#set_default_paths
|
160
|
-
- MRI compat. fix: OpenSSL::X509::Store#add_file
|
161
|
-
- Fix nsCertType handling.
|
162
|
-
- Fix Cipher#key_len for DES-EDE3: 16 should be 24.
|
163
|
-
- Modified test expectations around Cipher#final.
|
164
|
-
- Public keys are lazily instantiated when the
|
165
|
-
X509::Certificate#public_key method is called (Dave Garcia)
|
166
|
-
|
167
|
-
== 0.5.2
|
168
|
-
|
169
|
-
* Multiple bugs fixed:
|
170
|
-
** JRUBY-3895 Could not verify server signature with net-ssh against Cygwin
|
171
|
-
** JRUBY-3864 jruby-openssl depends on Base64Coder from JvYAMLb
|
172
|
-
** JRUBY-3790 JRuby-OpenSSL test_post_connection_check is not passing
|
173
|
-
** JRUBY-3767 OpenSSL ssl implementation doesn't support client auth
|
174
|
-
** JRUBY-3673 jRuby-OpenSSL does not properly load certificate authority file
|
175
|
-
|
176
|
-
== 0.5.1
|
177
|
-
|
178
|
-
* Multiple fixes by Brice Figureau to get net/ssh working. Requires JRuby 1.3.1
|
179
|
-
to be 100%
|
180
|
-
* Fix by Frederic Jean for a character-decoding issue for some certificates
|
181
|
-
|
182
|
-
== 0.5
|
183
|
-
|
184
|
-
* Fixed JRUBY-3614: Unsupported HMAC algorithm (HMACSHA-256)
|
185
|
-
* Fixed JRUBY-3570: ActiveMerchant's AuthorizeNet Gateway throws OpenSSL Cert
|
186
|
-
Validation Error, when there should be no error
|
187
|
-
* Fixed JRUBY-3557 Class cast exception in PKeyRSA.java
|
188
|
-
* Fixed JRUBY-3468 X.509 certificates: subjectKeyIdentifier corrupted
|
189
|
-
* Fixed JRUBY-3285 Unsupported HMAC algorithm (HMACSHA1) error when generating
|
190
|
-
digest
|
191
|
-
* Misc code cleanup
|
192
|
-
|
193
|
-
== 0.2
|
194
|
-
|
195
|
-
- Enable remaining tests; fix a nil string issue in SSLSocket.sysread
|
196
|
-
(JRUBY-1888)
|
197
|
-
- Fix socket buffering issue by setting socket IO sync = true
|
198
|
-
- Fix bad file descriptor issue caused by unnecessary close (JRUBY-2152)
|
199
|
-
- Fix AES key length (JRUBY-2187)
|
200
|
-
- Fix cipher initialization (JRUBY-1100)
|
201
|
-
- Now, only compatible with JRuby 1.1
|
202
|
-
|
203
|
-
== 0.1.1
|
204
|
-
|
205
|
-
- Fixed blocker issue preventing HTTPS/SSL from working (JRUBY-1222)
|
206
|
-
|
207
|
-
== 0.1
|
208
|
-
|
209
|
-
- PLEASE NOTE: This release is not compatible with JRuby releases earlier than
|
210
|
-
1.0.3 or 1.1b2. If you must use JRuby 1.0.2 or earlier, please install the
|
211
|
-
0.6 release.
|
212
|
-
- Release coincides with JRuby 1.0.3 and JRuby 1.1b2 releases
|
213
|
-
- Simultaneous support for JRuby trunk and 1.0 branch
|
214
|
-
- Start of support for OpenSSL::BN
|
215
|
-
|
216
|
-
== 0.0.5 and prior
|
217
|
-
|
218
|
-
- Initial versions with maintenance updates
|
data/License.txt
DELETED
@@ -1,30 +0,0 @@
|
|
1
|
-
JRuby-OpenSSL is distributed under the same license as JRuby (http://www.jruby.org/).
|
2
|
-
|
3
|
-
Version: EPL 1.0/GPL 2.0/LGPL 2.1
|
4
|
-
|
5
|
-
The contents of this file are subject to the Common Public
|
6
|
-
License Version 1.0 (the "License"); you may not use this file
|
7
|
-
except in compliance with the License. You may obtain a copy of
|
8
|
-
the License at http://www.eclipse.org/legal/cpl-v10.html
|
9
|
-
|
10
|
-
Software distributed under the License is distributed on an "AS
|
11
|
-
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
12
|
-
implied. See the License for the specific language governing
|
13
|
-
rights and limitations under the License.
|
14
|
-
|
15
|
-
Copyright (C) 2007 Ola Bini <ola.bini@gmail.com>
|
16
|
-
|
17
|
-
Alternatively, the contents of this file may be used under the terms of
|
18
|
-
either of the GNU General Public License Version 2 or later (the "GPL"),
|
19
|
-
or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
|
20
|
-
in which case the provisions of the GPL or the LGPL are applicable instead
|
21
|
-
of those above. If you wish to allow use of your version of this file only
|
22
|
-
under the terms of either the GPL or the LGPL, and not to allow others to
|
23
|
-
use your version of this file under the terms of the EPL, indicate your
|
24
|
-
decision by deleting the provisions above and replace them with the notice
|
25
|
-
and other provisions required by the GPL or the LGPL. If you do not delete
|
26
|
-
the provisions above, a recipient may use your version of this file under
|
27
|
-
the terms of any one of the EPL, the GPL or the LGPL.
|
28
|
-
|
29
|
-
JRuby-OpenSSL includes software by the Legion of the Bouncy Castle
|
30
|
-
(http://bouncycastle.org/license.html).
|
data/README.txt
DELETED
@@ -1,13 +0,0 @@
|
|
1
|
-
= JRuby-OpenSSL
|
2
|
-
|
3
|
-
* https://github.com/jruby/jruby/tree/master/maven/gems/jruby-openssl
|
4
|
-
|
5
|
-
== DESCRIPTION:
|
6
|
-
|
7
|
-
JRuby-OpenSSL is an add-on gem for JRuby that emulates the Ruby OpenSSL native library.
|
8
|
-
|
9
|
-
Please report bugs and incompatibilities (preferably with testcases) to either the JRuby
|
10
|
-
mailing list [1] or the JRuby bug tracker [2].
|
11
|
-
|
12
|
-
[1]: http://xircles.codehaus.org/projects/jruby/lists
|
13
|
-
[2]: https://github.com/jruby/jruby/issues
|
data/TODO-1_9-support.txt
DELETED
@@ -1,23 +0,0 @@
|
|
1
|
-
TODO for 1.9 support
|
2
|
-
|
3
|
-
* Implement some mehotds properly
|
4
|
-
* ASN1 (fix lots of failing tests)
|
5
|
-
* OpenSSL::ASN1::ObjectId.new for SHA-2 ids such as SHA224
|
6
|
-
* X509Name#cmp
|
7
|
-
* ASN.1 handling
|
8
|
-
|
9
|
-
* Implement some methods
|
10
|
-
* PKey.read
|
11
|
-
* PKey::DH#public_key
|
12
|
-
* SSLSocket#sysread_nonblock
|
13
|
-
* SSLSocket#syswrite_nonblock
|
14
|
-
* OCSP
|
15
|
-
* config file
|
16
|
-
* SSLSocket#client_ca - can we get CertificateRequest* in ServerHello?
|
17
|
-
* SSL::Session - can we?
|
18
|
-
* @crlDisPts of tX509Extension
|
19
|
-
|
20
|
-
* Fixes needed for JRuby
|
21
|
-
* Implement BasicSocket#connect_address for test_pair.rb
|
22
|
-
* Stop Socket#accept by Socket#shutdown, not by Socket#close
|
23
|
-
* busy loop for SSLSocket#read_nonblock (and revert net/protocol.rb)
|
@@ -1,35 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
= $RCSfile$ -- Ruby-space definitions that completes C-space funcs for BN
|
3
|
-
|
4
|
-
= Info
|
5
|
-
'OpenSSL for Ruby 2' project
|
6
|
-
Copyright (C) 2002 Michal Rokos <m.rokos@sh.cvut.cz>
|
7
|
-
All rights reserved.
|
8
|
-
|
9
|
-
= Licence
|
10
|
-
This program is licenced under the same licence as Ruby.
|
11
|
-
(See the file 'LICENCE'.)
|
12
|
-
|
13
|
-
= Version
|
14
|
-
$Id$
|
15
|
-
=end
|
16
|
-
|
17
|
-
##
|
18
|
-
# Should we care what if somebody require this file directly?
|
19
|
-
#require 'openssl'
|
20
|
-
|
21
|
-
module OpenSSL
|
22
|
-
class BN
|
23
|
-
include Comparable
|
24
|
-
end # BN
|
25
|
-
end # OpenSSL
|
26
|
-
|
27
|
-
##
|
28
|
-
# Add double dispatch to Integer
|
29
|
-
#
|
30
|
-
class Integer
|
31
|
-
def to_bn
|
32
|
-
OpenSSL::BN::new(self.to_s(16), 16)
|
33
|
-
end
|
34
|
-
end # Integer
|
35
|
-
|