PayU-EMEA / apple-pay

This library is used to decode tokens for Apple Pay.
48 stars 31 forks source link

Failed OpenSSL Decoding Exception in Ubuntu 20.04 with Docker, Devilbox, and DigitalOcean #32

Open JeanCarlosDev17 opened 7 months ago

JeanCarlosDev17 commented 7 months ago

Hello,

I have been testing your implementation on Ubuntu 20.04, using Docker with Devilbox and DigitalOcean. Despite having OpenSSL installed, I am encountering the following exception: “Decoding failed: Openssl command failed. Is OpenSsl installed?”

I am unsure if this issue is related to temporary file problems, execution permissions, or something else. Any guidance on how to resolve this would be greatly appreciated.

Thank you for your time and assistance.

dump in extractCertificates PKCS7SignatureValidator array:1 [ // vendor/payu/apple-pay/src/ApplePay/Decoding/PKCS7SignatureValidator.php:134 0 => "-rw------- 1 devilbox devilbox 73 Dec 2 14:59 /tmp/phpFLKgj8" ] openssl version OpenSSL 1.1.1w 11 Sep 2023 (Library: OpenSSL 1.1.1n 15 Mar 2022)