Skip to content

cleanup: Initialize new root and targets at version 1 #272

@asraa

Description

@asraa

Currently, the API for NewRoot() and NewTargets() initialized version at 0, whereas they should generally be started at 1.

Clean this up, and existing tests.
https://github.com/theupdateframework/go-tuf/pull/175/files#r850775514

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions