Commit Graph

24 Commits

Author SHA1 Message Date
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
8c5950b37f Merge pull request 'Allow the signature_index to be None' (#3) from test-ts-sign into main
All checks were successful
Build image and push it to registry / build (push) Successful in 1m40s
Reviewed-on: #3
2024-10-16 07:13:38 +00: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
df2a8d554f Merge pull request 'Create a dedicated timestamper which use the openssl cli and custom certificates' (#2) from test-ts-sign into main
All checks were successful
Build image and push it to registry / build (push) Successful in 1m42s
Reviewed-on: #2
2024-10-11 14:19:51 +00: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
9f085484f7
write readme to generate timestamps 2024-10-11 12:43:25 +02:00
958c96193e
Add .gitignore and example local.env.dist
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.
2024-10-11 09:05:46 +02:00
7c84464d13
remove the unused drone file 2024-10-11 09:04:38 +02:00
536115b105 build worker less frequently
All checks were successful
Build image and push it to registry / build (push) Successful in 1m13s
2024-09-05 15:24:48 +00:00
2e6d3794bd Merge pull request 'Add new workflow for building Docker image' (#1) from setup-gitea-actions into main
All checks were successful
Build image and push it to registry / build (push) Successful in 1m17s
Reviewed-on: #1
2024-09-04 13:45:30 +00:00
c1a7957b64
Add new workflow for building Docker image
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.
2024-09-04 15:44:39 +02:00
22c5191f43
Update HMAC signature in .drone.yml
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.
2024-09-04 15:21:40 +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
ef47e2c1fd
fix drone process 2024-06-27 13:26:02 +02:00
dc3cbad26b
add drone signature 2024-06-27 12:28:19 +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