saml2 3.2.2 → 3.2.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/lib/saml2/bindings/http_redirect.rb +2 -1
- data/lib/saml2/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0cc92864a26047c46a21c7294ece5009a8df5edbcc79694167b5dfe569a63530
|
4
|
+
data.tar.gz: c411ec995c1a0a02454821e0f1ea8e0ace5ee0488f0db6394f39ffc3376c5c7e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 04770f4380d3cde93e2169e58923b051e2e70ed08e77c45b000d03ce7d398a28aa958f7e5ca109863a13f8fba1b0724e6679e6a82231509e5931e832890128d5
|
7
|
+
data.tar.gz: 6a80a9275d319b7bf14fa3fd356500cf5a6d14df94263509a3f1a590d77870dff24eed65584991c0da68012576150eb8d1712c736e1742f12fa8ef0037d304f0
|
@@ -131,7 +131,7 @@ module SAML2
|
|
131
131
|
# @param message [Message]
|
132
132
|
# Note that the base URI is taken from {Message#destination}.
|
133
133
|
# @param relay_state optional [String]
|
134
|
-
# @param private_key optional [OpenSSL::PKey::RSA]
|
134
|
+
# @param private_key optional [OpenSSL::PKey::RSA, String]
|
135
135
|
# A key to use to sign the encoded message.
|
136
136
|
# @param sig_alg optional [String]
|
137
137
|
# The signing algorithm to use. Defaults to RSA-SHA1, as it's the
|
@@ -164,6 +164,7 @@ module SAML2
|
|
164
164
|
raise ArgumentError,
|
165
165
|
"Unsupported signature algorithm #{sig_alg}"
|
166
166
|
end
|
167
|
+
private_key = OpenSSL::PKey.read(private_key) if private_key.is_a?(String)
|
167
168
|
|
168
169
|
query << ["SigAlg", sig_alg]
|
169
170
|
base_string = URI.encode_www_form(query)
|
data/lib/saml2/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: saml2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.2.
|
4
|
+
version: 3.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Cody Cutrer
|
8
8
|
bindir: exe
|
9
9
|
cert_chain: []
|
10
|
-
date: 2025-07-
|
10
|
+
date: 2025-07-16 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: activesupport
|