forked from in-toto/in-toto
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update keyids in tests and test files
Securesystemslib v0.10.8 changes the format of cryptographic keys, which also changes the keyids which are based on a keys datastructure (hashed). This commit updates hardcoded keyids in in-toto tests, test file names (links), test files (layout template) and comments.
- Loading branch information
Showing
8 changed files
with
70 additions
and
64 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
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,26 @@ | ||
{"signed": { | ||
"_type": "link", | ||
"byproducts": { | ||
"return-value": 0, | ||
"stderr": "a foo.py\n", | ||
"stdout": "" | ||
}, | ||
"command": [ | ||
"tar", | ||
"zcvf", | ||
"foo.tar.gz", | ||
"foo.py" | ||
], | ||
"environment": {}, | ||
"materials": { | ||
"foo.py": { | ||
"sha256": "74dc3727c6e89308b39e4dfedf787e37841198b1fa165a27c013544a60502549" | ||
} | ||
}, | ||
"name": "package", | ||
"products": { | ||
"foo.tar.gz": { | ||
"sha256": "52947cb78b91ad01fe81cd6aef42d1f6817e92b9e6936c1e5aabb7c98514f355" | ||
} | ||
} | ||
}, "signatures": [{"keyid":"2f89b9272acfc8f4a0a0f094d789fdb0ba798b0fe41f2f5f417c12f0085ff498","sig":"3b133e862b62290ffd56144dc92657375bfbb4a234a00abf17c81848ef82bf4e0fba3392e8be8f0e85b371081f487914994810974443a74e549db7ae8f869ba2001393ec07f8720efc2704abcadb55e34431108721a954129b6dd9301729bf8cddcbc619bb58a64abe4653fa037a8c5798c2b62c9f794607faa20c834ae29ec15cea5aa66ccbdf8233031e1ff4f5e1eaeb92eaaa1f42564633e7f25f23a3bd67695e9dc0c2e3af0b8a27cc2278ff234bef531946c98e73f78b85cfcb95127268ee399245130af3b13992315f360f2533cc46ede7f680124234234f1aefa25c589e0813617f4e21815d2d7ff1446dc48704314695a5a405f7d2cfa03bc63827a4bfd202d0df2addde52074e84e67dc98b5acf9e4053d30b32e5f58d6665912c96131db6b062c2a6e975983a2d3eab8a7b341d6d5c58e691d89ec80d5218884348ec890d04ca8a21082eaa8aa7b99936130dfc4ee5092bcbe61296aa09341c582f52aa4c17373d1284905306384236d6208a2873d8b1d16547e5323e7da7028719"}]} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,13 @@ | ||
{"signed": { | ||
"_type": "link", | ||
"byproducts": {}, | ||
"command": [], | ||
"environment": {}, | ||
"materials": {}, | ||
"name": "write-code", | ||
"products": { | ||
"foo.py": { | ||
"sha256": "74dc3727c6e89308b39e4dfedf787e37841198b1fa165a27c013544a60502549" | ||
} | ||
} | ||
}, "signatures": [{"keyid":"776a00e29f3559e0141b3b096f696abc6cfb0c657ab40f441132b345b08453f5","sig":"c7625874086f8980dc28d1c6704aaaa5b9dc65400e9f33a3546abf2e5b46d2084c684981e866a43bb9748eeb5344eb8abdbcf27c6c6eee9cec483ed2d673cf2d4bc7a856539e000079b95b5cbea381513b06b78c909ebe699010ea60f21cf1fa452fa40d3cc35ddd50cf4a3c7fdcf3c323123716e839c6e2226394333f122818cdb5b0adf846ab4f03e193684add833f1a92dc1f1a5a9bed01d99ba88b16351070bffe06fd311098cab07a351bd5f96eccc4fc715b3fda54ae35223843010038abeac5ad6bd523a28e8e402320c4d71140512f6d070a869bc682cc962ece0f4768dec1c2d992effb8b19c48d378f3363f5e3345562ca6f3dad8951bf3612f8bbe85e1e517f8fcde7041adfc9c813dd6f88a2ca15717074c5bad7412056fe97c89d730139c2a6d2decc1a5f5ac220975d4f932b9c57acb1e5c262ca88d6bd10208ae879d349c8142f834fa9ce2145e63662a3e08216e0df131617786d9c7a160ce19d74475c077c8ecee2c524c2eb6b4ee522cb730fbb865d3a0fc000671e9b5a"}]} |
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