From 920c4f02c54a3b3905dd175d2f8ae1fb6ae12e88 Mon Sep 17 00:00:00 2001 From: Herman Slatman Date: Mon, 7 Nov 2022 22:34:21 +0100 Subject: [PATCH] Add additional properties to provisioner converters --- authority/provisioners.go | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/authority/provisioners.go b/authority/provisioners.go index bfa4eae5..4220b07d 100644 --- a/authority/provisioners.go +++ b/authority/provisioners.go @@ -861,6 +861,9 @@ func ProvisionerToCertificates(p *linkedca.Provisioner) (provisioner.Interface, Type: p.Type.String(), Name: p.Name, ForceCN: cfg.ForceCn, + TermsOfService: cfg.TermsOfService, + Website: cfg.Website, + CaaIdentities: cfg.CaaIdentities, RequireEAB: cfg.RequireEab, Challenges: challengesToCertificates(cfg.Challenges), AttestationFormats: attestationFormatsToCertificates(cfg.AttestationFormats), @@ -1119,6 +1122,10 @@ func ProvisionerToLinkedca(p provisioner.Interface) (*linkedca.Provisioner, erro Data: &linkedca.ProvisionerDetails_ACME{ ACME: &linkedca.ACMEProvisioner{ ForceCn: p.ForceCN, + TermsOfService: p.TermsOfService, + Website: p.Website, + CaaIdentities: p.CaaIdentities, + RequireEab: p.RequireEAB, Challenges: challengesToLinkedca(p.Challenges), AttestationFormats: attestationFormatsToLinkedca(p.AttestationFormats), AttestationRoots: provisionerPEMToLinkedca(p.AttestationRoots),