You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When switching from Symmetric to Asymmetric signing we ran into a problem that our public key that we first created could not be used by FastEndpoints since it only supports RSA public keys (so PKCS1 I think), meaning keys that starts with:
-----BEGIN RSA PUBLIC KEY-----
We created a PEM key (PKCS8) that have this header:
-----BEGIN PUBLIC KEY-----
Since then we have solved it and was able to convert the key to PKCS1, using this if anyone else finds this issue searching for a solution:
Hi,
When switching from Symmetric to Asymmetric signing we ran into a problem that our public key that we first created could not be used by FastEndpoints since it only supports RSA public keys (so PKCS1 I think), meaning keys that starts with:
We created a PEM key (PKCS8) that have this header:
Since then we have solved it and was able to convert the key to PKCS1, using this if anyone else finds this issue searching for a solution:
It is posible to import a PEM key using the RSA class like this:
So adding an option for specifying the key type would be great, I could look into it if you feel like this is something that would fit for FE.
Otherwise just adding some more information to the documentation about what type of key that is required would be good.
The text was updated successfully, but these errors were encountered: