Introduction
In a world where the line between reality and digital fiction becomes increasingly blurred, ensuring the authenticity of images has become crucial. Apple recently unveiled its Apple Reference Image, a technology aimed at proving that a photo was actually taken by a camera, not AI-generated. While this advancement is impressive, an open-source alternative using steganography could offer a more flexible and accessible solution.
What is Proof of Capture?
The idea behind Proof of Capture is to provide a method for verifying that an image was captured by a real camera at a given time. Unlike traditional methods that focus on detecting fake images after the fact, this approach proves authenticity at the moment of capture.
The Underlying Technology
During a summer spent at the Recurse Center, Alex Hornstein and I built a camera capable of proving the authenticity of an image as soon as it is captured. The device uses a Raspberry Pi Zero, a display board, an ATECC608 crypto chip, a shutter button, and a 3D-printed enclosure.
Steganography and Perceptual Hashes
To ensure that authenticity proofs survive image modifications, we use steganography. This technique allows an invisible watermark to be hidden directly in the image pixels, containing a signed perceptual hash. Unlike metadata, which are often stripped for privacy reasons, this method preserves the signature even after compression or resizing.
Why Steganography?
Steganography was chosen for its ability to withstand WhatsApp-quality compressions while allowing content edits detection. Our first version hid an exact SHA-256 hash, but it was vulnerable to JPEG recompressions. The current version signs a perceptual hash and spreads it across the image as a frequency-domain watermark (DWT + DCT).
The Role of the ATECC608 Chip
The ATECC608 crypto chip plays a crucial role in our solution. It handles the image signing with a private key that never leaves the chip, ensuring the security of the operation. In case of tampering attempts, the chip automatically locks itself.
Comparison with Apple's Solution
Apple uses a similar approach but differs in implementation. Their technology signs every pixel at capture time and then develops the signature into a "digital negative" that coexists with the photo. However, their method remains anchored in their proprietary ecosystem, limiting external verifications.
The Importance of an Open Source Solution
An open-source solution offers several advantages, including transparency and flexibility. Unlike Apple's solution, an open-source approach would allow developers and institutions to easily customize and integrate the technology into their existing systems without relying on a single vendor.
Conclusion
The authenticity of images is a crucial issue in our current digital society. While Apple offers a proprietary solution, the open-source approach using steganography provides a promising and accessible alternative. Ultimately, it is open collaboration and innovation that will create robust standards for the future.
Let's discuss your project in 15 minutes.