goTimeLock
CLI for encrypting and decrypting using drand's quicknet network.
Installation
From Source
Clone the repository and build the cli using make build TARGET=goTimeLock.
Using Go
go install codeberg.org/raphaeltannous/goTimeLock/cmd/goTimeLock@latest
Usage
Usage:
-a Output format is armor.
-d Decrypt the input to the output. Default output is os.Stdout.
-D How long to encrypt the file.
-e Encrypt the input to the output. Default output is os.Stdout.
-h Print this help.
-o Output file to encrypt/decrypt to.
Duration format is dhms, where d represents days, h represents hours, m represents minutes and s seconds.
Duraiton example: 10d7h30m9s
Examples:
$ goTimeLock -e -D 30s -o file.md.enc file.md
$ goTimeLock -d file.md.enc