From 8ab2bfb7f6c812b354be86d72893048f8a18d640 Mon Sep 17 00:00:00 2001 From: Duc Nguyen Date: Wed, 25 Feb 2026 02:13:29 +0700 Subject: [PATCH] chore: add false positive fingerprints to gitleaks ignore Suppress 6 false positives: keyboard shortcuts and example keys incorrectly flagged as generic-api-key by gitleaks. --- .gitleaksignore | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.gitleaksignore b/.gitleaksignore index 817968f..d3aaa47 100644 --- a/.gitleaksignore +++ b/.gitleaksignore @@ -1,3 +1,11 @@ # Gitleaks ignore file # Add fingerprints of false positives here # Format: one fingerprint per line (from gitleaks output) + +# False positives: VSCode/nvim keyboard shortcuts detected as API keys +ca1a6417db508617ff31e6ed1016534d443fc44c:dotfiles/claude/.claude/commands/shared/mcp-cache-patterns.yml:generic-api-key:74 +2a2719dd90becc37df52d65baece18ea6bccb473:dotfiles/vscode/keyboard_shortcut.json:generic-api-key:115 +2a2719dd90becc37df52d65baece18ea6bccb473:dotfiles/vscode/keyboard_shortcut.json:generic-api-key:137 +2a2719dd90becc37df52d65baece18ea6bccb473:dotfiles/vscode/keyboard_shortcut.json:generic-api-key:307 +603c7083d9ee708a8042aa4a02b8777322474856:dotfiles/nvim-vscode/.config/nvim-vscode/keybindings.json:generic-api-key:111 +603c7083d9ee708a8042aa4a02b8777322474856:dotfiles/nvim-vscode/.config/nvim-vscode/keybindings.json:generic-api-key:133