certifaction / hinsign-cli

4 stars 1 forks source link

Invalid ePrescription QR code content in 1.7.0 #19

Closed michael-baumann-ch closed 1 day ago

michael-baumann-ch commented 1 day ago

We are successfully using the CLI version 1.6.5 downloaded from dockerhub (certifaction/server). The QR code is generated using the parameter 'output-format=data". After upgrading to 1.7.0 on dockerhub, the code returned by 'ePrescription/create' misses the URL prefix, only the CHMED16 and the signature is returned.

v1.6.5: https://eprescription.hin.ch/#CHMED16A1H4ssIAAAA...zLfbdojbzj4y8tzloh3dokgQAAA==&q07IEg...7edd3601

v1.7.0: /#CHMED16A1H4ssIAAAA...zLfbdojbzj4y8tzloh3dokgQAAA==&q07IEg...7edd3601

Do we have to provide a new environment configuration parameter when starting the CLI, or is this a bug in 1.7.0?

stephalba commented 1 day ago

Hi Michael

This is a known bug and will be fixed in the next version.

Best regards Stephan

michael-baumann-ch commented 1 day ago

Hi Stehpan, thank you for the swift response!