signer 1.4.2 → 1.4.3

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: c53fd8a35adaec2dbeada21a1b01983f4e062187
4
- data.tar.gz: e40d84c4287da97c39c4b9db6d49cf2c441b4141
3
+ metadata.gz: 8bf8bef96e43865a346996e58d2c3fe67e6941a5
4
+ data.tar.gz: 21685b57a5beeb45ff1935da45daf9f62df86186
5
5
  SHA512:
6
- metadata.gz: c470aa82a47a84973991688e3d97b70e9a0195662ac9ae08135380849077b312860b6a2e2f8b29d04323e4e4adf26dc32817282e82b47fe41360c50c3a14aef2
7
- data.tar.gz: 2d72aae604c64ca037d6ca777d13d6db1ca84ba27c0d0b3feadf46c1b1448b107cbf7f681f2e3ccbdb374b344c176ddf2abcbebe95554fcf188bc81d67a5c881
6
+ metadata.gz: 2d07bf7febe758343d53ac6c12efa76145acfb5651bfc05ae0cccd5eb7e95f803890af24eb07e0e9ed3cac592d24f4957b28748a1a39577fcb0f0da72faadbac
7
+ data.tar.gz: cede490e1f19fac745afc83f79851c925dfcd91450d807f816e6b828679784a6f492449df5203c4de74e3da303a3cc16ebcca5cbea1222119cc0539b24515b5c
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 1.4.3 (2015-10-28)
2
+
3
+ - Fixed Issuer Name node (#8, @tiagocasanovapt)
4
+
1
5
  ## 1.4.2 (2014-11-30)
2
6
 
3
7
  - Fixed behaviour on XMLs that already contains nested signatures somewhere
data/lib/signer.rb CHANGED
@@ -154,7 +154,7 @@ class Signer
154
154
  # </KeyInfo>
155
155
  def x509_data_node
156
156
  issuer_name_node = Nokogiri::XML::Node.new('X509IssuerName', document)
157
- issuer_name_node.content = "System.Security.Cryptography.X509Certificates.X500DistinguishedName"
157
+ issuer_name_node.content = cert.issuer.to_s[1..-1].gsub(/\//, ',')
158
158
 
159
159
  issuer_number_node = Nokogiri::XML::Node.new('X509SerialNumber', document)
160
160
  issuer_number_node.content = cert.serial
@@ -1,3 +1,3 @@
1
1
  class Signer
2
- VERSION = '1.4.2'
2
+ VERSION = '1.4.3'
3
3
  end
@@ -21,7 +21,7 @@
21
21
  <KeyInfo>
22
22
  <X509Data>
23
23
  <X509IssuerSerial>
24
- <X509IssuerName>System.Security.Cryptography.X509Certificates.X500DistinguishedName</X509IssuerName>
24
+ <X509IssuerName>C=AU,ST=Some-State,O=Internet Widgits Pty Ltd</X509IssuerName>
25
25
  <X509SerialNumber>16503368396260674861</X509SerialNumber>
26
26
  </X509IssuerSerial>
27
27
  <X509Certificate>MIICsDCCAhmgAwIBAgIJAOUHvh4oho0tMA0GCSqGSIb3DQEBBQUAMEUxCzAJBgNVBAYTAkFVMRMwEQYDVQQIEwpTb21lLVN0YXRlMSEwHwYDVQQKExhJbnRlcm5ldCBXaWRnaXRzIFB0eSBMdGQwHhcNMTIwNTAzMTMxODIyWhcNMTMwNTAzMTMxODIyWjBFMQswCQYDVQQGEwJBVTETMBEGA1UECBMKU29tZS1TdGF0ZTEhMB8GA1UEChMYSW50ZXJuZXQgV2lkZ2l0cyBQdHkgTHRkMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCvK5hMPv/R5IFmwWyJOyEaFUrF/ZsmN+Gip8hvR6rLP3YPNx9iFYvPcZllFmuVwyaz7YT2N5BsqTwLdyi5v4HY4fUtuz0p8jIPoSd6dfDvcnSpf4QLTOgOaL3ciPEbgDHH2tnIksukoWzqCYva+qFZ74NFl19swXotW9fA4Jzs4QIDAQABo4GnMIGkMB0GA1UdDgQWBBRU1WEHDnP8Hr7ZulxrSzEwOcYpMzB1BgNVHSMEbjBsgBRU1WEHDnP8Hr7ZulxrSzEwOcYpM6FJpEcwRTELMAkGA1UEBhMCQVUxEzARBgNVBAgTClNvbWUtU3RhdGUxITAfBgNVBAoTGEludGVybmV0IFdpZGdpdHMgUHR5IEx0ZIIJAOUHvh4oho0tMAwGA1UdEwQFMAMBAf8wDQYJKoZIhvcNAQEFBQADgYEASY/9SAOK57q9mGnNJJeyDbmyGrAHSJTod646xTHYkMvhUqwHyk9PTr5bdfmswpmyVn+AQ43U2tU5vnpTBmKpHWD2+HSHgGa92mMLrfBOd8EBZ329NL3N2HDPIaHr4NPGyhNrSK3QVOnAq2D0jlyrGYJlLli1NxHiBz7FCEJaVI8=</X509Certificate>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: signer
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.2
4
+ version: 1.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Edgars Beigarts
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-11-30 00:00:00.000000000 Z
11
+ date: 2015-10-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -98,7 +98,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
98
98
  version: '0'
99
99
  requirements: []
100
100
  rubyforge_project:
101
- rubygems_version: 2.4.4
101
+ rubygems_version: 2.4.6
102
102
  signing_key:
103
103
  specification_version: 4
104
104
  summary: WS Security XML signer