From 85cd9a12775c167bbc9d5ecc01aa9b6f9b734940 Mon Sep 17 00:00:00 2001 From: Herman Slatman Date: Tue, 8 Nov 2022 12:10:05 +0100 Subject: [PATCH] Fix some ACME DA doc strings (slightly) --- authority/provisioner/acme.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/authority/provisioner/acme.go b/authority/provisioner/acme.go index 688a3532..38510af7 100644 --- a/authority/provisioner/acme.go +++ b/authority/provisioner/acme.go @@ -48,7 +48,7 @@ func (c ACMEChallenge) Validate() error { type ACMEAttestationFormat string const ( - // APPLE is the format used to enable device-attest-01 on apple devices. + // APPLE is the format used to enable device-attest-01 on Apple devices. APPLE ACMEAttestationFormat = "apple" // STEP is the format used to enable device-attest-01 on devices that @@ -57,7 +57,7 @@ const ( // TODO(mariano): should we rename this to something else. STEP ACMEAttestationFormat = "step" - // TPM is the format used to enable device-attest-01 on TPMs. + // TPM is the format used to enable device-attest-01 with TPMs. TPM ACMEAttestationFormat = "tpm" ) @@ -184,7 +184,7 @@ func (p *ACME) Init(config Config) (err error) { } // Parse attestation roots. - // The pool will be nil if the there are not roots. + // The pool will be nil if there are no roots. if rest := p.AttestationRoots; len(rest) > 0 { var block *pem.Block var hasCert bool