diff --git a/metadata/config/config.go b/metadata/config/config.go index 09c9b46e..92169dac 100644 --- a/metadata/config/config.go +++ b/metadata/config/config.go @@ -57,7 +57,7 @@ func New(remoteURL string, rootBytes []byte) (*UpdaterConfig, error) { return &UpdaterConfig{ // TUF configuration - MaxRootRotations: 32, + MaxRootRotations: 128, MaxDelegations: 32, RootMaxLength: 512000, // bytes TimestampMaxLength: 16384, // bytes diff --git a/metadata/config/config_test.go b/metadata/config/config_test.go index be35a877..c10b77b3 100644 --- a/metadata/config/config_test.go +++ b/metadata/config/config_test.go @@ -43,7 +43,7 @@ func TestNewUpdaterConfig(t *testing.T) { remoteURL: "somepath", rootBytes: []byte("somerootbytes"), config: &UpdaterConfig{ - MaxRootRotations: 32, + MaxRootRotations: 128, MaxDelegations: 32, RootMaxLength: 512000, TimestampMaxLength: 16384,