https://github.com/jeebuscrossaint/hazmat
A blazingly fast and tiny password manager in C99
https://github.com/jeebuscrossaint/hazmat
blazingly-fast c c99 fast password-manager tcc tiny
Last synced: about 1 year ago
JSON representation
A blazingly fast and tiny password manager in C99
- Host: GitHub
- URL: https://github.com/jeebuscrossaint/hazmat
- Owner: jeebuscrossaint
- License: bsd-2-clause
- Created: 2024-06-13T01:17:16.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2025-03-22T02:49:02.000Z (about 1 year ago)
- Last Synced: 2025-03-22T03:25:21.982Z (about 1 year ago)
- Topics: blazingly-fast, c, c99, fast, password-manager, tcc, tiny
- Language: C
- Homepage:
- Size: 113 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 🔐 HAZMAT

[](LICENSE)
[](https://bellard.org/tcc/)
[]()
[]()
*A blazingly fast and tiny CLI password manager written in C99 using TinyCC*
[Installation](#installation) • [Features](#features) • [Usage](#usage) • [Contributing](#contributing)
---
## ✨ Features
- 🔒 Secure password storage using OpenSSL encryption
- 🗑️ Secure data shredding
- 📦 JSON-based data storage
- 🚀 Blazingly fast and lightweight (< 200KB binary)
- 🐧 Native Linux support
- 🔑 Master password protection
## 🚀 Installation
### Prerequisites
- `tinycc` - The Tiny C Compiler
- `openssl` - Cryptography and SSL/TLS Toolkit
- `cjson` - Lightweight JSON parser
- `coreutils` - For the `shred` command (included in most Unix systems)
### Building from Source
```bash
git clone https://github.com/jeebuscrossaint/hazmat.git
cd hazmat
make release # Also works with bmake
sudo make install
```
## AUR Package
```bash
yay/paru -S hazmat # or your preferred AUR helper
```
## 🔧 Usage
```hazmat [OPTIONS]```
## Options
- `help` - Display help message
- `init` - Initialize password store
- `shred` - Securely delete all data
- `add` - Add a new entry
- `delete` - Delete an entry
- `show` - Display entry information
- `import` - Import data from file
- `export` - Export data to file
## 🤝 Contributin
Contributions are welcome! Feel free to submit a PR.
Do adhere to the `CONTRIBUTING.md` guidelines along with the code abiding by our `BSD-2-Clause` license.
## 📜 License
```
BSD 2-Clause License
Copyright (c) 2025, Amarnath P.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
```
Made with ❤️ by Amarnath P.