theupdateframework / go-tuf

Go implementation of The Update Framework (TUF)
https://theupdateframework.com
Apache License 2.0
625 stars 105 forks source link

fix: Set sig to Array when empty #533

Closed ChevronTango closed 11 months ago

ChevronTango commented 1 year ago

Please fill in the fields below to submit a pull request. The more information that is provided, the better.

Fixes #531

Release Notes: missing signatures are now empty arrays rather than null

Types of changes:

Description of the changes being introduced by the pull request:

The init command and others now returns an empty array rather than a null for the signatures field.

Please verify and check that the pull request fulfills the following requirements:

ChevronTango commented 11 months ago

@rdimitrov is there anything more I can do to help get this merged?