Skip to content
Open
Show file tree
Hide file tree
Changes from 48 commits
Commits
Show all changes
59 commits
Select commit Hold shift + click to select a range
f2a8951
fix: create signer tests
tmathern Jun 20, 2025
32a14b8
fix: Test repro
tmathern Jun 20, 2025
07729ac
fix: Clean up
tmathern Jun 20, 2025
a60d376
fix: Plenty of debug logs
tmathern Jun 21, 2025
8e791d1
fix: Remove debug logs
tmathern Jun 21, 2025
97374d3
fix: Clean up
tmathern Jun 21, 2025
9b41397
fix: FOrmat
tmathern Jun 21, 2025
4e81626
fix: Clean up
tmathern Jun 21, 2025
547cd74
fix: Change return
tmathern Jun 21, 2025
fced710
fix: Change sign_file signature again
tmathern Jun 21, 2025
f693f55
fix: Improve pointer handling and refactor
tmathern Jun 21, 2025
53f0574
fix: Refactor
tmathern Jun 21, 2025
500eb60
fix: Refactor
tmathern Jun 21, 2025
496ee20
fix: Refactor
tmathern Jun 21, 2025
e262237
fix: Refactor 3
tmathern Jun 21, 2025
0db06c8
fix: Refactor once more
tmathern Jun 21, 2025
3ca91c6
fix: Refactor once more with overload
tmathern Jun 21, 2025
be49781
fix: Refactor once more with overload
tmathern Jun 21, 2025
8b5c6d4
fix: Format
tmathern Jun 21, 2025
22860df
fix: Change logic
tmathern Jun 21, 2025
a97a28f
fix: Deprecation
tmathern Jun 21, 2025
532825e
fix: Logic
tmathern Jun 21, 2025
e9b9f7a
fix: Test stdout output
tmathern Jun 21, 2025
9775407
fix: One last format
tmathern Jun 21, 2025
2ca2298
fix: Refactor
tmathern Jun 24, 2025
12f04d4
fix: Refactor 2
tmathern Jun 24, 2025
b2a47f4
fix: Refactor
tmathern Jun 25, 2025
7b075af
fix: Better API
tmathern Jun 25, 2025
8df82ba
fix: Verify error gets raised
tmathern Jun 25, 2025
6c865bd
fix: Verify error gets raised 2
tmathern Jun 25, 2025
cd13130
fix: Add context manager test for callback signer
tmathern Jun 25, 2025
4d50c05
fix: Verify used alg in tests
tmathern Jun 25, 2025
40a05f2
fix: More tests
tmathern Jun 25, 2025
034c779
fix: Verify signer can be used multiple times
tmathern Jun 25, 2025
b551e69
fix: Be more friendly with input
tmathern Jun 25, 2025
2835bb3
fix: Throw in stream optimization
tmathern Jun 25, 2025
b20c9db
fix: Faster memory tricks
tmathern Jun 25, 2025
7b9698f
fix: Memory handling change
tmathern Jun 25, 2025
aa701a7
fix: Docs
tmathern Jun 25, 2025
5cb1a71
fix: Docs
tmathern Jun 25, 2025
876d32a
fix: Refactor
tmathern Jun 25, 2025
e9828ea
fix: Import changes, error handling made consistent, formatting (#126)
tmathern Jun 25, 2025
c399d79
fix: Return sign values
tmathern Jun 25, 2025
839a570
fix: Return sign values
tmathern Jun 25, 2025
9f3d69b
fix: Initial file guesses
tmathern Jun 25, 2025
8b7aaa6
fix: One more test
tmathern Jun 25, 2025
2d46b89
fix: Add test
tmathern Jun 25, 2025
dc2df9a
fix: Update code for mov
tmathern Jun 25, 2025
82a3ee9
fix: Typo
tmathern Jun 25, 2025
380246e
fix: Update tests
tmathern Jun 25, 2025
53b6ff8
fix: Add docs on test files
tmathern Jun 26, 2025
376a562
fix: Prepare version number bump
tmathern Jun 26, 2025
a8b5904
fix: Change API build.sign* to return manifest bytes
tmathern Jun 26, 2025
6e9cd77
ci: Merge branch 'mathern/sign-file' into mathern/add-extension-guessing
tmathern Jun 26, 2025
31dbe02
fix: Follow-up update
tmathern Jun 26, 2025
3143355
ix: Merge in main
tmathern Jun 26, 2025
1b2e009
fix: Bump version number
tmathern Jun 26, 2025
0317922
fix: Bump version number
tmathern Jun 26, 2025
e4aa034
fix: Update docs
tmathern Jun 27, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,7 @@ pytest-benchmark>=5.1.0
requests>=2.0.0

# Code formatting
autopep8==2.0.4 # For automatic code formatting
autopep8==2.0.4 # For automatic code formatting

# Test dependencies (for callback signers)
cryptography==45.0.4
600 changes: 402 additions & 198 deletions src/c2pa/c2pa.py

Large diffs are not rendered by default.

Binary file added tests/fixtures/extensionless-files/avi
Binary file not shown.
Binary file added tests/fixtures/extensionless-files/avif
Binary file not shown.
Binary file added tests/fixtures/extensionless-files/gif
Binary file not shown.
Binary file added tests/fixtures/extensionless-files/heic
Binary file not shown.
Binary file added tests/fixtures/extensionless-files/jpg
Binary file not shown.
Binary file added tests/fixtures/extensionless-files/m4a
Binary file not shown.
Binary file added tests/fixtures/extensionless-files/mp3
Binary file not shown.
Binary file added tests/fixtures/extensionless-files/mp4
Binary file not shown.
Binary file added tests/fixtures/extensionless-files/pdf
Binary file not shown.
Binary file added tests/fixtures/extensionless-files/png
Binary file not shown.
11 changes: 11 additions & 0 deletions tests/fixtures/extensionless-files/svg

Large diffs are not rendered by default.

Binary file added tests/fixtures/extensionless-files/tiff
Binary file not shown.
Binary file added tests/fixtures/extensionless-files/wav
Binary file not shown.
Binary file added tests/fixtures/extensionless-files/webp
Binary file not shown.
600 changes: 587 additions & 13 deletions tests/test_unit_tests.py

Large diffs are not rendered by default.