Deprecate StoreIssuerInfo flag (#5386)
This flag is no longer referenced by any code, and can be safely deprecated. Part of #5079
This commit is contained in:
parent
bba0747700
commit
6e6be607fa
|
|
@ -17,7 +17,6 @@ import (
|
||||||
"github.com/letsencrypt/boulder/cmd"
|
"github.com/letsencrypt/boulder/cmd"
|
||||||
"github.com/letsencrypt/boulder/core"
|
"github.com/letsencrypt/boulder/core"
|
||||||
"github.com/letsencrypt/boulder/db"
|
"github.com/letsencrypt/boulder/db"
|
||||||
"github.com/letsencrypt/boulder/features"
|
|
||||||
blog "github.com/letsencrypt/boulder/log"
|
blog "github.com/letsencrypt/boulder/log"
|
||||||
"github.com/letsencrypt/boulder/metrics"
|
"github.com/letsencrypt/boulder/metrics"
|
||||||
"github.com/letsencrypt/boulder/sa"
|
"github.com/letsencrypt/boulder/sa"
|
||||||
|
|
@ -465,7 +464,6 @@ func TestIssuerInfo(t *testing.T) {
|
||||||
m := mockOCSPRecordIssuer{}
|
m := mockOCSPRecordIssuer{}
|
||||||
updater.ogc = &m
|
updater.ogc = &m
|
||||||
reg := satest.CreateWorkingRegistration(t, sa)
|
reg := satest.CreateWorkingRegistration(t, sa)
|
||||||
_ = features.Set(map[string]bool{"StoreIssuerInfo": true})
|
|
||||||
|
|
||||||
k, err := rsa.GenerateKey(rand.Reader, 512)
|
k, err := rsa.GenerateKey(rand.Reader, 512)
|
||||||
test.AssertNotError(t, err, "rsa.GenerateKey failed")
|
test.AssertNotError(t, err, "rsa.GenerateKey failed")
|
||||||
|
|
|
||||||
|
|
@ -12,23 +12,23 @@ func _() {
|
||||||
_ = x[PrecertificateRevocation-1]
|
_ = x[PrecertificateRevocation-1]
|
||||||
_ = x[StripDefaultSchemePort-2]
|
_ = x[StripDefaultSchemePort-2]
|
||||||
_ = x[NonCFSSLSigner-3]
|
_ = x[NonCFSSLSigner-3]
|
||||||
_ = x[CAAValidationMethods-4]
|
_ = x[StoreIssuerInfo-4]
|
||||||
_ = x[CAAAccountURI-5]
|
_ = x[CAAValidationMethods-5]
|
||||||
_ = x[EnforceMultiVA-6]
|
_ = x[CAAAccountURI-6]
|
||||||
_ = x[MultiVAFullResults-7]
|
_ = x[EnforceMultiVA-7]
|
||||||
_ = x[MandatoryPOSTAsGET-8]
|
_ = x[MultiVAFullResults-8]
|
||||||
_ = x[AllowV1Registration-9]
|
_ = x[MandatoryPOSTAsGET-9]
|
||||||
_ = x[V1DisableNewValidations-10]
|
_ = x[AllowV1Registration-10]
|
||||||
_ = x[StoreIssuerInfo-11]
|
_ = x[V1DisableNewValidations-11]
|
||||||
_ = x[StoreRevokerInfo-12]
|
_ = x[StoreRevokerInfo-12]
|
||||||
_ = x[RestrictRSAKeySizes-13]
|
_ = x[RestrictRSAKeySizes-13]
|
||||||
_ = x[FasterNewOrdersRateLimit-14]
|
_ = x[FasterNewOrdersRateLimit-14]
|
||||||
_ = x[ECDSAForAll-15]
|
_ = x[ECDSAForAll-15]
|
||||||
}
|
}
|
||||||
|
|
||||||
const _FeatureFlag_name = "unusedPrecertificateRevocationStripDefaultSchemePortNonCFSSLSignerCAAValidationMethodsCAAAccountURIEnforceMultiVAMultiVAFullResultsMandatoryPOSTAsGETAllowV1RegistrationV1DisableNewValidationsStoreIssuerInfoStoreRevokerInfoRestrictRSAKeySizesFasterNewOrdersRateLimitECDSAForAll"
|
const _FeatureFlag_name = "unusedPrecertificateRevocationStripDefaultSchemePortNonCFSSLSignerStoreIssuerInfoCAAValidationMethodsCAAAccountURIEnforceMultiVAMultiVAFullResultsMandatoryPOSTAsGETAllowV1RegistrationV1DisableNewValidationsStoreRevokerInfoRestrictRSAKeySizesFasterNewOrdersRateLimitECDSAForAll"
|
||||||
|
|
||||||
var _FeatureFlag_index = [...]uint16{0, 6, 30, 52, 66, 86, 99, 113, 131, 149, 168, 191, 206, 222, 241, 265, 276}
|
var _FeatureFlag_index = [...]uint16{0, 6, 30, 52, 66, 81, 101, 114, 128, 146, 164, 183, 206, 222, 241, 265, 276}
|
||||||
|
|
||||||
func (i FeatureFlag) String() string {
|
func (i FeatureFlag) String() string {
|
||||||
if i < 0 || i >= FeatureFlag(len(_FeatureFlag_index)-1) {
|
if i < 0 || i >= FeatureFlag(len(_FeatureFlag_index)-1) {
|
||||||
|
|
|
||||||
|
|
@ -15,6 +15,7 @@ const (
|
||||||
PrecertificateRevocation
|
PrecertificateRevocation
|
||||||
StripDefaultSchemePort
|
StripDefaultSchemePort
|
||||||
NonCFSSLSigner
|
NonCFSSLSigner
|
||||||
|
StoreIssuerInfo
|
||||||
|
|
||||||
// Currently in-use features
|
// Currently in-use features
|
||||||
// Check CAA and respect validationmethods parameter.
|
// Check CAA and respect validationmethods parameter.
|
||||||
|
|
@ -35,9 +36,6 @@ const (
|
||||||
// V1DisableNewValidations disables validations for new domain names in the V1
|
// V1DisableNewValidations disables validations for new domain names in the V1
|
||||||
// API.
|
// API.
|
||||||
V1DisableNewValidations
|
V1DisableNewValidations
|
||||||
// StoreIssuerInfo enables storage of information identifying the issuer of
|
|
||||||
// a certificate in the certificateStatus table.
|
|
||||||
StoreIssuerInfo
|
|
||||||
// StoreRevokerInfo enables storage of the revoker and a bool indicating if the row
|
// StoreRevokerInfo enables storage of the revoker and a bool indicating if the row
|
||||||
// was checked for extant unrevoked certificates in the blockedKeys table.
|
// was checked for extant unrevoked certificates in the blockedKeys table.
|
||||||
StoreRevokerInfo
|
StoreRevokerInfo
|
||||||
|
|
|
||||||
|
|
@ -90,8 +90,7 @@
|
||||||
"ocspLogMaxLength": 4000,
|
"ocspLogMaxLength": 4000,
|
||||||
"ocspLogPeriod": "500ms",
|
"ocspLogPeriod": "500ms",
|
||||||
"features": {
|
"features": {
|
||||||
"NonCFSSLSigner": true,
|
"NonCFSSLSigner": true
|
||||||
"StoreIssuerInfo": true
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -90,8 +90,7 @@
|
||||||
"ocspLogMaxLength": 4000,
|
"ocspLogMaxLength": 4000,
|
||||||
"ocspLogPeriod": "500ms",
|
"ocspLogPeriod": "500ms",
|
||||||
"features": {
|
"features": {
|
||||||
"NonCFSSLSigner": true,
|
"NonCFSSLSigner": true
|
||||||
"StoreIssuerInfo": true
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -20,9 +20,7 @@
|
||||||
"serverAddress": "ca.boulder:9096",
|
"serverAddress": "ca.boulder:9096",
|
||||||
"timeout": "15s"
|
"timeout": "15s"
|
||||||
},
|
},
|
||||||
"features": {
|
"features": {}
|
||||||
"StoreIssuerInfo": true
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
|
|
||||||
"syslog": {
|
"syslog": {
|
||||||
|
|
|
||||||
|
|
@ -26,9 +26,8 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"features": {
|
"features": {
|
||||||
"StoreIssuerInfo": true,
|
"FasterNewOrdersRateLimit": true,
|
||||||
"StoreRevokerInfo": true,
|
"StoreRevokerInfo": true
|
||||||
"FasterNewOrdersRateLimit": true
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -86,8 +86,7 @@
|
||||||
"blockedKeyFile": "test/example-blocked-keys.yaml",
|
"blockedKeyFile": "test/example-blocked-keys.yaml",
|
||||||
"orphanQueueDir": "/tmp/orphaned-certificates-a",
|
"orphanQueueDir": "/tmp/orphaned-certificates-a",
|
||||||
"features": {
|
"features": {
|
||||||
"NonCFSSLSigner": true,
|
"NonCFSSLSigner": true
|
||||||
"StoreIssuerInfo": true
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -86,8 +86,7 @@
|
||||||
"blockedKeyFile": "test/example-blocked-keys.yaml",
|
"blockedKeyFile": "test/example-blocked-keys.yaml",
|
||||||
"orphanQueueDir": "/tmp/orphaned-certificates-b",
|
"orphanQueueDir": "/tmp/orphaned-certificates-b",
|
||||||
"features": {
|
"features": {
|
||||||
"NonCFSSLSigner": true,
|
"NonCFSSLSigner": true
|
||||||
"StoreIssuerInfo": true
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -20,9 +20,7 @@
|
||||||
"serverAddress": "ca.boulder:9096",
|
"serverAddress": "ca.boulder:9096",
|
||||||
"timeout": "15s"
|
"timeout": "15s"
|
||||||
},
|
},
|
||||||
"features": {
|
"features": {}
|
||||||
"StoreIssuerInfo": true
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
|
|
||||||
"syslog": {
|
"syslog": {
|
||||||
|
|
|
||||||
|
|
@ -27,7 +27,6 @@
|
||||||
},
|
},
|
||||||
"features": {
|
"features": {
|
||||||
"FasterNewOrdersRateLimit": true,
|
"FasterNewOrdersRateLimit": true,
|
||||||
"StoreIssuerInfo": true,
|
|
||||||
"StoreRevokerInfo": true
|
"StoreRevokerInfo": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue