Closed salalex closed 2 years ago
Hi @salalex,
I tested the HC1: the string and the library correctly return "VALID".
Maybe you are missing some php modules required by COSE-lib. To verify the signature, the lib "Requires the GMP or bcmath extension.".
If you use a php image from docker, those modules are not installed by default.
You can use this command in DockerFile to install bcmath:
RUN docker-php-ext-install bcmath
You are right, the php-bcmath extension was not installed on my system. I installed it and now it works. Thank you!
Hello, I think I found an issue in v1.0.8: the same valid EU DCC certificate which in v1.0.7 passes the verification, in v1.0.8 results in certificateStatus = NOT_EU_DCC.
Here is the test code:
I'm using PHP v7.4.26: