keboola/object-encryptor
Keboola Object Encryptor is a PHP library for encrypting and decrypting arbitrary PHP data such as arrays and objects. It wraps OpenSSL-backed encryption with configurable key handling, helping Laravel and standalone PHP applications protect sensitive data at rest with minimal integration effort.
keboola/object-encryptor is a PHP crypto utility for encrypting/decrypting serialized values; Laravel applications can consume it via Composer as a library dependency. Release 2.14.2 hardens cipher decoding by calling unserialize() with ['allowed_classes' => false], which prevents attacker-controlled ciphertext from instantiating arbitrary PHP classes during decryption. This is a security-positive change and aligns with secure-by-default deserialization.__PHP_Incomplete_Class, causing type errors downstream. If the application encrypts only strings, arrays, scalars, or JSON-encoded values, impact is negligible. The security benefit is meaningful where encrypted payloads are stored in databases, queues, cookies, or other semi-trusted channels.2.14.2, update the lockfile, run the application test suite, and deploy. No re-encryption or key rotation is required. If object payloads are found, migrate those payloads to arrays/scalars or explicitly validate decode behavior before rollout; do not re-enable class instantiation via allowed_classes.>=2.14.2 across services. If multiple services share encrypted data, update decrypting services before or alongside encrypting services, though no format coordination is required.2.14.2 and include it in routine dependency patching.__PHP_Incomplete_Class failures from unrelated decryption incidents.allowed_classes option is a decode-time hardening flag and does not change ciphertext size or encryption cost.How can I help you explore Laravel packages today?