From 166549ec674b5da4648798cc4e9381914748b81c Mon Sep 17 00:00:00 2001 From: Christopher Henderson Date: Sun, 8 Sep 2024 07:56:30 -0700 Subject: [PATCH] RFC8813 is not referrable from the CLI as a valid lint source --- v3/lint/source.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/v3/lint/source.go b/v3/lint/source.go index 42b17d519..3cd0c3033 100644 --- a/v3/lint/source.go +++ b/v3/lint/source.go @@ -53,7 +53,7 @@ func (s *LintSource) UnmarshalJSON(data []byte) error { } switch LintSource(throwAway) { - case RFC5280, RFC5480, RFC5891, CABFBaselineRequirements, CABFEVGuidelines, CABFSMIMEBaselineRequirements, MozillaRootStorePolicy, AppleRootStorePolicy, Community, EtsiEsi, RFC6962: + case RFC8813, RFC5280, RFC5480, RFC5891, CABFBaselineRequirements, CABFEVGuidelines, CABFSMIMEBaselineRequirements, MozillaRootStorePolicy, AppleRootStorePolicy, Community, EtsiEsi, RFC6962: *s = LintSource(throwAway) return nil default: @@ -77,6 +77,8 @@ func (s *LintSource) FromString(src string) { *s = RFC5480 case RFC5891: *s = RFC5891 + case RFC8813: + *s = RFC8813 case CABFBaselineRequirements: *s = CABFBaselineRequirements case CABFEVGuidelines: