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

Different digest value's #86

Closed
Ruthenz opened this issue Apr 21, 2015 · 1 comment
Closed

Different digest value's #86

Ruthenz opened this issue Apr 21, 2015 · 1 comment

Comments

@Ruthenz
Copy link

Ruthenz commented Apr 21, 2015

I'm trying to authenticate using ADFS and I just hit a problem which I don't really get and thought maybe I could get some help.
So after the the response from IdP comes back I can see it has CipherValue so I debugged and saw that the passport-saml decrypts it.
The problem is that while it decrypts it, it throws an exception at signed-xml.js row 291, when it tries to compare between the digest that it calculated and the digest that was recieved.
Any idea why is this happening?

Thanks in advance!

@ploer
Copy link
Contributor

ploer commented Apr 21, 2015

Hmm, perhaps there is a cannonicalization issue?

You might take a look at issue #82 and see if your symptoms look similar.

To debug this, you might try looking around and see if you can find some other tool that will calculate a digest on your document, to compare that to the one that xml-crypto is generating...

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

2 participants