-
Notifications
You must be signed in to change notification settings - Fork 3
feat: #80: investigation and correction of hash mismatches during the signing process #86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
aasheptunov
wants to merge
64
commits into
develop
Choose a base branch
from
feature/#80-investigation-and-correction-of-hash-mismatches-during-the-signing-process
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
64 commits
Select commit
Hold shift + click to select a range
94262bd
test: #80: refactor e2e test to make it cleaner
aasheptunov fb379a5
test: #80: add a test to verify that specified exclusion value matche…
aasheptunov 99d5d15
refactor: #80: refactor c2pa storage data hash exclusion calculation …
aasheptunov 904cd63
test: #80: modify exclusion cover test so that it covers pdf case
aasheptunov 03ca728
refactor: #80: refactor c2pa storage data hash exclusion calculation …
aasheptunov c751c4a
chore: #80: rename pdf test file so that filename more readability
aasheptunov bb26494
refactor: #80: move logic for adding exclusions to C2PA structure int…
aasheptunov e0cfcc7
test: #80: add test to align serialized COSE_Sign1
aasheptunov f7ad081
feat: #80: add alignment logic for serialized COSE_Sign1
aasheptunov 836a96c
test: #80: update to Data Hash Assertion test, as pad size has been u…
aasheptunov 00a5a80
test: #80: update exclusion coverage test to reflect the changes made…
aasheptunov a08dccc
docs(readme): bring test coverage score up to date
1323202
feat: #80: add handling for CBOR boundary violation cases for TSA tokens
aasheptunov 31025d9
refactor: #80: rework logic for handling CBOR boundary violations for…
aasheptunov c62e2cb
chore: #80: rename serialized_length to serialized_cose_sign1_length …
aasheptunov 0ef4d7b
fix: #80: correct of a typo in the condition
aasheptunov ab941f2
test: #80: add a test that checks for a ValueError exception if the d…
aasheptunov 556284c
Merge branch 'feature/#80-investigation-and-correction-of-hash-mismat…
aasheptunov 0edc648
docs(readme): bring test coverage score up to date
e9a364d
docs: #80: add a clarifying comment for the additional_exclusions par…
aasheptunov b3f25df
test: #80: add a test to verify the CBOR tag in COSE_Sign1_Tagged
aasheptunov 3c342ae
fix: #80: fix for an error related to the pad not changing when the C…
aasheptunov ef985d7
test: #80: move the test for checking additional_exclusions to the ap…
aasheptunov 98b4d22
Merge branch 'feature/#80-investigation-and-correction-of-hash-mismat…
aasheptunov 36ec059
docs(readme): bring test coverage score up to date
0b0d678
docs: #80: add a comment explaining how JPG_SEGMENT_MAX_PAYLOAD_LENGT…
aasheptunov 6cdb5ac
refactor: #80: move logic for emplacing the APP11 storage bytes into …
aasheptunov 1c9f86a
Merge branch 'feature/#80-investigation-and-correction-of-hash-mismat…
aasheptunov c949792
docs(readme): bring test coverage score up to date
849f3a6
refactor: #80: minimize pad size for unprotected header, since the di…
aasheptunov 9d3ea98
test: #80: update tests after changing pad length
aasheptunov 09217a0
fix: #80: correction of a typo in the calculation of the additional l…
aasheptunov 5f71f19
refactor: #80: refactoring
aasheptunov 55793d3
test: #80: add tests to verify the calculation of the CBOR length in …
aasheptunov b5c9859
Merge branch 'feature/#80-investigation-and-correction-of-hash-mismat…
aasheptunov 8e316a6
docs: #80: add clarifying comments
aasheptunov dd14037
docs(readme): bring test coverage score up to date
375074a
fix: #80: formatting corrections
aasheptunov 60dd676
Merge branch 'feature/#80-investigation-and-correction-of-hash-mismat…
aasheptunov 778febf
fix: #80: formatting corrections
aasheptunov 6517e4b
test: #80: add a stress test to verify the signature
aasheptunov 97cd1a4
fix: #80: fix an error in the calculation of incorrect exclusions in …
aasheptunov ffd70bf
docs(readme): bring test coverage score up to date
1055767
chore: #80: remove unused file
aasheptunov 246f0ce
Merge branch 'feature/#80-investigation-and-correction-of-hash-mismat…
aasheptunov ed82a61
docs(readme): bring test coverage score up to date
218b1a3
docs: #80: add clarifying comment about additional byte of length for…
aasheptunov 388f10a
test: #80: add test for check redundant lenght byte was removed from …
aasheptunov 71d45ed
Merge branch 'feature/#80-investigation-and-correction-of-hash-mismat…
aasheptunov 743808f
test: #80: change hash in the test schema override for Data Hash Asse…
aasheptunov 363151e
fix: #80: fix for error caused by incorrect length specified in the p…
aasheptunov 5538e42
docs: #80: add clarifying comments for value stored in pad field in D…
aasheptunov fb6cbe1
test: #80: update test after changing value of pad field in unprotect…
aasheptunov c5c0a10
chore: #80: fix a typo
aasheptunov f6f130f
docs: #80: add number of issue to todo comment for additional_exclusions
aasheptunov ef646b4
test: #80: add test for check that pad calcutation was performed corr…
aasheptunov 3a3a0b6
docs(readme): bring test coverage score up to date
d3ea1d8
fix: #80: remove redundant call of _scan_pdf_to_get_its_data()
aasheptunov e7941d1
fix: #80: fix a typo
aasheptunov 4b5e6c1
docs(readme): bring test coverage score up to date
727c181
refactor: #80: change variable name from FIXTURES_DIR to TEST_FILES_DIR
aasheptunov 0816a36
refactor: #80: remove of the unused additional_exclusions parameter a…
aasheptunov 00d1f3c
docs: #80: refactor clarifying test comment
aasheptunov 4e64b60
refactor: #80: formatting changes
aasheptunov 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
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
This file was deleted.
Oops, something went wrong.
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
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
Oops, something went wrong.
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.