AzureAD / azure-activedirectory-identitymodel-extensions-for-dotnet

IdentityModel extensions for .Net
MIT License
1.05k stars 396 forks source link

JsonWebKeyECTypes.P512 doesn't correspond to a standardized named curve #486

Closed kevinchalet closed 7 years ago

kevinchalet commented 8 years ago

P512 is likely a typo, as there's no such curve in the DSS spec: http://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.186-4.pdf

Instead, it should be named P521 and the constant value should be P-521. Since the existing values are invalid, I'd recommend removing them in the next version.

https://tools.ietf.org/html/rfc7518#section-6.2.1.1

/cc @brentschmaltz @polita

polita commented 7 years ago

Fixed.