18 lines
208 B
Text
18 lines
208 B
Text
# Prevent accidental commit of private keys
|
|
*.key
|
|
*.priv
|
|
*.private
|
|
*_priv
|
|
*-priv
|
|
*.sec
|
|
*secret*
|
|
|
|
# Only allow public keys
|
|
!*.asc
|
|
!*.gpg
|
|
!*.pub
|
|
!*.age
|
|
|
|
# Allow this gitignore and README
|
|
!.gitignore
|
|
!README.md
|