config: add name and email for RSA key generation

This commit is contained in:
admin 2026-04-08 14:35:16 +02:00
parent 24c895abd7
commit 0a7cf96211
2 changed files with 5 additions and 0 deletions

View File

@ -9,3 +9,6 @@ certificates:
crypto:
keys_path: ./keys/
# Name and email for RSA key generation (if keys don't exist)
name: "VeriFactu API"
email: "admin@byolivia.work"

View File

@ -28,6 +28,8 @@ type CertificateConfig struct {
type CryptoConfig struct {
KeysPath string `yaml:"keys_path"`
Name string `yaml:"name"`
Email string `yaml:"email"`
}
func Load(path string) (*Config, error) {