Skip to content

Commit e0db05d

Browse files
committed
security: add comprehensive secret/credential patterns to .gitignore
- Block environment files: *.env, .env*, *.env.* - Block certificates: *.pem, *.key, *.crt, *.cer, *.der - Block encrypted files: *.gpg, *.p12, *.pfx - Block SSH keys: *_rsa, *_dsa, *_ecdsa, *id_ed25519*, id_rsa*, id_dsa* - Block credentials: credentials*, secrets*, .npmrc, .pypirc
1 parent f8dd2f5 commit e0db05d

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.gitignore

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,3 +69,27 @@ GITHUB_SETUP_COMPLETE.md
6969

7070
# System scripts (not extension-related)
7171
tools/system_security_hardening.sh
72+
73+
# Security: Never commit secrets or credentials
74+
*.env
75+
*.env.*
76+
.env*
77+
*.pem
78+
*.key
79+
*.gpg
80+
*.p12
81+
*.pfx
82+
*_rsa
83+
*_dsa
84+
*_ecdsa
85+
*id_ed25519*
86+
id_rsa*
87+
id_dsa*
88+
id_ecdsa*
89+
credentials*
90+
secrets*
91+
.npmrc
92+
.pypirc
93+
*.crt
94+
*.cer
95+
*.der

0 commit comments

Comments
 (0)