Skip to content

marchildmann/IDS_CGI_PasswordGenerator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IDS CGI Password Generator

A secure, military-grade C++ CGI (Common Gateway Interface) application that generates strong, readable passwords. This project strictly adheres to the Joint Strike Fighter Air Vehicle (JSF AV) C++ Coding Standards (Document 2RDU00001) to ensure safety, reliability, and determinism.

Screenshot

Password Generator Interface

Features

  • High Security: High entropy generation using mixed alphanumeric characters.
  • Readability: Excludes ambiguous characters (e.g., 0, O, 1, I, l) to prevent user error.
  • Safety Critical Compliance:
    • No dynamic memory allocation (new, delete, malloc).
    • No exceptions (try, catch).
    • Stack-based fixed buffers.
    • Strict PascalCase and snake_case naming conventions.
  • Web Interface: Generates a clean, styled HTML interface for user interaction.

Project Structure

.
├── main.cpp                # CGI Entry point and HTML output
├── password_generator.cpp  # Core logic implementation
├── password_generator.h    # Interface definition
└── README.md               # Documentation

Build Instructions

To compile the project, you need a standard C++ compiler (like g++).

Compile

g++ -o pass_gen.cgi main.cpp password_generator.cpp

Deploy

Copy the resulting pass_gen.cgi file to your web server's CGI directory (e.g., /usr/lib/cgi-bin/ or /var/www/cgi-bin/).

Permissions

Ensure the file is executable:

chmod +x /path/to/cgi-bin/pass_gen.cgi

Usage

Once deployed, access the generator via your browser:

http://localhost/cgi-bin/pass_gen.cgi

Namespace

All core logic is encapsulated in the ids_mil_security namespace.

About

JSF compliant C++ CGI password generator

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published