Skip to content

Add .gitignore entries for sensitive files#90

Open
pete-builds wants to merge 1 commit intoopenstreetmap-polska:mainfrom
pete-builds:fix-gitignore
Open

Add .gitignore entries for sensitive files#90
pete-builds wants to merge 1 commit intoopenstreetmap-polska:mainfrom
pete-builds:fix-gitignore

Conversation

@pete-builds
Copy link
Copy Markdown

The .gitignore is missing entries for private keys and credentials (*.pem, *.key, *.p12, *.pfx, credentials.json, service-account*.json). Added those along with OS-specific files (.DS_Store, Thumbs.db) to help prevent accidental commits of sensitive material.

The existing cert/* entry covers certificates stored in that directory, but keys and credentials elsewhere in the tree weren't covered.

@Zaczero
Copy link
Copy Markdown
Member

Zaczero commented Apr 12, 2026

I don't mind that but is there any reason for it aside defensive coding?

@pete-builds
Copy link
Copy Markdown
Author

Mostly defensive, yeah. If someone clones the repo and has credential files locally (from a deploy key, SSL cert, etc.), these patterns keep them from getting committed by accident. No urgent reason beyond that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants