This repository was archived by the owner on Mar 29, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
Partial verification secondary #190
Open
tanishqjasoria
wants to merge
19
commits into
uptane:develop
Choose a base branch
from
tanishqjasoria:partial_verification_secondary
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
de463d8
Update to be compatible with partial verification
tanishqjasoria 20fbc0a
Update metadata distributed to partial verification secondaries
tanishqjasoria 20ce126
Update to reciver the metadata for partial verification
tanishqjasoria 3398f37
Add function for Partial Verification of Secondary
tanishqjasoria f0b4611
Update to store last validated targets until new found
tanishqjasoria c0f8902
Restructure the test data in the test_secondary
tanishqjasoria 95df574
Update the test verifying the parital_metadata generaton for secondary
tanishqjasoria 8084fda
Update samples to accomodate the changes in partial metadata
tanishqjasoria 71e37fb
Update metadata files to include update for the partial verifying ECU
tanishqjasoria 9053517
Add two more TEST_INSTANCES for the partial verifying secondary ECUs
tanishqjasoria ce58801
Add pv__expected_updated_fileinfo to make partial verifying ECU accep…
tanishqjasoria b38d4de
Modify to include the tests for partial verifying secondary ECU
tanishqjasoria dcb6995
FIX error in test_20_update_time due to wrong function call
tanishqjasoria 229a2c7
Add new sample metadata files for tests to work with der format
tanishqjasoria 0dd0403
Modify test to validate partial verification Secondary firmware also
tanishqjasoria da3ef9a
Fix issues with formatting and comments
tanishqjasoria 739c889
Edit docstring of partial_validate_metadata
tanishqjasoria 3ee244e
Restructure partial_validate_metadata
tanishqjasoria 1434d7d
Reorganize TEST_INSTANCES as dictionaries
tanishqjasoria File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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
Binary file removed
BIN
-136 Bytes
samples/metadata_samples_long_expiry/initial_w_no_update/director_targets.der
Binary file not shown.
Binary file modified
BIN
-2.94 KB
(78%)
samples/metadata_samples_long_expiry/initial_w_no_update/full_metadata_archive.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
..._samples_long_expiry/initial_w_no_update/full_metadata_archive/director/metadata/root.der
Binary file not shown.
This file contains hidden or 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
7 changes: 3 additions & 4 deletions
7
...ples_long_expiry/initial_w_no_update/full_metadata_archive/director/metadata/snapshot.der
This file contains hidden or 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,3 @@ | ||
| 0�֠f��{'���X�V��0�targets.der��=�root.der��w��'0% | ||
| k����8��} | ||
| "��Lc~r�I9�A���9��i0g �<��=3_�6T�`Gࡍ�Y^��Sk���Vx�� | ||
| @��*��E�d�5[���{��%����UYQ���)�'gH��\ǃL8� ��s�|jz&�j��� | ||
| 0�֠f�������X�V��0�targets.der��=�root.der��w��'0% | ||
| �������;_�k.c_f?��l½j�8��i0g �<��=3_�6T�`Gࡍ�Y^��Sk���Vx�� | ||
| @~�`��)vzo�B���8���7�ob��l��������"x/�9��5p���p�(��� |
This file contains hidden or 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
Binary file modified
BIN
+0 Bytes
(100%)
...mples_long_expiry/initial_w_no_update/full_metadata_archive/director/metadata/targets.der
Binary file not shown.
This file contains hidden or 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
Binary file modified
BIN
+0 Bytes
(100%)
...les_long_expiry/initial_w_no_update/full_metadata_archive/director/metadata/timestamp.der
Binary file not shown.
This file contains hidden or 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
Binary file modified
BIN
+0 Bytes
(100%)
...samples_long_expiry/initial_w_no_update/full_metadata_archive/imagerepo/metadata/root.der
Binary file not shown.
This file contains hidden or 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
Binary file modified
BIN
+0 Bytes
(100%)
...les_long_expiry/initial_w_no_update/full_metadata_archive/imagerepo/metadata/snapshot.der
Binary file not shown.
This file contains hidden or 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
Binary file modified
BIN
+0 Bytes
(100%)
...ples_long_expiry/initial_w_no_update/full_metadata_archive/imagerepo/metadata/targets.der
Binary file not shown.
This file contains hidden or 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
Binary file modified
BIN
+0 Bytes
(100%)
...es_long_expiry/initial_w_no_update/full_metadata_archive/imagerepo/metadata/timestamp.der
Binary file not shown.
This file contains hidden or 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
Binary file added
BIN
+1.1 KB
samples/metadata_samples_long_expiry/initial_w_no_update/partial_metadata_archive.zip
Binary file not shown.
Binary file added
BIN
+136 Bytes
...es_long_expiry/initial_w_no_update/partial_metadata_archive/director/metadata/targets.der
Binary file not shown.
This file contains hidden or 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
Binary file removed
BIN
-292 Bytes
samples/metadata_samples_long_expiry/update_to_one_ecu/director_targets.der
Binary file not shown.
Binary file modified
BIN
-2.67 KB
(81%)
samples/metadata_samples_long_expiry/update_to_one_ecu/full_metadata_archive.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...ta_samples_long_expiry/update_to_one_ecu/full_metadata_archive/director/metadata/root.der
Binary file not shown.
This file contains hidden or 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
Binary file modified
BIN
+0 Bytes
(100%)
...amples_long_expiry/update_to_one_ecu/full_metadata_archive/director/metadata/snapshot.der
Binary file not shown.
This file contains hidden or 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
Binary file modified
BIN
+155 Bytes
(150%)
...samples_long_expiry/update_to_one_ecu/full_metadata_archive/director/metadata/targets.der
Binary file not shown.
This file contains hidden or 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
Binary file modified
BIN
+0 Bytes
(100%)
...mples_long_expiry/update_to_one_ecu/full_metadata_archive/director/metadata/timestamp.der
Binary file not shown.
This file contains hidden or 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
Binary file modified
BIN
+0 Bytes
(100%)
...a_samples_long_expiry/update_to_one_ecu/full_metadata_archive/imagerepo/metadata/root.der
Binary file not shown.
This file contains hidden or 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
Binary file modified
BIN
+0 Bytes
(100%)
...mples_long_expiry/update_to_one_ecu/full_metadata_archive/imagerepo/metadata/snapshot.der
Binary file not shown.
This file contains hidden or 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
Binary file modified
BIN
+0 Bytes
(100%)
...amples_long_expiry/update_to_one_ecu/full_metadata_archive/imagerepo/metadata/targets.der
Binary file not shown.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.