Skip to content

feat: #80: investigation and correction of hash mismatches during the signing process#86

Merged
aasheptunov merged 64 commits into
developfrom
feature/#80-investigation-and-correction-of-hash-mismatches-during-the-signing-process
Jun 4, 2026
Merged

feat: #80: investigation and correction of hash mismatches during the signing process#86
aasheptunov merged 64 commits into
developfrom
feature/#80-investigation-and-correction-of-hash-mismatches-during-the-signing-process

Conversation

@aasheptunov

Copy link
Copy Markdown

No description provided.

aasheptunov and others added 30 commits May 25, 2026 09:12
…ches-during-the-signing-process' of https://github.com/TourmalineCore/c2pie into feature/#80-investigation-and-correction-of-hash-mismatches-during-the-signing-process
…ches-during-the-signing-process' of https://github.com/TourmalineCore/c2pie into feature/#80-investigation-and-correction-of-hash-mismatches-during-the-signing-process
…ches-during-the-signing-process' of https://github.com/TourmalineCore/c2pie into feature/#80-investigation-and-correction-of-hash-mismatches-during-the-signing-process
Comment thread c2pie/c2pa/assertion.py Outdated
Comment thread c2pie/c2pa/assertion.py
Comment thread c2pie/c2pa_injection/pdf_injection.py Outdated
Comment thread c2pie/c2pa/assertion.py Outdated
@JDRkow

JDRkow commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

please delete commented code and tests if its not usable anymore

Comment thread c2pie/c2pa/assertion.py
Comment thread c2pie/c2pa_injection/pdf_injection.py
Comment thread c2pie/c2pa_injection/pdf_injection.py
Comment thread c2pie/c2pa_injection/pdf_injection.py Outdated
Comment thread c2pie/c2pa_injection/pdf_injection.py Outdated
Comment thread c2pie/c2pa_injection/pdf_injection.py Outdated
Comment thread c2pie/interface.py
Comment thread tests/c2pa/assertions/data_hash_assertion_test.py Outdated
Comment thread tests/c2pa/claim_signature_test.py Outdated
Comment thread tests/c2pa/e2e_test.py Outdated
@aasheptunov

Copy link
Copy Markdown
Author

please delete commented code and tests if its not usable anymore

If you're referring to additional_exclusions, this code works, but without the logic to account for exclusions when calculating the hash, it results in an invalid signature. I've commented out the relevant parameter to prevent unexpected errors, and the tests have been adjusted correspondingly.

Once the logic for handling exclusions is implemented, the commented-out code can be restored.

@aasheptunov aasheptunov merged commit cdbf950 into develop Jun 4, 2026
52 checks passed
@aasheptunov aasheptunov deleted the feature/#80-investigation-and-correction-of-hash-mismatches-during-the-signing-process branch June 4, 2026 04:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants