DP-3T / dp3t-sdk-backend

The backend implementation for DP3T
Mozilla Public License 2.0
198 stars 88 forks source link

use p12 for signing certificate #300

Closed ubamrein closed 3 years ago

ubamrein commented 3 years ago

Change the CryptoProvider to use a base64 encoded P12 and a corresponding password to load the signing certificate and signing private key. This unifies the EfgsGatewayConfig so that both key pairs use a p12 container to store private and public material.

During this the configuration properties of the EfgsGatewayConfig changed, so care has to be taken during update.

Also missing tests for the CryptoProvider were added.

sonarcloud[bot] commented 3 years ago

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 13 Code Smells

58.5% 58.5% Coverage
0.0% 0.0% Duplication