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.

CommentFileSizeAuthor
#4 light_saml_idp-3189369-2.patch2.58 KBralphvdhoudt
Command icon 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:

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

JohanKleene created an issue. See original summary.

JohanKleene’s picture

Issue summary: View changes
ralphvdhoudt’s picture

  • ralphvdhoudt authored aff8fce on 8.x-1.x
    Issue #3189369 by JohanKleene, ralphvdhoudt: Error when uploading wrong...
ralphvdhoudt’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.