Undefined index issues and incomplete settings

Created on 30 October 2014, over 10 years ago
Updated 7 December 2023, about 1 year ago

Hi there,

I set everything up according to the instructions and although everything validates with the key and Townsend settings on save, when I actually go to encrypt something with encrypt() (and decrypt), I get a bunch of undefined index errors.

Through trial and error, I realized that the following snippet in townsec_key_encryption_method_aes() isn't returning the settings that it should.

$provider = encrypt_get_key_provider('townsec_akm');

Although it does return an array with settings, none of the ones you call for below that point are in there. If I manually set the array keys with the settings I set in the module settings, it works fine. So I'm thinking that something must have changed in the way that ctools is returning the array to the Encrypt module.

Heads up!

πŸ› Bug report
Status

Closed: won't fix

Version

1.1

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States caseyc

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