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.
- 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
PascalCaseandsnake_casenaming conventions.
- No dynamic memory allocation (
- Web Interface: Generates a clean, styled HTML interface for user interaction.
.
├── main.cpp # CGI Entry point and HTML output
├── password_generator.cpp # Core logic implementation
├── password_generator.h # Interface definition
└── README.md # Documentation
To compile the project, you need a standard C++ compiler (like g++).
g++ -o pass_gen.cgi main.cpp password_generator.cppCopy the resulting pass_gen.cgi file to your web server's CGI directory (e.g., /usr/lib/cgi-bin/ or /var/www/cgi-bin/).
Ensure the file is executable:
chmod +x /path/to/cgi-bin/pass_gen.cgiOnce deployed, access the generator via your browser:
http://localhost/cgi-bin/pass_gen.cgi
All core logic is encapsulated in the ids_mil_security namespace.
