jruby-openssl 0.7.4 → 0.7.5.dev

Sign up to get free protection for your applications and to get access to all the features.
File without changes
@@ -69,6 +69,7 @@ test/fixture/cert_localhost.pem
69
69
  test/fixture/localhost_keypair.pem
70
70
  test/fixture/verisign_c3.pem
71
71
  test/fixture/selfcert.pem
72
+ test/fixture/ids_in_subject_rdn_set.pem
72
73
  test/fixture/max.pem
73
74
  test/fixture/keypair.pem
74
75
  test/fixture/purpose
data/Rakefile CHANGED
@@ -64,7 +64,7 @@ begin
64
64
  p.changes = p.paragraphs_of('History.txt', 0..1).join("\n\n")
65
65
  p.description = p.paragraphs_of('README.txt', 3...4).join("\n\n")
66
66
  p.test_globs = ENV["TEST"] || ["test/test_all.rb"]
67
- p.extra_deps << ['bouncy-castle-java', '>= 0']
67
+ p.extra_deps << ['bouncy-castle-java', '>= 1.5.0146.1']
68
68
  end
69
69
  hoe.spec.dependencies.delete_if { |dep| dep.name == "hoe" }
70
70
 
Binary file
@@ -1,5 +1,5 @@
1
1
  module Jopenssl
2
2
  module Version
3
- VERSION = "0.7.4"
3
+ VERSION = "0.7.5.dev"
4
4
  end
5
5
  end
@@ -0,0 +1,31 @@
1
+ -----BEGIN CERTIFICATE-----
2
+ MIIFTDCCBDSgAwIBAgIESx/XYjANBgkqhkiG9w0BAQUFADCBsTELMAkGA1UEBhMC
3
+ VVMxFjAUBgNVBAoTDUVudHJ1c3QsIEluYy4xOTA3BgNVBAsTMHd3dy5lbnRydXN0
4
+ Lm5ldC9ycGEgaXMgaW5jb3Jwb3JhdGVkIGJ5IHJlZmVyZW5jZTEfMB0GA1UECxMW
5
+ KGMpIDIwMDkgRW50cnVzdCwgSW5jLjEuMCwGA1UEAxMlRW50cnVzdCBDZXJ0aWZp
6
+ Y2F0aW9uIEF1dGhvcml0eSAtIEwxRTAeFw0xMDAxMjExNzU2NDhaFw0xMjAzMDEx
7
+ ODI1MzhaMIHxMQswCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQG
8
+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YqyxEPBvb/IVEFVneCWrf+5oTAdBgNVHQ4EFgQUxwn0
24
+ c2hWU57BkDqWQIHAQMMEW1UwCQYDVR0TBAIwADANBgkqhkiG9w0BAQUFAAOCAQEA
25
+ JyyyuN5xhmn60ikyQ38xCEFIglghuteljnKzUDz0++7wSlP/4qkD7/y2dk3dPY1x
26
+ BzS4nfAtqlUV6cr2atQZkG12F+qc58o3qTfdh3WSQBk4bhb0kl18hNnOQHWVUQg3
27
+ H728BqwAbuSyal9VAAExdIhIx2l70+g1BiEcEUswfFIZJ7PEkeafmlRmLjhOb8MF
28
+ y4JdYmZ82+4lDM5ScME9F/5782cRscYDbn5ODXkMp6YdN3aurMWYYmCRGzkj0UfL
29
+ UhGX2EWjEi0PZSJN0dNpckHEu8rxth/4gf6rUEUXXG2yrvUD6t+keelH9LEttyf4
30
+ 5b7k0dbmTWmgjkgoi1gqWg==
31
+ -----END CERTIFICATE-----
@@ -120,4 +120,13 @@ END
120
120
  assert_equal("Tue Dec 7 04:34:54 2010", cert.not_before.asctime)
121
121
  assert_equal(155138628173305760586484923990788939560020632428367464748448028799529480209574373402763304069949574437177088605664104864141770364385183263453740781162330879666907894314877641447552442838727890327086630369910941911916802731723019019303432276515402934176273116832204529025371212188573318159421452591783377914839, key.n)
122
122
  end
123
+
124
+ # JRUBY-5834
125
+ def test_ids_in_subject_rdn_set
126
+ cert_file = File.expand_path('fixture/ids_in_subject_rdn_set.pem', File.dirname(__FILE__))
127
+ cert = OpenSSL::X509::Certificate.new(File.read(cert_file))
128
+ keys = cert.subject.to_a.map { |k, v| k }.sort
129
+ assert_equal(10, keys.size)
130
+ assert_equal(true, keys.include?("CN"))
131
+ end
123
132
  end
metadata CHANGED
@@ -1,8 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jruby-openssl
3
3
  version: !ruby/object:Gem::Version
4
- prerelease:
5
- version: 0.7.4
4
+ prerelease: 6
5
+ version: 0.7.5.dev
6
6
  platform: ruby
7
7
  authors:
8
8
  - Ola Bini and JRuby contributors
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-04-28 00:00:00 +09:00
13
+ date: 2011-05-31 00:00:00 +09:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
@@ -21,7 +21,7 @@ dependencies:
21
21
  requirements:
22
22
  - - ">="
23
23
  - !ruby/object:Gem::Version
24
- version: "0"
24
+ version: 1.5.0146.1
25
25
  type: :runtime
26
26
  version_requirements: *id001
27
27
  description: JRuby-OpenSSL is an add-on gem for JRuby that emulates the Ruby OpenSSL native library.
@@ -100,6 +100,7 @@ files:
100
100
  - test/fixture/localhost_keypair.pem
101
101
  - test/fixture/verisign_c3.pem
102
102
  - test/fixture/selfcert.pem
103
+ - test/fixture/ids_in_subject_rdn_set.pem
103
104
  - test/fixture/max.pem
104
105
  - test/fixture/keypair.pem
105
106
  - test/fixture/purpose/cacert.pem
@@ -135,6 +136,7 @@ files:
135
136
  - test/java/test_java_mime.rb
136
137
  - test/java/test_java_attribute.rb
137
138
  - test/java/test_java_smime.rb
139
+ - .gemtest
138
140
  has_rdoc: true
139
141
  homepage: http://jruby-extras.rubyforge.org/jruby-openssl
140
142
  licenses: []
@@ -154,9 +156,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
154
156
  required_rubygems_version: !ruby/object:Gem::Requirement
155
157
  none: false
156
158
  requirements:
157
- - - ">="
159
+ - - ">"
158
160
  - !ruby/object:Gem::Version
159
- version: "0"
161
+ version: 1.3.1
160
162
  requirements: []
161
163
 
162
164
  rubyforge_project: jruby-extras