mirror of
https://github.com/langgenius/dify-plugin-daemon.git
synced 2026-07-23 10:15:22 -04:00
b85253f773
* feat(plugin): implement unauthorized Langgenius plugin blocking - Added configuration option to disable installation of plugins falsely claiming Langgenius authorship. - Introduced new error handling for unauthorized Langgenius claims during plugin installation. - Implemented tests to validate unauthorized Langgenius detection logic. - Updated environment configuration and service files to support the new feature. * fix: typo * refactor(plugin): update Langgenius plugin signature enforcement - Renamed configuration option from DISABLE_UNAUTHORIZED_LANGGENIUS_PACKAGE to ENFORCE_LANGGENIUS_PLUGIN_SIGNATURES for clarity. - Updated error messages and logic in the plugin installation process to reflect the new configuration. - Enhanced tests to validate the behavior of unauthorized Langgenius plugin detection with the new enforcement setting.