Skip to content
moby7972Public

About

A password generator and storage program created using C code and Binary files.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

11 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

🔐 ForgetNot — Command-Line Password Manager (C)

ForgetNot is a terminal-based password manager written in C that allows users to generate, store, view, edit, and delete passwords using binary file storage.
The project focuses on low-level systems concepts such as memory management, binary I/O, and modular program design.


✨ Features

  • 🔑 Password Generation

    • User-defined length
    • Optional symbols
    • Randomized using rand() seeded with system time
  • 💾 Binary File Storage

    • Passwords stored securely in a binary file (passwords.db)
    • Uses fixed-size struct records for consistency and safety
  • 👀 View Saved Passwords

    • Lists all saved services
    • View service, username, and password
  • ✏️ Edit Passwords

    • Edit service name, username, password, or all fields
    • Option to generate a new password during edit
  • 🗑 Delete Passwords

    • Safely remove passwords with confirmation
  • 🧠 Modular Design

    • Separate source files for each feature
    • Static library (libpass.a) built with Makefile

🛠 Technologies & Concepts Used

  • C (C99)
  • Dynamic memory allocation (malloc, realloc, free)
  • Binary file I/O (fread, fwrite)
  • Struct-based data modeling
  • Static libraries
  • Makefile-based build system
  • Defensive programming & input validation

📁 Project Structure

ForgetNot/ │ ├── src/ │ ├── main.c │ ├── generatePassword.c │ ├── savePassword.c │ ├── viewPassword.c │ ├── editPassword.c │ ├── deletePassword.c │ └── header.h │ ├── Makefile └── README.md


▶️ How to Build & Run

Requirements

  • GCC (MinGW on Windows)
  • mingw32-make

Build

mingw32-make

Run

.\bin\password.exe

👤 Author

Moby Computer Science student Built as a systems programming & learning project

About

A password generator and storage program created using C code and Binary files.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages