Skip to content

Conversation

@tmathern
Copy link
Collaborator

@tmathern tmathern commented Jun 28, 2025

  • Add an example that showcases v2 manifest signing + callback signer
  • Keep old example (renamed to signer_info) showing signing using signer information and v1 manifest
  • Use cawg assertions in more examples
  • Add unit tests for V2 signing (because I want us to have the examples also be part of the unit tests)

@tmathern tmathern requested a review from crandmck June 28, 2025 03:14
@tmathern tmathern self-assigned this Jun 28, 2025
@tmathern tmathern changed the title fix: Docs update fix: Examples update Jun 28, 2025
{'@type': 'Person', 'name': 'Example User'}
"label": "c2pa.actions",
"data": {
"actions": [
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe this is the most minimal valid V2 manifest we can have.


### Run the callback signing and verification example

In this example, signing is done using a callback signer:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In this example, a callback signer does the signer:

Copy link
Collaborator Author

@tmathern tmathern Aug 11, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In this example, a callback signer is the signer is more accurate (is instead of does - because it is only one part that we use, we still provide the whole other plumbing to sign)

@tmathern tmathern merged commit 4dc3831 into main Aug 11, 2025
13 of 17 checks passed
@tmathern tmathern deleted the mathern/docs-update branch August 11, 2025 20:03
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