Skip to content

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

Open
aasheptunov wants to merge 64 commits into
developfrom
feature/#80-investigation-and-correction-of-hash-mismatches-during-the-signing-process
Open

feat: #80: investigation and correction of hash mismatches during the signing process#86
aasheptunov wants to merge 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
…pad when exclusions array length exceed 23
…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
Copy link
Copy Markdown
Contributor

JDRkow commented Jun 1, 2026

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.

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