Use AJAX to automatically show the key/certificate info

Created on 8 December 2024, 15 days ago

Problem/Motivation

The current form requires the user to paste the key into the form and then click "info" to submit the form, trigger a form error, and show the key info as a message.

Steps to reproduce

  • Go to admin/config/system/keys/add
  • Select Key Type "Public key/certificate"
  • Add a PEM-encoded key in the "Key value" field
  • Click "info" to get the key data.

      Proposed resolution

      Add some #ajax code to automatically pull the key/certificate information "on blur" of the Key value field, if possible. (The way the form is created may make this difficult.)

      User interface changes

      • Remove the info button
      • Add an element that shows the key/certificate info
      • Update the key/certificate info when focus is removed from the Key value field
✨ Feature request
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States John Franklin

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024