Encrypt files in the shell with v02enc

Conclusions

Niehage's v02enc proves that good ideas do not necessarily have to come from corporations and do not always take years to successfully implement. Based on his experience with Shared-Secrets, Niehage has designed v02enc to easily encrypt and decrypt secrets for sharing via the command line and for saving in source code directories. The ability to encrypt a file for access by several users in parallel greatly facilitates the work of teams.

Admittedly, you could create a comparable feature set using Ansible Vault. However, Ansible Vault cannot compete with v02enc in terms of leanness; it also requires significantly more overhead to make it work. Conversely, v02enc can be easily distributed to any system that needs it, as can the keys of the users who will use it. Tools such as vim02enc and seamless integration with the Git and Mercurial diff views, as well as Keychain integration on macOS round out the package. If you are looking for a lean alternative to Ansible Vault, you will definitely want to take a closer look at v02enc.

Infos

  1. "Linux Shadow Password HOWTO" by Michael H. Jackson, The Linux Documentation Project, 1996 (PDF): https://tldp.org/HOWTO/pdf/Shadow-Password-HOWTO.pdf
  2. Shared-Secrets: https://github.com/yahesh/shared-secrets
  3. Shared-Secrets online service: https://secrets.nhg.name
  4. age encryption: https://github.com/FiloSottile/age
  5. v02enc source code: https://github.com/yahesh/v02enc

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy Linux Magazine

SINGLE ISSUES
 
SUBSCRIPTIONS
 
TABLET & SMARTPHONE APPS
Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

comments powered by Disqus
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters

Support Our Work

Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.

Learn More

News