Ai2th
Posted on Nov 15
Edited on Nov 15
The problem
A Docker image ships your code in the clear . Anyone with the image can do this:
docker save your/app:latest -o app.tar tar -xf app.tar # unpack the layers and read everything
Enter fullscreen mode
Exit fullscreen mode
For interpreted languages such as Python, Node or Ruby, that means your entire source. If you sell software that customers run on their own servers, air-gapped networks or private clouds, that is a problem.
What cryptship does
cryptship ships your application encrypted , with a thin loader that decrypts and runs it only when a valid license is present.
One tool, one license format
Three deployment modes: air-gapped , on-prem and cloud
Written in Go, licensed GPLv3, first release v0.1.0
The 30-second version
Build time (you):
cryptship keygen : an Ed25519 signing keypair, once
cryptship pack : encrypt your app directory with a random key (AES-256-GCM) into payload.enc
cryptship issue : a signed license that wraps that key to…