You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is incredibly valuable for services like sigstore. Right now when I try and generate a targets file using tuftool create there is no option to add this extra data, and if I add it manually and run tuftool update the new fields are deleted.
My current solution requires these fields be present so right now the tuftool is not generating an output I can use, so it would be incredibly valuable for tuftool to support them.
Maybe implemented as an additional update command such as:
Supporting this feature is not a bad idea but I'll leave a bit more detail:
sigstore has moved away from using this mechanism and instead provides well known files in the repository (see trusted_root.json for an example). The old files with custom metadata are still provided but only for backwards compat purposes
custom metadata has some tricky security implications when combined with delegated targets: generally speaking you should not use custom metadata to decide which files you want to download (like sigstore was doing). It's not problematic if you only have a top-level targets but potentially becomes an issue when there are multiple targets metadata files
As seen in https://tuf-repo-cdn.sigstore.dev/targets.json the targets.json can contain a
custom
field for holding additional data about the target.This is incredibly valuable for services like sigstore. Right now when I try and generate a targets file using
tuftool create
there is no option to add this extra data, and if I add it manually and runtuftool update
the new fields are deleted.My current solution requires these fields be present so right now the tuftool is not generating an output I can use, so it would be incredibly valuable for tuftool to support them.
Maybe implemented as an additional update command such as:
The text was updated successfully, but these errors were encountered: