Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SignatureMethod and DigestMethod #461

Open
lostvicking opened this issue Dec 10, 2021 · 0 comments
Open

SignatureMethod and DigestMethod #461

lostvicking opened this issue Dec 10, 2021 · 0 comments

Comments

@lostvicking
Copy link

Thanks for very useful library! I am using it as an SP and have a Signature Validation issue where the destination IDP is not able to verify the signature I generate because they use

<ds:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"/>
<ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>

From what I understand in samlify the DigestMethod is picked based on what is set for the SignatureMethod -- I can see that when constructSAMLSignature is called in libsaml.ts the digest method is determined by getDigestMethod(signatureAlgorithm). I would like to be able to configure the library to use "rsa-sha256" for the SignatureMethod and "sha1" for the DigestMethod -- is this possible?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant