Skip to content

Commit

Permalink
features: remove deprecated features (#7805)
Browse files Browse the repository at this point in the history
Fixes #7802
  • Loading branch information
jsha authored Nov 13, 2024
1 parent 1d8cf3e commit 5be3e99
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 31 deletions.
17 changes: 0 additions & 17 deletions features/features.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,23 +15,6 @@ import (
// then call features.Set(parsedConfig) to load the parsed struct into this
// package's global Config.
type Config struct {
// Deprecated features. These features have no effect. Removing them from
// configuration is safe.
//
// Once all references to them have been removed from deployed configuration,
// they can be deleted from this struct, after which Boulder will fail to
// start if they are present in configuration.
CAAAfterValidation bool
AllowNoCommonName bool
SHA256SubjectKeyIdentifier bool
EnforceMultiVA bool
MultiVAFullResults bool
CertCheckerRequiresCorrespondence bool
ECDSAForAll bool
CheckRenewalExemptionAtWFE bool
TrackReplacementCertificatesARI bool
UseKvLimitsForNewAccount bool

// ServeRenewalInfo exposes the renewalInfo endpoint in the directory and for
// GET requests. WARNING: This feature is a draft and highly unstable.
ServeRenewalInfo bool
Expand Down
1 change: 0 additions & 1 deletion test/config-next/cert-checker.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
],
"ctLogListFile": "test/ct-test-srv/log_list.json",
"features": {
"CertCheckerRequiresCorrespondence": true,
"CertCheckerChecksValidations": true,
"CertCheckerRequiresValidations": true
}
Expand Down
4 changes: 0 additions & 4 deletions test/config/ra.json
Original file line number Diff line number Diff line change
Expand Up @@ -104,10 +104,6 @@
}
}
},
"features": {
"CheckRenewalExemptionAtWFE": true,
"UseKvLimitsForNewAccount": true
},
"ctLogs": {
"stagger": "500ms",
"logListFile": "test/ct-test-srv/log_list.json",
Expand Down
3 changes: 0 additions & 3 deletions test/config/sa.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,6 @@
]
}
}
},
"features": {
"TrackReplacementCertificatesARI": true
}
},
"syslog": {
Expand Down
5 changes: 1 addition & 4 deletions test/config/wfe2.json
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,7 @@
"authorizationLifetimeDays": 30,
"pendingAuthorizationLifetimeDays": 7,
"features": {
"ServeRenewalInfo": true,
"TrackReplacementCertificatesARI": true,
"CheckRenewalExemptionAtWFE": true,
"UseKvLimitsForNewAccount": true
"ServeRenewalInfo": true
}
},
"syslog": {
Expand Down
3 changes: 1 addition & 2 deletions test/integration/issuance_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,7 @@ func TestFirstCSRSANHoistedToCN(t *testing.T) {
}

// TestCommonNameSANsTooLong tests that, when the names in an order and CSR are
// too long to be hoisted into the CN, the correct behavior results (depending
// on the state of the AllowNoCommonName feature flag).
// too long to be hoisted into the CN, the correct behavior results.
func TestCommonNameSANsTooLong(t *testing.T) {
t.Parallel()

Expand Down

0 comments on commit 5be3e99

Please sign in to comment.