Allow wrapping job data serialization #1007
Comments
There was once builtin functionality to, somewhat, encrypt the payload in the queue. That's why there's still a Send a PR that adds encryption in an opt-in kind of way. It would probably just be done at the bottom of the createPayload method. |
So that's the thing, I'd rather the implementation be more general than using Thanks for pointing that out though, I might do that... but that might take too long for the PR to get into a build I can use (I rather stick with 5.5 because it's LTS) 🤷♂️ |
Huh, did a quick blame, and it seems that |
I just realized something after doing some more digging on serialization in PHP. Apparently classes can implement the |
Description:
See:
https://github.com/laravel/framework/blob/5.6/src/Illuminate/Queue/Queue.php#L128
https://github.com/laravel/framework/blob/5.6/src/Illuminate/Queue/Queue.php#L175
https://github.com/laravel/framework/blob/5.6/src/Illuminate/Queue/CallQueuedHandler.php#L42
https://github.com/laravel/framework/blob/5.6/src/Illuminate/Queue/CallQueuedHandler.php#L146
Because my Redis instances are hosted on less-secure servers than my application boxes, I need to be able to encrypt all the sensitive data that might be put into Redis. Currently there's no clear or easy way to extend this functionality transparently. I want to be able to plug in my own transformations at these points so I can control the data.
Any suggestions for doing this that I'm missing, or am I basically forced to fork
Illuminate\Queue
to do this?The text was updated successfully, but these errors were encountered: