【发布时间】:2014-06-12 09:29:45
【问题描述】:
我正在与一个客户合作,该客户构建了一个本地引擎来生成 SAML 断言。我们正在使用 ForumSentry 来验证断言,但摘要无法验证。我们已经有十几个其他客户向我们发送 SAML 断言,对于 Web SSO,非常好,而且我相信 ForumSys 有很多客户,对于 ForumSentry 也运行良好。
我花了很多时间试图准确地理解摘要的构成,并试图找到进入摘要算法的 XML 样本。我失败了,希望能得到一些帮助。
在我看来,唯一签名的数据是参考 URI,而不是断言的所有其他“参数”,例如主题、颁发者等。这是正确的/我不明白什么?这是什么背景?如果正确,如何保护其他数据不被篡改?
是否假设 Web SSO 必须通过 HTTPS 来保护整个断言的完整性?
哪些数据准确地构成了已签名的数据?有人可以发布一个示例,包括已签名数据的规范化前后的示例。
任何其他背景信息都会很棒。
【问题讨论】:
-
引用 SAML 技术概述
SAML defines a number of security mechanisms that prevent or detect such attacks. The primary mechanism is for the relying party and asserting party to have a pre-existing trust relationship, typically involving a Public Key Infrastructure (PKI). Where message integrity and message confidentiality are required, then HTTP over SSL 3.0 or TLS 1.0 is recommended. When a relying party requests an assertion from an asserting party then bi-lateral authentication is required and the use of SSL 3.0 or TLS 1.0 using server and client authentication are recommended.