Skip to content
This repository has been archived by the owner on Feb 18, 2019. It is now read-only.
/ aenker-py Public archive

python script to use python-cryptography (ChaCha20Poly1305 / AES-GCM) and Argon2 from the commandline; simple en/decryption utility; nonstandard file format

Notifications You must be signed in to change notification settings

ansemjo/aenker-py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DEPRECATED - use ansemjo/aenker instead

aenker

authenticated encryption ~> aencr ~> aenker

Shows some resemblance to the German word 'Anker'.

What is this?

This is a simple Python 3 script to wrap around python-cryptography and Argon2.

I was looking for a simple commandline utility to use some form of authenticated encryption - in particular ChaCha20Poly1305 or AES-GCM - on the commandline for simple files. I didn't find any, so I set out to write my own. (Of course, there is still the symmetric mode of GPG)

Note: I didn't actually write any of the crypto. I am just plugging together some low-level functions from readily-made cryptographic libraries. Let's hope I didn't make any cruel mistakes while doing that.

On-disk format uses Google's protobuf2, so interfaces in other languages should be easily achievable.

Installation

Clone git clone .. and install make install or simply use ./aenker.py after compiling the protocol buffers with protoc --python_out=. aenker.proto.

Requires packages from PyPI:

  • cryptography
  • argon2_cffi

Requires protoc to compile the protocol buffers.

Usage

For most up-to-date usage information run ./aenker.py --help.

aenker-usage

About

python script to use python-cryptography (ChaCha20Poly1305 / AES-GCM) and Argon2 from the commandline; simple en/decryption utility; nonstandard file format

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published