Closed (fixed)
Project:
Encrypt
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
5 Jan 2015 at 01:35 UTC
Updated:
27 Mar 2015 at 01:34 UTC
Jump to comment: Most recent, Most recent file
Configuration data was added to $options so it would be available in an encryption method plugin's encryption callback function (see Make configuration available in the encryption callback function). This works OK, but it would be better if the data were made available as a separate argument.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | encrypt-pass-config-2401681-0.patch | 1000 bytes | rlhawk |
Comments
Comment #1
rlhawkThis patch undoes the change in issue #2371789 and adds $config as an argument to the callback function. Encryption method plugins can take advantage of its availability.
Comment #2
cellar door commentedSimple one-liner but allows encryption plugin's to know more about the scenario they are encrypting for (necessary if there are settings etc. that need to get passed in along with the configuration like key provider etc.
I've used it in testing an encryption plugin and it's working great. Moving to RTBC
Comment #4
rlhawkCommitted.