DP-3T / dp3t-sdk-backend

The backend implementation for DP3T
Mozilla Public License 2.0
199 stars 87 forks source link

use p12 for signing certificate #299

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

SonarCloud Quality Gate failed.

Bug C 1 Bug
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 12 Code Smells

57.7% 57.7% Coverage
0.0% 0.0% Duplication