nokogiri-xmlsec-instructure 0.10.2 → 0.10.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/ext/nokogiri_ext_xmlsec/extconf.rb +1 -13
- data/ext/nokogiri_ext_xmlsec/init.c +1 -1
- data/lib/xmlsec/version.rb +1 -1
- data/spec/fixtures/sign3-result.xml +2 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3d80bf299c2e7900122535982dfde8b7b6ab67ea53528b0b055c3758b9b9753f
|
|
4
|
+
data.tar.gz: 379cbbff6fc67ac23cf9d604d15aea36f79e58418b034dcf5e5b45db3c86a739
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e87ccfb10dfc8d9afe6964c58f4a56179fde5faa0ab007fb8bb5b62a038d6bc609d7f96efc09fbc394d3e51af568f3134133d87d5a843d6a456fe949dca464c2
|
|
7
|
+
data.tar.gz: 705acc4113dc8380a29c3ef001a19eceda6a128e9c08441a3ebd9f135452f5d0a22419d8cfdd64f2002841132687f10f84af09fe998d19f701aeff5d4860e21a
|
|
@@ -11,21 +11,9 @@ pkg_config('xmlsec1')
|
|
|
11
11
|
$CFLAGS << " " + `xmlsec1-config --cflags`.strip
|
|
12
12
|
$CFLAGS << " -fvisibility=hidden"
|
|
13
13
|
|
|
14
|
-
if $CFLAGS =~ /\-DXMLSEC_CRYPTO=\\\\\\"openssl\\\\\\"/
|
|
15
|
-
puts "Changing escaping: #{$CFLAGS}"
|
|
16
|
-
$CFLAGS['-DXMLSEC_CRYPTO=\\\\\\"openssl\\\\\\"'] =
|
|
17
|
-
'-DXMLSEC_CRYPTO=\\"openssl\\"'
|
|
18
|
-
end
|
|
19
|
-
|
|
20
|
-
if $CFLAGS =~ /\-DXMLSEC_CRYPTO="openssl"/
|
|
21
|
-
puts "Ensure we escaping: #{$CFLAGS}"
|
|
22
|
-
$CFLAGS['-DXMLSEC_CRYPTO="openssl"'] =
|
|
23
|
-
'-DXMLSEC_CRYPTO=\\"openssl\\"'
|
|
24
|
-
end
|
|
25
|
-
|
|
26
14
|
$CFLAGS << Dir[Gem.loaded_specs['nokogiri'].full_gem_path + "/ext/*"].map { |dir| " -I#{dir}"}.join("")
|
|
27
15
|
|
|
28
|
-
puts "
|
|
16
|
+
puts "Cflags: #{$CFLAGS}"
|
|
29
17
|
$libs = `xmlsec1-config --libs`.strip
|
|
30
18
|
|
|
31
19
|
# We reference symbols out of nokogiri but don't link directly against it
|
|
@@ -47,7 +47,7 @@ void Init_nokogiri_ext_xmlsec() {
|
|
|
47
47
|
}
|
|
48
48
|
// load crypto
|
|
49
49
|
#ifdef XMLSEC_CRYPTO_DYNAMIC_LOADING
|
|
50
|
-
if(xmlSecCryptoDLLoadLibrary(
|
|
50
|
+
if(xmlSecCryptoDLLoadLibrary(NULL) < 0) {
|
|
51
51
|
rb_raise(rb_eRuntimeError,
|
|
52
52
|
"Error: unable to load default xmlsec-crypto library. Make sure"
|
|
53
53
|
"that you have it installed and check shared libraries path\n"
|
data/lib/xmlsec/version.rb
CHANGED
|
@@ -32,7 +32,8 @@ eymfHtzOeY86WyvfsjZmaz2XnIo9dzZsK71yMEKkgvXQnnYy9pK0NaYcG0B0hcii
|
|
|
32
32
|
gSVEWpEpCSo560x0mSuLnJYdQQzZ/L6xvxZ1AgMBAAEwDQYJKoZIhvcNAQEFBQAD
|
|
33
33
|
gYEATyK/RlfpohUVimgFkycTF2hyusjctseXoZDCctgg/STMsL8iA0P9YB6k91GC
|
|
34
34
|
kWpwevuiwarD1MfSUV6goPINFkIBvfK+5R9lpHaTqqs615z8T9R5VJgaLcFe3tWd
|
|
35
|
-
7oq3V2q5Nl6MrZfXj2N07qe6/9zfdauxYO26vAEKCvIkbMo
|
|
35
|
+
7oq3V2q5Nl6MrZfXj2N07qe6/9zfdauxYO26vAEKCvIkbMo=
|
|
36
|
+
</X509Certificate>
|
|
36
37
|
</X509Data>
|
|
37
38
|
</KeyInfo>
|
|
38
39
|
</Signature></Envelope>
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: nokogiri-xmlsec-instructure
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.10.
|
|
4
|
+
version: 0.10.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Albert J. Wong
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date:
|
|
12
|
+
date: 2025-01-08 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: nokogiri
|
|
@@ -219,7 +219,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
219
219
|
- !ruby/object:Gem::Version
|
|
220
220
|
version: '0'
|
|
221
221
|
requirements: []
|
|
222
|
-
rubygems_version: 3.
|
|
222
|
+
rubygems_version: 3.5.11
|
|
223
223
|
signing_key:
|
|
224
224
|
specification_version: 4
|
|
225
225
|
summary: Wrapper around http://www.aleksey.com/xmlsec to support XML encryption, decryption,
|