Skip to main content

A Python implementation of Aletheia

Project description

PyPi Thanks! License Documentation

A Python 3 implementation of Aletheia.

This is how we get from

I read it on the Internet, so it must be true.

to

Yesterday, the Guardian had a story about a prominent politician doing something they weren’t supposed to be doing. The video footage was certified authentic, and the author of the article stands by her work.

Aletheia is a little program you run to attach your name – and reputation – to the files you create: audio, video, and documentation, all of it can carry authorship, guaranteed to be tamper proof.

Once you use Aletheia to sign your files, you can share them all over the web, and all someone has to do to verify the file’s author is run Aletheia against the file they just received. The complication of fetching public keys and verifying signatures is all done for you.

If this sounds interesting to you, have a look at the documentation or even install it and try it out yourself.

The Goal

I want to live in a world where journalism means something again. Where “some guy on the internet” making unsubstantiated claims can be fact-checked by organisations who have a reputation for doing the work of accurate reporting. More importantly though, I think we need a way to be able to trust what we see again.

New technologies are evolving every day that allow better and better fakes to be created. Now more than ever we need a way to figure out whether we trust the source of something we’re seeing. This is an attempt to do that.

How to Use it

The process is pretty straight forward. Install the system dependencies as described in the setup documentation and then:

$ pip install aletheia

Once it’s installed, you can verify a file to try it out. Use this one as a starting example.

Command Line API

$ aletheia verify path/to/test.jpg

Python API

from aletheia.utils import verify

verify("path/to/test.jpg")

More details can be found in the command line API and Python API documentation.

Colophon & Disambiguation

This project is named for the Greek goddess of truth & verity – a reasonable name for a project that’s trying to restore truth and verified origins to the web. It also doesn’t hurt that the lead developer’s wife is Greek ;-)

It’s been noted that there’s another project out there with the same name. The two projects are totally unrelated, despite the identical name and the fact that both lead developers are named “Daniel”.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aletheia-2.0.0.tar.gz (5.3 MB view details)

Uploaded Source

Built Distribution

aletheia-2.0.0-py2.py3-none-any.whl (43.2 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file aletheia-2.0.0.tar.gz.

File metadata

  • Download URL: aletheia-2.0.0.tar.gz
  • Upload date:
  • Size: 5.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for aletheia-2.0.0.tar.gz
Algorithm Hash digest
SHA256 b6b53ac07c44aa2c77a9f8212d662e484f0f0108577fad75cd9a747d20d7f17f
MD5 0442b1729c733278ebbd2fdf720334bb
BLAKE2b-256 c3480f76e3e954dab7489ebfc68d254ca68865842d1948a6db4ff08d5784ac7a

See more details on using hashes here.

File details

Details for the file aletheia-2.0.0-py2.py3-none-any.whl.

File metadata

  • Download URL: aletheia-2.0.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 43.2 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for aletheia-2.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 5ea2697db3857f6bf9d24d4c91d2fb4f65ee046f18286759743f4e4a39dfe44b
MD5 fb8c8ca2818c8404f77e3251eaef645d
BLAKE2b-256 f280d109fb63088650ed0ce9b465c667ba65454d94b2820504a4f79e48861a2c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page