fusionauth-issues
fusionauth-issues copied to clipboard
[Bug]: Key PEM format not validated without `key.algorithm`
What happened?
- Use
/api/key/importto import a key - Only specify
key.typeandkey.publicKeyon the request where the public key PEM is for a different key type (e.g.key.typeisRSAbut the PEM is for an EC key) - The API request succeeds, but the key cannot be used
Version
1.61.2
Affects Versions
No response
Alternatives / Workarounds
No response