Commit Graph

15 Commits

Author SHA1 Message Date
c7a6283e00
Add timezone configuration to Dockerfile
All checks were successful
Build image and push it to registry / build (push) Successful in 1m59s
Included tzdata package and set the timezone to Europe/Paris by creating a symbolic link in /etc/localtime. This ensures the container runs with the correct timezone settings.
2024-11-06 14:46:45 +01:00
0e7d01f0fd
Fix environment password encoding in SignOrchestrator init
All checks were successful
Build image and push it to registry / build (push) Successful in 6m47s
Previously, the `PKCS12_PASSWORD` environment variable was used directly, which could lead to issues when it was not set. This change ensures the password is properly encoded when provided and defaults to `None` if not set.
2024-10-22 16:37:49 +02:00
97a2385167
Remove redundant 'TIMESTAMP_URL' environment variable check
All checks were successful
Build image and push it to registry / build (push) Successful in 1m27s
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.
2024-10-22 12:07:08 +02:00
77aaf97d7b
Add new TSA configuration environment variables
All checks were successful
Build image and push it to registry / build (push) Successful in 1m1s
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.
2024-10-21 18:53:52 +02:00
dd8c30787a
fix imports
All checks were successful
Build image and push it to registry / build (push) Successful in 1m48s
2024-10-21 18:28:20 +02:00
34857ae4b0
Allow the signature_index to be None
When the signature_index is not set, the name's sinature zone is generated from a random int.
2024-10-15 07:47:58 +02:00
89cb05fce1
Add openssl to Dockerfile
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.
2024-10-11 16:19:32 +02:00
3716c3ce78
create a new script dedicated for signing for vendee certificates 2024-10-11 16:13:34 +02:00
c8042a6f84
Integrate local OpenSSL TSA for timestamping
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.
2024-10-11 16:13:34 +02:00
300b6f46f1
Add signatureZoneIndex to published message
The 'signatureZoneIndex' field is now included in the message body published to the outbound exchange. This change ensures that all necessary information is transmitted.
2024-09-03 14:34:05 +02:00
ed81eb749c
Remove unused import in worker.py
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.
2024-09-03 14:33:53 +02:00
41ba98ee91
Fix signature box placement calculation
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.
2024-09-03 14:33:45 +02:00
04c4709c84
configure for building worker within a docker image 2024-06-27 12:26:23 +02:00
75ac2587a0
idea configuration for worker 2024-06-27 09:51:46 +02:00
ef32d5d91c
First commit: create mvp project
- create an orchestrator to orchestrate signature of pdf;
- create a worker to get request from amqp and resend it to amqp
2024-06-27 09:51:32 +02:00