Signature, expiration ,version get changed in all metadata files [except root.json and 1.root.json] when i add new bundle inside the targets #139
Replies: 1 comment
-
@ritishbhardwaj This is intentional: it is the way it is supposed to work. As you can see in your screenshot, the metadata object has a Also see #95
The client downloads the latest versions of root.json from your server, together with the other metadata files. See detailed client workflow in the TUF spec.
The root.json Please refer to the TUF spec where it is all explained in great detail.
As mentioned in the TUF spec, root.json "specifies trusted keys for the other top-level roles", so it only needs to be changed if you add, change, or remove trusted keys, or if the file has expired. There's an example of a root key rotation in the repo workflow example file: tufup/examples/repo/repo_workflow_example.py Lines 193 to 205 in 4bb16ad Again, it is strongly advised to read the TUF specification to understand how this all works. |
Beta Was this translation helpful? Give feedback.
-
Signature, expiration ,version get changed in all metadata files [except root.json and 1.root.json] when i add new bundle inside the targets using repo_add_bundle. Can i know why is it happening like if the signatures are getting modifying everytime, will this make any side effects while updating on the client side machine where this application is getting installed. [I know that on the client side only root.json is available!!!!]
And why not the version of root.json is getting changed!!!!.
Can i change the version of the root.json in near future?. if yes, then could you provide me reference from where i can know how to do it? And will it change the 1.root.json to 2.root.json or else?
Do i need to concern it before deploying it to the production?
Beta Was this translation helpful? Give feedback.
All reactions