Changed the title "Préparation pour Vendée" to "Préparation à partir d'un certificat d'horodatage au format pkcs12" for better clarity and specificity. This update helps users understand the section's purpose more easily.
The 'TIMESTAMP_URL' environment variable check was removed from the worker script as it is no longer required. This simplifies the code by eliminating unnecessary validation.
Included 'TSA_CONFIG_PATH', 'TSA_CERT_CHAIN', and 'TSA_KEY_PASSWORD' to the environment variable check in worker.py. This ensures the script validates these new required configurations before proceeding. Added an exception raise in the error handling block for better error management.
This change adds the openssl CLI to the Dockerfile to ensure necessary cryptographic functionalities are available. It helps in maintaining secure communications and other operations that depend on openssl.
Replaced HTTPTimeStamper with LocalOpensslTimestamp for TSA operations using a local OpenSSL CLI. Updated related configurations and dependencies to support this change, enhancing the timestamping process's reliability and security.
Introduce a .gitignore to exclude local environment files. Provide a sample local.env.dist for configuration templates. This helps in maintaining environment-specific settings securely and consistently.
This commit introduces a new GitHub Actions workflow used to build and push Docker images upon every push. This workflow uses Docker Buildx and automatically logs into the specified registry with stored credentials.
This commit refreshes the HMAC signature in the .drone.yml file. The change ensures that the integrity validation reflects the current state of the configuration.
The 'signatureZoneIndex' field is now included in the message body published to the outbound exchange. This change ensures that all necessary information is transmitted.
Deleted import of the 'io' module from worker.py as it was not being used. This helps clean up the code and potentially reduce memory usage. Cleaning up unused imports also makes the codebase more maintainable.
Adjusted the calculation of the signature box's bottom boundary to subtract the height instead of adding it. This change ensures that the signature is placed correctly within the designated zone on the PDF.