lock
Encrypts and decrypts files using XChaCha20-Poly1305 AEAD with Argon2id key derivation
clone: git clone https://git.smichalk.dev/repos/lock.git
README
lock - encrypt and decrypt files using libsodium
REQUIREMENTS
libsodium-dev
INSTALL
make
make install
UNINSTALL
make uninstall
USAGE
lock encrypt <file>
Creates <file>.locked
lock decrypt <file.locked>
Creates <file> (strips .locked extension)
FILES
/usr/local/bin/lock
/usr/local/share/man/man1/lock.1
DESCRIPTION
Encrypts and decrypts files using XChaCha20-Poly1305 AEAD with
Argon2id key derivation. All secrets (passphrases, keys) are
stored in locked memory and zeroed before deallocation.
Encrypted files are base64-encoded and saved with a .locked
suffix.