saml-kit 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/saml/kit/assertion.rb +1 -1
- data/lib/saml/kit/version.rb +1 -1
- data/saml-kit.gemspec +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a31d9e6b238e73228d1d269234b34cea16bcfea3
|
4
|
+
data.tar.gz: 94390f23ed750aa43918c13d911f08c1d6e2ac11
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a8c232f1150b087d53a57179ecd3c10d9fc18fb9903a641f22bc4370f25bc25b9f5a719a8ddd9d8447dc08d5a2af58c93d0a1adfa75b5c7b1ec7a0811df8edcd
|
7
|
+
data.tar.gz: cb261c42f841378781acab2638794c9278aa3a9d18ad4dc83d44facdd3c4f83247912b1c671edc3fa635eb757e682b8007358d22325ea1e23d251f228d800788
|
data/lib/saml/kit/assertion.rb
CHANGED
@@ -76,7 +76,7 @@ module Saml
|
|
76
76
|
if encrypted?
|
77
77
|
private_keys = configuration.private_keys(use: :encryption)
|
78
78
|
decryptor = ::Xml::Kit::Decryption.new(private_keys: private_keys)
|
79
|
-
decrypted = decryptor.
|
79
|
+
decrypted = decryptor.decrypt_hash(@xml_hash['Response']['EncryptedAssertion'])
|
80
80
|
Saml::Kit.logger.debug(decrypted)
|
81
81
|
Hash.from_xml(decrypted)['Assertion']
|
82
82
|
else
|
data/lib/saml/kit/version.rb
CHANGED
data/saml-kit.gemspec
CHANGED
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
|
|
25
25
|
|
26
26
|
spec.add_dependency "activemodel", ">= 4.2.0"
|
27
27
|
spec.add_dependency "nokogiri", "~> 1.8"
|
28
|
-
spec.add_dependency "xml-kit", "0.1.
|
28
|
+
spec.add_dependency "xml-kit", ">= 0.1.1"
|
29
29
|
spec.add_development_dependency "bundler", "~> 1.15"
|
30
30
|
spec.add_development_dependency "ffaker", "~> 2.7"
|
31
31
|
spec.add_development_dependency "rake", "~> 10.0"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: saml-kit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- mo khan
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-12-
|
11
|
+
date: 2017-12-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activemodel
|
@@ -42,16 +42,16 @@ dependencies:
|
|
42
42
|
name: xml-kit
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 0.1.
|
47
|
+
version: 0.1.1
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 0.1.
|
54
|
+
version: 0.1.1
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: bundler
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|