Skip to content

Commit b9a6748

Browse files
committed
Refactor WebhookSignatureValidation for improved signature validation and certificate management
- Enhanced the validate method to streamline error handling and improve readability. - Introduced separate methods to determine the appropriate certificate based on the current date and environment. - Updated logic for determining the filename of the certificate to accommodate future certificates. - Improved exception handling for loading keys and verifying signatures.
1 parent 61a8ebe commit b9a6748

3 files changed

Lines changed: 488 additions & 434 deletions

File tree

composer.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@
4747
},
4848
"require-dev": {
4949
"squizlabs/php_codesniffer": "^3.10",
50-
"magento/magento-coding-standard": "^31.0",
5150
"phpunit/phpunit": "^12",
5251
"phpspec/prophecy": "~1.0",
5352
"vlucas/phpdotenv": "^5.6",

0 commit comments

Comments
 (0)