libsaml 2.19.2 → 2.19.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/saml/util.rb +2 -2
- data/lib/saml/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4fc23033d4d6c03620e5aeb876fd4d32e41dcc5a
|
4
|
+
data.tar.gz: 86b14971c1eca54fa7f310406979283bf706283f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1d06237e9bb53a3c8c3df051e80232109c785e0411fa0fd7bdd05364ece69f50a8adb3b3666e8b9c539104ab81c7253faf86138b9ecb27bbde67cd67505e71fa
|
7
|
+
data.tar.gz: f12619835cc2372a60d1b789c3fd77891fd6fa6ad5d9084952bd949e0cface6bc8a13f8c9be50f9456409906be0ca5db3102a213f7f2ecb702f9473c63289cc3
|
data/lib/saml/util.rb
CHANGED
@@ -87,11 +87,11 @@ module Saml
|
|
87
87
|
encrypted_id
|
88
88
|
end
|
89
89
|
|
90
|
-
def decrypt_encrypted_id(encrypted_id, private_key)
|
90
|
+
def decrypt_encrypted_id(encrypted_id, private_key, fail_silent = false)
|
91
91
|
encrypted_id_xml = encrypted_id.is_a?(Saml::Elements::EncryptedID) ?
|
92
92
|
encrypted_id.to_xml : encrypted_id.to_s
|
93
93
|
encrypted_document = Xmlenc::EncryptedDocument.new(encrypted_id_xml)
|
94
|
-
Saml::Elements::EncryptedID.parse(encrypted_document.decrypt(private_key))
|
94
|
+
Saml::Elements::EncryptedID.parse(encrypted_document.decrypt(private_key, fail_silent))
|
95
95
|
end
|
96
96
|
|
97
97
|
def verify_xml(message, raw_body)
|
data/lib/saml/version.rb
CHANGED