Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue decrypting jobs that implement the ShouldBeEncrypted contract. #575

Open
scotchdesign opened this issue Dec 29, 2024 · 0 comments
Open

Comments

@scotchdesign
Copy link

I had no issues with v3.

Since upgrading to v4 I noticed that jobs that implement the ShouldBeEncrypted contract now fail, throwing an error when being processed:
unserialize() error at offset 0 of XX bytes

Digging deeper, I can trace this back to Spatie's IsTenantAware function. It appears the payload is still encrypted when IsTenantAware tries to unserialize it, so the unserialize fails (throwing the error above).

Again, wasn't an issue with v3, is an issue with v4, and haven't had a chance to dig deeper into what has changed in your codebase between the versions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant