summaryrefslogtreecommitdiff
path: root/lib/saml
diff options
context:
space:
mode:
Diffstat (limited to 'lib/saml')
-rw-r--r--lib/saml/kit/assertion.rb2
-rw-r--r--lib/saml/kit/version.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/saml/kit/assertion.rb b/lib/saml/kit/assertion.rb
index 40f567c..5299bc3 100644
--- a/lib/saml/kit/assertion.rb
+++ b/lib/saml/kit/assertion.rb
@@ -76,7 +76,7 @@ module Saml
if encrypted?
private_keys = configuration.private_keys(use: :encryption)
decryptor = ::Xml::Kit::Decryption.new(private_keys: private_keys)
- decrypted = decryptor.decrypt(@xml_hash['Response']['EncryptedAssertion'])
+ decrypted = decryptor.decrypt_hash(@xml_hash['Response']['EncryptedAssertion'])
Saml::Kit.logger.debug(decrypted)
Hash.from_xml(decrypted)['Assertion']
else
diff --git a/lib/saml/kit/version.rb b/lib/saml/kit/version.rb
index 9513aae..22546c5 100644
--- a/lib/saml/kit/version.rb
+++ b/lib/saml/kit/version.rb
@@ -1,5 +1,5 @@
module Saml
module Kit
- VERSION = "0.3.1"
+ VERSION = "0.3.2"
end
end