From dbf78653b4e8297db26283b346ea8e3f5e4fa62c Mon Sep 17 00:00:00 2001 From: TekH Date: Wed, 5 Aug 2026 15:33:38 +0200 Subject: [PATCH] Refactor project structure and improve security - Updated `.gitignore` to exclude `FodyWeavers.xsd`. - Added or modified `/EnvelopeGenerator.Server/tekh_softHSM_test.md`. - Added or modified `/EnvelopeGenerator.Server/publish-output`. - Added or modified `/legacy/App`. - Moved `appsettings.Secrets.json` to `/src/presentation/`. - Removed sensitive configuration data from `appsettings.Secrets.json`, including RabbitMQ credentials and email account settings. - Improved security by removing hardcoded secrets and restructuring configuration files. --- .gitignore | 2 ++ .../appsettings.Secrets.json | 32 ------------------- 2 files changed, 2 insertions(+), 32 deletions(-) delete mode 100644 src/presentation/DigitalData.MessagingService.API/appsettings.Secrets.json diff --git a/.gitignore b/.gitignore index 0266a2c..29d62c1 100644 --- a/.gitignore +++ b/.gitignore @@ -371,3 +371,5 @@ FodyWeavers.xsd /EnvelopeGenerator.Server/EnvelopeGenerator.Server/tekh_softHSM_test.md /legacy/App /src/DigitalData.MessagingService.API/appsettings.Secrets.json +/src/presentation/DigitalData.MessagingService.API/appsettings.Secrets.json +/src/presentation/DigitalData.MessagingService.API/appsettings.Secrets.json diff --git a/src/presentation/DigitalData.MessagingService.API/appsettings.Secrets.json b/src/presentation/DigitalData.MessagingService.API/appsettings.Secrets.json deleted file mode 100644 index 9f3529d..0000000 --- a/src/presentation/DigitalData.MessagingService.API/appsettings.Secrets.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "AllowedHosts": "*", - "RabbitMQ": { - "HostName": "172.24.12.56", - "Port": 5672, - "UserName": "admin", - "Password": "fl!'D}4;pYBb\\VD&{6]]G*\\0Bq8fVIn0j?Sgm\\2A,6GS47g5Dj", - "VirtualHost": "/", - "AutomaticRecoveryEnabled": true, - "NetworkRecoveryIntervalSeconds": 10, - "QueueName": "emailprofiler.email.outbox", - "ExchangeName": "emailprofiler.emails", - "RoutingKey": "email.outbox", - "DlqQueueName": "emailprofiler.email.outbox.dlq", - "DlqExchangeName": "emailprofiler.emails.dlq", - "DlqRoutingKey": "email.outbox.dlq" - }, - "EmailAccounts": { - "Accounts": [ - { - "Id": "1", - "Username": "test-flow@digitaldata.works", - "Password": "ddemail108", - "PasswordEncrypted": false, - "SmtpServer": "kundencenter.triplew.de", - "SmtpPort": 465, - "SmtpUseSsl": true, - "UseOAuth2": false - } - ] - } -}