Encryption

agevault – directory encryption using age

agevault is a small command-line utility for treating a directory as an encrypted vault using age.

Its workflow deliberately stays narrow: generate a passphrase-protected identity, lock a directory, and unlock it again when access is required. When locking a vault, agevault archives the directory and encrypts that archive to the public recipient embedded in the identity filename. Unlocking requires the passphrase needed to decrypt the corresponding private identity. This means possession of either the identity file or passphrase alone is insufficient. The project intentionally exposes no general configuration system, keeping the workflow close to age’s simplicity. Upstream explicitly states that agevault has been tested but has not undergone a formal security audit.

This is free and open source software.

Key Features

  • Generate X25519 age identities directly from the command line.
  • Protect the generated private identity with passphrase-based age encryption.
  • Lock a directory without asking for the identity passphrase.
  • Require the protected identity and its passphrase when unlocking the vault.
  • Package directory contents into a tar archive before encryption.
  • Use age itself for the cryptographic operations rather than implementing a new encryption scheme.
  • Securely overwrite and remove the plaintext directory after a successful lock operation.
  • Remove the encrypted vault file after it has been successfully unlocked.
  • Recognise when a vault is already locked or already unlocked.
  • Reject locking when the requested directory is missing.
  • Detect a missing identity file before attempting decryption.
  • Retain compatibility with vault data produced using the project’s earlier archive format.
  • Keep the command interface limited to key generation, locking and unlocking.
  • Support directories whose names begin with a dot.

Website: github.com/ndavd/agevault
Support:
Developer: Nuno David
License: MIT License

agevault is written in Go. Learn Go with our recommended free books and free tutorials.


Related Software

CLI File Encryption Tools
SOPSEditor of encrypted files
ageSimple file encryption tool
GnuPGImplementation of the OpenPGP standard
Sequoia PGPComprehensive OpenPGP implementation
horcruxFile splitter with encryption and redundancy
rageSimple encryption tool using the age format
KryptorSimple, modern, and secure file encryption and signing tool
PicocryptVery small (hence Pico), very simple, yet very secure encryption tool
fscryptGo tool for managing Linux filesystem encryption
encDesigned as a modern, approachable alternative to GnuPG
ccryptTool for encrypting and decrypting files and streams
EncpipeBilled as the simplest encryption tool in the world
VolarisEncryption tool designed to prioritize privacy and security
eddySimple and fast CLI file encryption
Xecrets Cli AxCrypt compatible encryption tool
nacryptSimple and easy-to-use file encryption utility
v02encSymmetric encryption for multiple recipients
rsecureAES-GCM file encryption and decryption tool
PurrCryptFur-ociously secure encryption tool

Read our verdict in the software roundup.


Best Free and Open Source Software Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.

This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk.

You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more.

Discovered a useful open source Linux program that we haven’t covered yet? Let us know by completing this form.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted