Cannot encrypt select list fields

Created on 8 May 2017, almost 8 years ago
Updated 12 March 2025, about 1 month ago

There is no possibility to use encryption settings in list fields. The 'Encrypt this field' checkbox does not appears.

I think the problem is in the module file, line 68:

  // Check that there are encryptable columns on this field as Indexes can not
  // be encrypted.
  if (array_keys($field_info['columns']) == array_keys($field_info['indexes'])) {
    return;
  }

For a list field, the 'indexes' and 'columns' contains the same 'value' field.

I would like to understand why indexes cannot be encrypted? Is there any workaround to this problem?

Thanks

🐛 Bug report
Status

Closed: outdated

Component

Code

Created by

🇮🇪Ireland ccarrascal

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

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