Skip to content

v1.3.0 - Correct validation verdicts, upload confirmations, watermark attestations

Choose a tag to compare

@aloth aloth released this 10 Sep 08:35
· 21 commits to main since this release

Origin Lens verifies image authenticity on device. It reads C2PA Content Credentials, checks their signatures and asset binding, and parses EXIF metadata, so you can see what an image claims about its own origin.

This release corresponds to version 1.3 of the App Store app.

Corrected validation verdicts

The reader classified validation results by testing status codes for the lowercase substrings "signature", "expired" and "trust", and treated any other result as verified. The library's codes are camelCase: claimSignature.mismatch carries a capital S, and assertion.dataHash.mismatch contains none of those words. An image whose content no longer matched the hash its manifest signed was therefore displayed as authentic.

Status codes are now compared exactly, against the constants in c2pa-rs 0.32.7. Unrecognised failures are reported with their codes rather than silently accepted.

Vendored test fixtures from the c2pa-rs corpus cover this. XCA.jpg, whose asset binding fails, is the regression case: the test fails against the previous implementation and passes against the current one.

Confirmation before anything leaves the device

Two paths upload images, and both now ask first, with a "Don't ask again" checkbox stored separately per path:

  • The AI assessment, offered when no Content Credentials are found.
  • Reverse image search, which uploads to Google, Bing, Yandex and TinEye.

Previously the AI assessment ran as a silent fallback and reverse search uploaded on a single tap.

Watermark attestations

The reader now recognises the c2pa.watermarked action and the c2pa.soft-binding assertion, both defined by the C2PA specification. This reads a signed claim that a watermark exists; it is not a watermark decoder, and the distinction is documented in the source.

Repository

Continuous integration runs the Rust tests and Flutter analysis on every push. src/.env.example documents the two optional API keys. Both dependency lock files are tracked, recording c2pa 0.32.7, flutter_rust_bridge 2.11.1 and kamadak-exif 0.5.5.

Install

iPhone and iPad: https://apps.apple.com/us/app/origin-lens/id6756628121

Building from source: see src/README.md.