{"id":24014736,"url":"https://github.com/sv592/secure_file_manager","last_synced_at":"2026-06-10T22:31:06.806Z","repository":{"id":271481619,"uuid":"913589390","full_name":"SV592/secure_file_manager","owner":"SV592","description":"A lightweight C++ application for secure file encryption, decryption, hashing, and digital signature management.","archived":false,"fork":false,"pushed_at":"2025-07-12T18:10:31.000Z","size":20,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-12T20:28:18.807Z","etag":null,"topics":["cmake","cpp","cryptography"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SV592.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-01-08T01:28:34.000Z","updated_at":"2025-07-12T18:10:34.000Z","dependencies_parsed_at":"2025-01-15T16:40:05.918Z","dependency_job_id":null,"html_url":"https://github.com/SV592/secure_file_manager","commit_stats":null,"previous_names":["sv592/secure_file_manager"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SV592/secure_file_manager","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SV592%2Fsecure_file_manager","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SV592%2Fsecure_file_manager/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SV592%2Fsecure_file_manager/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SV592%2Fsecure_file_manager/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SV592","download_url":"https://codeload.github.com/SV592/secure_file_manager/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SV592%2Fsecure_file_manager/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34174148,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-10T02:00:07.152Z","response_time":89,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cmake","cpp","cryptography"],"created_at":"2025-01-08T07:19:49.851Z","updated_at":"2026-06-10T22:31:06.801Z","avatar_url":"https://github.com/SV592.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Secure File Manager\n\nA cryptographic file operations tool with a CLI and an Electron desktop GUI.\n\n![C++17](https://img.shields.io/badge/C%2B%2B-17-blue)\n![OpenSSL](https://img.shields.io/badge/OpenSSL-3.x-green)\n![Electron](https://img.shields.io/badge/Electron-31-purple)\n\n## Features\n\n- **Encrypt** — AES-256-CBC file encryption with random IV and key\n- **Decrypt** — AES-256-CBC file decryption using stored key/IV\n- **Hash** — SHA-256 file hashing\n- **Sign** — RSA digital signature creation\n- **Verify** — RSA signature verification\n\n## Screenshots\n\nThe Electron GUI uses a cyberpunk-themed dark interface with neon accent colors, CRT scanline effects, and native file browse dialogs.\n\n## Prerequisites\n\n- **Visual Studio 2022** (MSVC C++17 compiler)\n- **CMake 3.10+**\n- **OpenSSL 3.x** — installed at `C:\\Program Files\\OpenSSL-Win64`\n- **Node.js 18+** — for the Electron GUI\n- **Windows 10 SDK**\n\n## Building the CLI\n\nOpen a **Developer Command Prompt for VS 2022** and run:\n\n```bash\ncmake -S . -B build -G \"NMake Makefiles\" -DCMAKE_BUILD_TYPE=Release -DOPENSSL_ROOT_DIR=\"C:\\Program Files\\OpenSSL-Win64\"\ncmake --build build --target secure_file_manager\n```\n\nOr with the Visual Studio generator:\n\n```bash\ncmake -S . -B build -G \"Visual Studio 17 2022\" -A x64\ncmake --build build --config Release --target secure_file_manager\n```\n\n## CLI Usage\n\n```bash\nsecure_file_manager encrypt \u003cinput_file\u003e \u003coutput_file\u003e\nsecure_file_manager decrypt \u003cinput_file\u003e \u003coutput_file\u003e\nsecure_file_manager hash \u003cfile\u003e\nsecure_file_manager sign \u003cfile\u003e \u003csignature_file\u003e\nsecure_file_manager verify \u003cfile\u003e \u003csignature_file\u003e\n```\n\n- Encryption generates `key_iv.bin` in the working directory (required for decryption)\n- Signing requires `private.pem` in the working directory\n- Verification requires `public.pem` in the working directory\n\n## Electron GUI\n\nThe desktop GUI wraps the CLI with a cyberpunk-themed interface built on Electron.\n\n### Setup\n\n```bash\ncd gui\nnpm install\n```\n\n### Launch\n\n```bash\nunset ELECTRON_RUN_AS_NODE\nnpm start\n```\n\n\u003e **Note:** VS Code's integrated terminal sets `ELECTRON_RUN_AS_NODE=1` which prevents Electron from launching as a desktop app. Run `unset ELECTRON_RUN_AS_NODE` first, or use a standalone terminal.\n\nThe GUI spawns the compiled CLI executable (`build/secure_file_manager.exe`) for all cryptographic operations. Make sure the CLI is built before launching the GUI.\n\n## Running Tests\n\n```bash\ncmake --build build --target test_crypto\n./build/test_crypto\n```\n\nThis runs a basic roundtrip test: creates a file, encrypts it, decrypts it, and verifies the output matches the original.\n\n## Project Structure\n\n```\nsecure_file_manager/\n  src/\n    main.cpp             CLI entry point\n    cryptography.h/cpp   CryptoManager class (OpenSSL EVP API)\n    utils.h/cpp          Utility functions\n    test_crypto.cpp      Roundtrip encryption test\n  include/\n    utils.h              Shared header\n  gui/\n    main.js              Electron main process\n    preload.js           IPC context bridge\n    index.html           UI layout (sidebar + 5 operation panels)\n    styles.css           Cyberpunk neon noir theme\n    app.js               Renderer logic\n    package.json         Electron dependency\n  CMakeLists.txt         Build configuration\n```\n\n## License\n\nSee repository for license details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsv592%2Fsecure_file_manager","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsv592%2Fsecure_file_manager","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsv592%2Fsecure_file_manager/lists"}