Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

6 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Vault πŸ”

Vault is a CLI tool for securely decrypting encrypted data using RSA private keys. Built with Go, it provides a simple and efficient way to manage sensitive information.

Features

  • πŸ›‘οΈ RSA-based decryption
  • πŸ“œ PEM private key support
  • 🧩 Base64 decoding
  • βš™οΈ Lightweight and fast CLI tool

Installation

Clone the repository

To clone the repository, use the following command:

git clone git@github.com:trinhminhtriet/vault.git
cd vault

Environment Variables

export VAULT_PRIVATE_KEY_PATH="id_rsa path"

Add new command

cobra-cli add timezone

Run command

vault timezone EST

Clone command

cobra-cli add mfa
cobra-cli add getPasswd

vault mfa <encrypted data>
vault getPasswd <encrypted data>

Build

go build -o dist/vault main.go

🀝 How to contribute

We welcome contributions!

  • Fork this repository;
  • Create a branch with your feature: git checkout -b my-feature;
  • Commit your changes: git commit -m "feat: my new feature";
  • Push to your branch: git push origin my-feature.

Once your pull request has been merged, you can delete your branch.

πŸ“ License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

  • Go - The Go programming language.
  • Cobra - A library for creating powerful command-line applications in Go.

About

πŸ” Decrypt and manage encrypted data with a CLI tool built using Go and Cobra framework.

Topics

Resources

Stars

4 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages