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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b95ffeb8e16e6f92310653ab9f0c8968c6096742
4
- data.tar.gz: 4d788139b3df80174ceffbe944b18d9bbe679253
3
+ metadata.gz: 4fc23033d4d6c03620e5aeb876fd4d32e41dcc5a
4
+ data.tar.gz: 86b14971c1eca54fa7f310406979283bf706283f
5
5
  SHA512:
6
- metadata.gz: 016cdbdf0b5db4532518fe195bef2be5f5d666427c8ce6094e641f5f95123128a94d2f3f82d874a44443c77dbfd6033bd6782c5fc30bb34074db9079767bcf1c
7
- data.tar.gz: 9f4ae269eb4fd6daadf390e808cde0c25f3a786650aa6e4781a515f4dd909a2ca51d3af9897cb71d0cd2cef477ecd3eefb42fee46a6e3288f793451a9e0d4b4c
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
@@ -1,3 +1,3 @@
1
1
  module Saml
2
- VERSION = "2.19.2"
2
+ VERSION = "2.19.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: libsaml
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.19.2
4
+ version: 2.19.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Benoist Claassen