c2patool
c2patool copied to clipboard
Enable Multiple Parents (Ingredients)
Is there an ability to extend the --parent parameter to incorporate multiple parents. Right now my understanding is it takes in one parent, or you create an ingredients file however this is still one parent.
Suggestion would be to modify the ingredient folder ingest to account for all json files, counting them all as children ingredients.
c2patool sample/image.jpg -m sample/test.json -p ./ingredient -o signed_image.jpg
The C2PA spec only allows one ingredient to be a parent. You can add other ingredients into the ingredients field in the manifest definition. But it isn't as simple as adding it on the command line. I'll think about a better way to do this.