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.
Comment | File | Size | Author |
---|---|---|---|
#4 | light_saml_idp-3189369-2.patch | 2.58 KB | ralphvdhoudt |
Issue fork light_saml_idp-3189369
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
JohanKleene CreditAttribution: JohanKleene commentedComment #4
ralphvdhoudt CreditAttribution: ralphvdhoudt at iO commentedComment #6
ralphvdhoudt CreditAttribution: ralphvdhoudt at iO commented