mirror of
https://github.com/theupdateframework/python-tuf
synced 2026-05-24 10:08:28 +00:00
Re-generate metadata to adopt the change that root.json is no longer listed in snapshot.json ``` # Remove repository and client data cd tests/repository_data && rm -rf repository client # Generate metadata python generate.py # Duplicate metadata files cp -r client/test_repository1 client/test_repository2 # Recover non-signed file git checkout client/map.json ``` Signed-off-by: Joshua Lock <jlock@vmware.com>
23 lines
No EOL
557 B
JSON
23 lines
No EOL
557 B
JSON
{
|
|
"signatures": [
|
|
{
|
|
"keyid": "8a1c4a3ac2d515dec982ba9910c5fd79b91ae57f625b9cff25d06bf0a61c1758",
|
|
"sig": "de0e16920f87bf5500cc65736488ac17e09788cce808f6a4e85eb9e4e478a312b4c1a2d7723af56f7bfb1df533c67d8c93b6f49d39eabe7fae391a08e1f72f01"
|
|
}
|
|
],
|
|
"signed": {
|
|
"_type": "timestamp",
|
|
"expires": "2030-01-01T00:00:00Z",
|
|
"meta": {
|
|
"snapshot.json": {
|
|
"hashes": {
|
|
"sha256": "8f88e2ba48b412c3843e9bb26e1b6f8fc9e98aceb0fbaa97ba37b4c98717d7ab"
|
|
},
|
|
"length": 515,
|
|
"version": 1
|
|
}
|
|
},
|
|
"spec_version": "1.0.0",
|
|
"version": 1
|
|
}
|
|
} |