Skip to content

Conversation

@RicoFactset
Copy link

@RicoFactset RicoFactset commented Feb 11, 2021

  • Fixed the determination of the entity class name (for proxied classes) used as key in $cachedDecryptions
    Before the fix, entities were sometimes decrypted and encrypted several times in certain situations, even though only read operations took place. This led to unnecessary write operations and thus to incorrect date changes (last_changed) if such an attribute exists in the data model.

  • Changed coding in some places to follow best practices

  • Removed unnecessary !is_null() check where !empty() was in use too

  • Replaced -5 with -strlen(self::ENCRYPTION_MARKER)

…es) used as key in $cachedDecryptions

- Update coding to follow best practices
- Removed unnecessary !is_null check where !empty() is in use
- Replaced -5 with -strlen(self::ENCRYPTION_MARKER)
…es) used as key in $cachedDecryptions

- Update coding to follow best practices
- Removed unnecessary !is_null check where !empty() is in use
- Replaced -5 with -strlen(self::ENCRYPTION_MARKER)
…es) used as key in $cachedDecryptions

- Update coding to follow best practices
- Removed unnecessary !is_null check where !empty() is in use
- Replaced -5 with -strlen(self::ENCRYPTION_MARKER)
@r3hp1c
Copy link

r3hp1c commented Jul 17, 2023

@RicoFactset RicoFactset closed this by deleting the head repository Apr 16, 2024
Zombaya added a commit to integr8rs/DoctrineEncryptBundle that referenced this pull request Jan 26, 2025
Remove unused private property `SecretFactory::$fs`
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

Successfully merging this pull request may close these issues.

2 participants