Skip to content

Conversation

convenient
Copy link
Contributor

@convenient convenient commented Jul 25, 2024

Gene\EncryptionKeyManager\Service\ReencryptEnvSystemConfigurationValues::iterateSystemConfig(): Argument #1 ($systemConfig) must be of type array, null given, called in app/code/Gene/EncryptionKeyManager/Service/ReencryptEnvSystemConfigurationValues.php on line 49

#40

Ensure we only ever handle situations where the system config is provided.

Before fix

$ php bin/magento gene:enc:generate --force --skip-saved-credit-cards
A new key will be generated for re-encryption, use "--key" to specify a custom key.
The system currently has 25 keys
Generating a new encryption key using the magento core class
_reEncryptSystemConfigurationValues - start
_reEncryptSystemConfigurationValues - end
_reEncryptCreditCardNumbers - skipping
reEncryptEnvConfigurationValues - start
Gene\EncryptionKeyManager\Service\ReencryptEnvSystemConfigurationValues::iterateSystemConfig(): Argument #1 ($systemConfig) must be of type array, null given, called in /var/www/html/module-encryption-key-manager/Service/ReencryptEnvSystemConfigurationValues.php on line 49

After fix

$ php bin/magento gene:enc:generate --force --skip-saved-credit-cards
A new key will be generated for re-encryption, use "--key" to specify a custom key.
The system currently has 26 keys
Generating a new encryption key using the magento core class
_reEncryptSystemConfigurationValues - start
_reEncryptSystemConfigurationValues - end
_reEncryptCreditCardNumbers - skipping
reEncryptEnvConfigurationValues - start
reEncryptEnvConfigurationValues - end
Cleaning cache
Done

@convenient convenient merged commit 938f04f into master Jul 25, 2024
1 check passed
@convenient convenient deleted the fix-40 branch July 25, 2024 10:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant