[Bug] JWE header alg attribute with value http://www.w3.org/2001/04/xmlenc#rsa-oaep instead of RSA-OAEP #2089
Labels
Bug
Product is not functioning as expected
Compliance
Internal build requires changes
Customer reported
Indicates issue was opened by customer
P2
High, but not urgent. Needs to be addressed within the next couple of sprints
Milestone
Which version of Microsoft.IdentityModel are you using?
Microsoft.IdentityModel 6.30.1
Where is the issue?
Is this a new or an existing app?
The app is in production and next release requires interoperability with other apps written in different languages (ie: GoLang)
Repro
*SigningCredentials and EncryptingCredentials was created using a X509Certificate2 with public and private keys
Expected behavior
Algorithm (alg) should be one of the registered at IANA "JSON Web Signature and Encryption Algorithms" (https://www.iana.org/assignments/jose/jose.xhtml) as described on topic 4.1.1 of RFC7516 (https://datatracker.ietf.org/doc/html/rfc7516#page-12)
Actual behavior
Possible solution
Change the KeyWrapper providers to declare header alg complaint to IANA document
The text was updated successfully, but these errors were encountered: