Problem/Motivation
When settings form for service provider (SP) has wrong certificate data and is submitted, an exception occurs without being caught.
LightSaml\Error\LightSamlSecurityException: Unrecognized signature algorithm in LightSaml\Credential\X509Certificate->parse() (line 160 of /vendor/lightsaml/lightsaml/src/LightSaml/Credential/X509Certificate.php).
Steps to reproduce
Edit correct credentials with some nonsense data and submit form.
Proposed resolution
Add validation to form that inserts certificates.
Remaining tasks
Provide a better validator.
User interface changes
Form validation.
Comments
Comment #3
johankleene commentedComment #4
ralphvdhoudt commentedComment #6
ralphvdhoudt commented