Securely Manage Environment Variables with GPG-Encrypted Files

2025-04-17
Securely Manage Environment Variables with GPG-Encrypted Files

This shell tool provides a secure way to manage environment variables using GPG-encrypted files. It addresses the common issue of command-line tools needing environment variables containing sensitive information stored in unencrypted shell files. The tool allows users to read secrets from encrypted files and easily switch between different accounts. It supports nested logins, updates the `SECRET_LOGIN` environment variable, and modifies the shell prompt to display the current login. Autocomplete for available filenames is also included.