Skip to content

Commit

Permalink
increase to 256 root rotations
Browse files Browse the repository at this point in the history
Signed-off-by: Fredrik Skogman <kommendorkapten@github.com>
  • Loading branch information
kommendorkapten committed Jul 15, 2024
1 parent e9f8b60 commit 7d1afb5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion metadata/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ func New(remoteURL string, rootBytes []byte) (*UpdaterConfig, error) {

return &UpdaterConfig{
// TUF configuration
MaxRootRotations: 128,
MaxRootRotations: 256,
MaxDelegations: 32,
RootMaxLength: 512000, // bytes
TimestampMaxLength: 16384, // bytes
Expand Down
2 changes: 1 addition & 1 deletion metadata/config/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ func TestNewUpdaterConfig(t *testing.T) {
remoteURL: "somepath",
rootBytes: []byte("somerootbytes"),
config: &UpdaterConfig{
MaxRootRotations: 128,
MaxRootRotations: 256,
MaxDelegations: 32,
RootMaxLength: 512000,
TimestampMaxLength: 16384,
Expand Down

0 comments on commit 7d1afb5

Please sign in to comment.