c2pa-js icon indicating copy to clipboard operation
c2pa-js copied to clipboard

Update assertion handling to support indexed assertion labels

Open dkozma opened this issue 3 years ago • 3 comments

Right now, we strip the assertion indices so that stds.exif__0, stds.exif__2, stds.exif__5 all get collapsed down to stds.exif in the HashMap. This is resulting in us losing some data, since the assertion index that is last processed will overwrite the previously processed ones.

Some questions:

  • If there are actions assertions across multiple labels, do we have the SDK iterate over all of them to ensure compliance with editsAndActivity?
  • Do these need to be sorted before being delivered to the client?

dkozma avatar Apr 26 '22 19:04 dkozma

Also worth calling out:

  • A single instance of an assertion can have an index appended to the label. e.g. A manifest could contain a single actions assertion with the label c2pa.actions__10

emensch avatar Apr 26 '22 19:04 emensch

@adobe export issue to Jira project CAI

crandmck avatar Jan 23 '23 19:01 crandmck

:white_check_mark: Jira issue https://jira.corp.adobe.com/browse/CAI-3370 is successfully created for this GitHub issue.

github-jira-sync-bot avatar Jan 23 '23 19:01 github-jira-sync-bot