chiiya / passes

PHP library for creating iOS and Android Wallet Passes
MIT License
36 stars 16 forks source link

Improve openssl pkcs12 file compatibility #30

Open Jeroenwv opened 6 months ago

Jeroenwv commented 6 months ago

This pull requests implements a small change to the openssl command that is introduced in PR #19. In that PR a fallback was added to improve support on multiple environments.

In this PR a second command is added without the -legacy parameter, as this parameter is not available in all openssl versions. With this change both commands are tried and still fail silently if needed.

Jeroenwv commented 6 months ago

The failing linter is from previous commits and resolved in my other PR #29