-
Notifications
You must be signed in to change notification settings - Fork 110
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update interop tests for new python-tuf release 2.0.0
Simply re-ran the generation scripts with the newest python-tuf release, renamed the directory to reflect the updated version and updated any references to the directory. Fixes #367 Signed-off-by: Joshua Lock <[email protected]>
- Loading branch information
Showing
25 changed files
with
229 additions
and
237 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
PYTHON_TUF=python-tuf-v1.0.0 | ||
PYTHON_TUF=python-tuf-v2.0.0 | ||
|
||
all: | ||
docker build -t tuf-gen ./$(PYTHON_TUF) | ||
|
71 changes: 0 additions & 71 deletions
71
...terop/testdata/python-tuf-v1.0.0/with-consistent-snapshot/repository/metadata/1.root.json
This file was deleted.
Oops, something went wrong.
19 changes: 0 additions & 19 deletions
19
...p/testdata/python-tuf-v1.0.0/with-consistent-snapshot/repository/metadata/1.snapshot.json
This file was deleted.
Oops, something went wrong.
23 changes: 0 additions & 23 deletions
23
...op/testdata/python-tuf-v1.0.0/with-consistent-snapshot/repository/metadata/timestamp.json
This file was deleted.
Oops, something went wrong.
71 changes: 0 additions & 71 deletions
71
...op/testdata/python-tuf-v1.0.0/without-consistent-snapshot/repository/metadata/1.root.json
This file was deleted.
Oops, something went wrong.
19 changes: 0 additions & 19 deletions
19
.../testdata/python-tuf-v1.0.0/without-consistent-snapshot/repository/metadata/snapshot.json
This file was deleted.
Oops, something went wrong.
23 changes: 0 additions & 23 deletions
23
...testdata/python-tuf-v1.0.0/without-consistent-snapshot/repository/metadata/timestamp.json
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
...rop/testdata/python-tuf-v1.0.0/Dockerfile → ...rop/testdata/python-tuf-v2.0.0/Dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
FROM python:3.10 | ||
|
||
RUN apt-get update && apt-get install -y libsodium-dev tree | ||
RUN pip install 'securesystemslib[crypto,pynacl]==0.22.0' 'tuf==v1.0.0' | ||
RUN pip install -U pip && pip install 'securesystemslib[crypto,pynacl]==0.25.0' 'tuf==v2.0.0' | ||
|
||
ADD generate.py generate.sh / | ||
CMD /generate.sh |
File renamed without changes.
File renamed without changes.
File renamed without changes.
71 changes: 71 additions & 0 deletions
71
...terop/testdata/python-tuf-v2.0.0/with-consistent-snapshot/repository/metadata/1.root.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
{ | ||
"signatures": [ | ||
{ | ||
"keyid": "7e576308aa26b10a124e13fd6bc4d63977d1904db6823c2862636d2b330fd669", | ||
"sig": "c50fb9e20819b06d8dbebc748a269f1b9e089a2d8a81f64f7e889c054e619ec22c98e4ae24cb868b7c7757f62853cb0cd5dd658dad5ba94286a34255f5f7a100" | ||
} | ||
], | ||
"signed": { | ||
"_type": "root", | ||
"consistent_snapshot": true, | ||
"expires": "2030-01-01T00:00:00Z", | ||
"keys": { | ||
"7e576308aa26b10a124e13fd6bc4d63977d1904db6823c2862636d2b330fd669": { | ||
"keytype": "ed25519", | ||
"keyval": { | ||
"public": "018908d2190610e54be1f6af0c77a7f59efc5b42971575a06e66018ae36bf15c" | ||
}, | ||
"scheme": "ed25519" | ||
}, | ||
"e76b314161b74584dbda0b3e46eaf1b9feea6f85abc0d9c8432e7fe3752d4f0f": { | ||
"keytype": "ed25519", | ||
"keyval": { | ||
"public": "ecfe22e7fb9c2d867bad321ce90f297d5747efce8d96af171b5d5801b13a1c72" | ||
}, | ||
"scheme": "ed25519" | ||
}, | ||
"fa5b604a0ee5980e5f8a2398729e03c539fa68123cd3eb2e99f70d3504a71704": { | ||
"keytype": "ed25519", | ||
"keyval": { | ||
"public": "128d5aba7c967e6e87c4e06b852282c91dd90c9ac9dec3adc9e6a237d4530752" | ||
}, | ||
"scheme": "ed25519" | ||
}, | ||
"faf425a6c41e594be56b35ab08c0dfe486ab6e14a25308bbfa990e050cdf0aef": { | ||
"keytype": "ed25519", | ||
"keyval": { | ||
"public": "2a70c65b98f325026225b568af3587e993a0a5ab96671469e4ecfbb386412063" | ||
}, | ||
"scheme": "ed25519" | ||
} | ||
}, | ||
"roles": { | ||
"root": { | ||
"keyids": [ | ||
"7e576308aa26b10a124e13fd6bc4d63977d1904db6823c2862636d2b330fd669" | ||
], | ||
"threshold": 1 | ||
}, | ||
"snapshot": { | ||
"keyids": [ | ||
"fa5b604a0ee5980e5f8a2398729e03c539fa68123cd3eb2e99f70d3504a71704" | ||
], | ||
"threshold": 1 | ||
}, | ||
"targets": { | ||
"keyids": [ | ||
"faf425a6c41e594be56b35ab08c0dfe486ab6e14a25308bbfa990e050cdf0aef" | ||
], | ||
"threshold": 1 | ||
}, | ||
"timestamp": { | ||
"keyids": [ | ||
"e76b314161b74584dbda0b3e46eaf1b9feea6f85abc0d9c8432e7fe3752d4f0f" | ||
], | ||
"threshold": 1 | ||
} | ||
}, | ||
"spec_version": "1.0.19", | ||
"version": 1 | ||
} | ||
} |
19 changes: 19 additions & 0 deletions
19
...p/testdata/python-tuf-v2.0.0/with-consistent-snapshot/repository/metadata/1.snapshot.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"signatures": [ | ||
{ | ||
"keyid": "fa5b604a0ee5980e5f8a2398729e03c539fa68123cd3eb2e99f70d3504a71704", | ||
"sig": "1c09c1ca4c38e68f4ba9ac48c6ed6fcee13e5a071dcfeb51e7b5cf1a823bcc16b26528f67efaa59383a4a765cdd5fd81d67f74a5c09789673cab164a7251b20d" | ||
} | ||
], | ||
"signed": { | ||
"_type": "snapshot", | ||
"expires": "2030-01-01T00:00:00Z", | ||
"meta": { | ||
"targets.json": { | ||
"version": 1 | ||
} | ||
}, | ||
"spec_version": "1.0.19", | ||
"version": 1 | ||
} | ||
} |
4 changes: 2 additions & 2 deletions
4
...apshot/repository/metadata/1.targets.json → ...apshot/repository/metadata/1.targets.json
100644 → 100755
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.