GDW Decrypt System Field for Magento 2
gdw/decryptsystemfield
Adds two CLI commands to decrypt and reveal encrypted Magento 2 configuration values — one for decrypting a stored system.xml field by config path and store, and one for decrypting any encrypted string passed directly on the console.
Build Tests
Code Quality
Tested on Magento 2.4.9
Recent Test History
Each release is tested against the latest Magento version at that time.
Top Contributors
View LeaderboardShare This Module's Status
README
Loaded from GitHubGDW DecryptSystemField para Magento 2
Permite obtener el valor real de un campo encriptado. Se agregan 2 nuevos comandos: 1.- Permite desencriptar un valor guardado en system.xml 2.- Permite desencriptar un string agregado directamente en consola.
Compatibilidad
- Rama 4.4.x: Magento 2.4.4+ con PHP 8.1+
- Rama 4.x: Magento 2.4.0 a 2.4.3 con PHP 7.4
- Rama 3.x: Magento 2.3.x con PHP 7.4
Ejecuta los siguientes comandos en la ruta base de Magento.
Instalación
composer require gdw/decryptsystemfield
php bin/magento module:enable GDW_DecryptSystemField
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy
php bin/magento cache:flush
Actualización
composer update gdw/decryptsystemfield
php bin/magento module:enable GDW_DecryptSystemField
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy
php bin/magento cache:flush
Eliminación
php bin/magento module:disable GDW_DecryptSystemField
composer remove gdw/decryptsystemfield
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy
php bin/magento cache:flush
Uso
Comando:
php bin/magento gdw:decrypt:field --path={path/to_field/system} --store_id={store_id}
Información:
--path: Es requerido.
--store_id: Es opcional, se puede obtener el valor dependiendo de la vista de tienda.
Comando:
php bin/magento gdw:decrypt:value --value={data_encrypted}
Información:
--value: Es requerido.
Nota Ninguno de los 2 comandos valida si la información proporcionada por el usuario está encriptada realmente; simplemente hace el proceso de desencriptación y muestra el resultado.
Expresiones de Gratitud
- 📢 Comenta a otros sobre este proyecto.
- 👨🏽💻 Da las gracias públicamente.
- 🍺 Invítame una cerveza
Otros enlaces
Tags
- Magento 2 tools
- Magento 2 decrypt data
- Magento 2 inspect data
- Magento 2 encrypt data
- Magento 2 decrypt field
- Magento 2 decrypt system field
Documentación
Changelog
Consulta el changelog del módulo en:
This content is fetched directly from the module's GitHub repository. We are not the authors of this content and take no responsibility for its accuracy, completeness, or any consequences arising from its use.