Download the PHP package wubinworks/module-encryption-key-manager-cli without Composer
On this page you can find all versions of the php package wubinworks/module-encryption-key-manager-cli. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download wubinworks/module-encryption-key-manager-cli
More information about wubinworks/module-encryption-key-manager-cli
Files in wubinworks/module-encryption-key-manager-cli
Package module-encryption-key-manager-cli
Short Description A utility for Magento 2 encryption key rotation and management. CVE-2024-34102(aka Cosmic Sting) victims can use it as an aftercare.
License OSL-3.0
Homepage https://www.wubinworks.com
Informations about the package module-encryption-key-manager-cli
Magento 2 Encryption Key Manager CLI
A utility for Magento 2 encryption key rotation and management. CVE-2024-34102(aka Cosmic Sting) victims can use it as an aftercare.
Designed for
- Development usage
- Deployment automation
- CVE-2024-34102(aka Cosmic Sting) aftercare
CVE-2024-34102(aka Cosmic Sting)
After applying security patches, you need to perform a key rotation to completely deny the attacker's Admin level WebAPI access.
If you cannot upgrade or apply the official isolated patch, see Our Patches.
If the official encryption key rotation command php bin/magento encryption:key:change
is not available, you can use this extension and this extension has more features as a "Key Manager".
Usage
This extension offers 3 commands.
- Generate new encryption key(for development/scripting purpose)
Example:
- List all/newest encryption keys
Tip: you can use ekm
shorthand for encryption-key-manager
.
Example:
- Encryption key rotation (most important)
Tip: if -k|--key
is not provided, a random generated key will be used.
Example:
New Encryption Key Format
Starting from version 2.4.7, encryption key format is changed from hex
to base64
.
New format example(note it has a base64
prefix):
By default, php bin/magento ww:encryption-key-manager:genkey
generates a key that is compatible with your current Magento version.
But you can force the format(for development purpose)
More details of the key generation process are in this blog post.
Requirements
Magento 2.4
Installation
composer require wubinworks/module-encryption-key-manager-cli
♥
If you like this extension please star this repository.