-
Notifications
You must be signed in to change notification settings - Fork 435
Closed
Labels
BugProduct is not functioning as expectedProduct is not functioning as expectedCustomer reportedIndicates issue was opened by customerIndicates issue was opened by customerIdentityModel8xFuture breaking issues/features for IdentityModel 8xFuture breaking issues/features for IdentityModel 8xP1More important, prioritize highlyMore important, prioritize highly
Milestone
Description
Hello,
I believe there's an error in the implementation.
Lines 982 to 986 in 59ec62e
// on decryption we get the public key from the EPK value see: https://datatracker.ietf.org/doc/html/rfc7518#appendix-C | |
var ecdhKeyExchangeProvider = new EcdhKeyExchangeProvider( | |
key as ECDsaSecurityKey, | |
validationParameters.TokenDecryptionKey as ECDsaSecurityKey, | |
jwtToken.Alg, |
The second argument of EcdhKeyExchangeProvider
should be the public key taken from the epk
in the token's header (as the comment said).
GregDomzalski
Metadata
Metadata
Assignees
Labels
BugProduct is not functioning as expectedProduct is not functioning as expectedCustomer reportedIndicates issue was opened by customerIndicates issue was opened by customerIdentityModel8xFuture breaking issues/features for IdentityModel 8xFuture breaking issues/features for IdentityModel 8xP1More important, prioritize highlyMore important, prioritize highly