uruk-project / Jwt

JSON Web Token implementation for .Net & .Net Core
MIT License
84 stars 13 forks source link

Force SHA256 as hash algorithm for EC key wrapping #582

Closed ycrumeyrolle closed 5 months ago

ycrumeyrolle commented 5 months ago

Force SHA256 as hash algorithm for EC key wrapping. As a result, the encryption algorithms that require a key greater than 32 bytes have now the remaining with zero-ed bytes