-
Notifications
You must be signed in to change notification settings - Fork 141
Open
Description
Problem:
Our IDP is forcing us to switch to the following signing method,
but this method is not supported by the current goxmldsig library (Release v1.5.0):
The error message we saw was the following:
Unknown signature method: http://www.w3.org/2007/05/xmldsig-more#sha256-rsa-MGF1
Hackaround:
We were able to get a working version that works in our case (simple login)
by adding these two lines of code in the xml_constants.go:
At line 49 add the signature method:
SHA256RSAMGF1SignatureMethod = "http://www.w3.org/2007/05/xmldsig-more#sha256-rsa-MGF1"
At line 120 link the signature algorithm to the signature method:
SHA256RSAMGF1SignatureMethod: x509.SHA256WithRSAPSS,
Probably there are a hundred more places that need to be changed for a full PR,
but I thought I'll leave that snippet here in case someone runs into the same issue.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels