ProofableImage builds trust into your image by creating a blockchain certificate for it. The image certificate can not only prove the image as a whole but also prove the pixel boxes and the metadata inside it. For more details, please read through this Medium post.
If you want to prove your file system, please try out the Proofable CLI.
If you want to build trust into your own application, please check out the Proofable Framework.
Following these steps to install the latest prebuilt binary into your current working directory, which is recommended.
Copy, paste and run the following bash command in a macOS Terminal:
bash -c "$(eval "$(if [[ $(command -v curl) ]]; then echo "curl -fsSL"; else echo "wget -qO-"; fi) https://raw.githubusercontent.com/SouthbankSoftware/proofable-image/master/install.sh")"
Copy, paste and run the following PowerShell command in a PowerShell prompt:
& ([ScriptBlock]::Create((New-Object Net.WebClient).DownloadString('https://raw.githubusercontent.com/SouthbankSoftware/proofable-image/master/install.ps1')))
Install a global binary using go get
:
GO111MODULE=on go get github.com/SouthbankSoftware/proofable-image
Or clone this repo and build one:
-
follow the installation steps from Gio to setup the building environment
-
build the binary from source:
git clone https://github.com/SouthbankSoftware/proofable-image.git cd proofable-image make
When using ProofableImage for the first time, you will be asked to sign up/in to ProvenDB with your Google, Github, Facebook, or email account, so a free access token can be generated and saved locally for you. Then ProofableImage can pick up the token to access the Proofable API service in subsequent interactions.
./proofable-image path/to/your/image.png
This will create an image certificate at path/to/your/image.png.imgcert
if it doesn't exist yet, and verify the image against it. Then an image viewer will pop up to show any tampering. You can use the option -imgcert-path
to test the certificate on another image:
./proofable-image -imgcert-path=path/to/your/image.png.imgcert path/to/another/image.png
For all available options, please use:
./proofable-image -h
If you encounter this error in Linux, please make sure your graphics driver support OpenGL 3, which is required by the Gio. For example, the Linux installed in a Parallels Desktop VM only supports OpenGL 2 because of the limitation of the graphics driver provided by Parallels. By disabling the 3D acceleration, the Linux can then use the mesa-based software rendering instead, so OpenGL 3 APIs can be supported and ProofableImage can work as expected.
make build-all
make archive
- Create a GitHub release with the new version tag and binaires
- Update the versions in both
install.sh
andinstall.ps1