From 435d05b6783be3b280cb8080456123eb9ed4b346 Mon Sep 17 00:00:00 2001 From: zaphod-black Date: Sun, 2 Nov 2025 23:49:19 -0600 Subject: [PATCH] Add .gitignore to prevent credential exposure MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit SECURITY: Protect sensitive files from accidental commits Added comprehensive .gitignore to prevent committing: - Encryption keys (*.key, *.pem, encryption-key*.json) - Configuration files (pbs-client.conf, /config/) - Credentials and secrets (.env, credentials*, secrets*) - Logs that might contain sensitive data (*.log, /logs/) - Temporary files (*.tmp, *.swp, *~) - IDE and build artifacts This ensures no sensitive data is accidentally committed to the repo. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- .gitignore | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..566c82f --- /dev/null +++ b/.gitignore @@ -0,0 +1,54 @@ +# Credentials and secrets +*.key +*.pem +*.json.bak +encryption-key*.json +encryption-key*.txt +.env +.env.* +credentials* +secrets* + +# Configuration files that might contain credentials +/config/ +pbs-client.conf +*.conf.backup + +# Logs that might contain sensitive info +*.log +/logs/ + +# Temporary files +*.tmp +*.swp +*.swo +*~ +.DS_Store + +# IDE files +.vscode/ +.idea/ +*.code-workspace + +# Build artifacts +*.o +*.a +*.so +dist/ +build/ + +# Python +__pycache__/ +*.py[cod] +*$py.class +.Python +venv/ +env/ +ENV/ + +# Docker +docker-compose.override.yml + +# Test artifacts +test-results/ +coverage/