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>
25 lines
No EOL
515 B
JSON
25 lines
No EOL
515 B
JSON
{
|
|
"signatures": [
|
|
{
|
|
"keyid": "59a4df8af818e9ed7abe0764c0b47b4240952aa0d179b5b78346c470ac30278d",
|
|
"sig": "085672c70dffe26610e58542ee552843633cfed973abdad94c56138dbf0cd991644f2d3f27e4dda3098e08ab676e7f52627b587947ae69db1012d59a6da18e0c"
|
|
}
|
|
],
|
|
"signed": {
|
|
"_type": "snapshot",
|
|
"expires": "2030-01-01T00:00:00Z",
|
|
"meta": {
|
|
"role1.json": {
|
|
"version": 1
|
|
},
|
|
"role2.json": {
|
|
"version": 1
|
|
},
|
|
"targets.json": {
|
|
"version": 1
|
|
}
|
|
},
|
|
"spec_version": "1.0.0",
|
|
"version": 1
|
|
}
|
|
} |