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

Encrypted values not decrypting on read #432

Open
FinnThorwarth opened this issue Apr 10, 2024 · 0 comments
Open

Encrypted values not decrypting on read #432

FinnThorwarth opened this issue Apr 10, 2024 · 0 comments

Comments

@FinnThorwarth
Copy link

Hey,
my Model got encrypted fields like:

protected $casts = [
        'first_name' => 'encrypted',
        'last_name' => 'encrypted',
        'email' => 'encrypted',
        'phone' => 'encrypted',
        'address' => 'encrypted',
        'smartphone' => 'encrypted',
    ];

The old and the new value are stored correctly in the revisions. But its not decrypted on read.

Maybe there is a way to set a boolean value that the new and old value are encrypted and on read the values going to be decrypted.

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