o
odinpkg.dev
packages / binding / heimvault

heimvault

v1.0binding

Minimalist, efficient command-line secret manager written in Odin

MIT · updated 4 months ago

Heimvault 🛡️

Heimvault is a minimalist, efficient command-line secret manager. It is written in the Odin programming language and leverages Libsodium for industry-standard, "misuse-resistant" cryptography.

Prerequisites

To build and run Heimvault, you must have the Odin compiler installed and the Libsodium development files available on your system.

Install Libsodium

  • Ubuntu/Debian: sudo apt install libsodium-dev

Local Build Instructions

Run the following command from the project root:

odin build src -out:heimvault -o:speed

Usage

Heimvault uses a simple command key=value syntax.

To add a new password to the vault run:

heimvault new site=yoursite.com username=youruser password=yoursecret

To list all currently stored passwords use:

heimvault list

Fetching a password by a website is supported using:

heimvault get site=yoursite.com

To get all passwords by a username run:

heimvault get username=youruser

Removing a password by a website is done using:

heimvault remove site=yoursite.com

In order to remove all passwords for a specific username execute:

heimvault remove username=youruser

To clear the vault run:

heimvault clear

Disclaimer

Even though the program aims to be useful, it is distributed under the MIT License WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND.
The users are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with their exercise of permissions under the License.