https://github.com/trinhminhtriet/vault
🔐 Decrypt and manage encrypted data with a CLI tool built using Go and Cobra framework.
https://github.com/trinhminhtriet/vault
cli cryptography decryption encryption go rsa security
Last synced: about 1 year ago
JSON representation
🔐 Decrypt and manage encrypted data with a CLI tool built using Go and Cobra framework.
- Host: GitHub
- URL: https://github.com/trinhminhtriet/vault
- Owner: trinhminhtriet
- License: mit
- Created: 2025-04-09T15:34:58.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2025-04-09T16:50:21.000Z (about 1 year ago)
- Last Synced: 2025-04-09T17:27:45.852Z (about 1 year ago)
- Topics: cli, cryptography, decryption, encryption, go, rsa, security
- Language: Go
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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:
```sh
git clone https://github.com/your-username/vault.git
cd vault
```
### Environment Variables
```sh
export VAULT_PRIVATE_KEY_PATH="id_rsa path"
```
### Add new command
```sh
cobra-cli add timezone
```
### Run command
```sh
vault timezone EST
```
### Clone command
```sh
cobra-cli add mfa
cobra-cli add getPasswd
vault mfa
vault getPasswd
```
### Build
```sh
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](LICENSE) file for details.
## Acknowledgments
- [Go](https://golang.org/) - The Go programming language.
- [Cobra](https://github.com/spf13/cobra) - A library for creating powerful command-line applications in Go.