Point users to docs when no encryption method is installed

Created on 9 July 2018, almost 7 years ago
Updated 7 July 2024, 10 months ago

Instead of providing a default encryption method, let's update the description on the form when no encryption method is present to make sure the user is pointed to the docs (which I've recently migrated to the d8 handbook here: https://www.drupal.org/docs/8/modules/encrypt β†’ ).

The way I've got in the patch will update the description. The other method I toyed with is replacing the select element entirely with just a markup that has the explanation.

2 things to consider:

1. Right now encryption method isn't a required field, should we require this so the form errors if nothing is selected?
2. Should we do the same for the keys, explaining how to create secure keys (mentioned in the issue here: https://www.drupal.org/project/encrypt/issues/2863424 β†’ )

Patch incoming

πŸ› Bug report
Status

Needs review

Version

3.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States Cellar Door

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

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024