[Bug]: github-code module skipped due to case-sensitivity issue in api-keys.yaml parsing
What happened?
The github-code engine fails to authenticate even though a valid classic GitHub Personal Access Token is saved in the auto-generated configuration file at ~/.theHarvester/api-keys.yaml.
The tool continuously outputs the error [!] Source github-code skipped: missing credentials. because the parser appears to look for the key entry with a capitalized string header configuration (Github:), while the default auto-generated template file populates the section layout entirely in lowercase (github:).
Command you ran
uv run theHarvester -d example.com -l 300 -b github-codeWhat did you expect to happen?
I expected the authenticated github-code module to execute successfully, query the GitHub Commit Search API using the provided token credentials, and look for active developer mail footprints tied to the target domain without throwing a credential error.
How did you install theHarvester?
Source checkout with uv
theHarvester version
theHarvester 5.0.0
Environment
- Operating System: Ubuntu 22.04 LTS (Linux /etc/os-release environment)
- Python Framework / Version manager: Managed via Astral
uvsync environment
Error output or screenshot
[*] Activity: P0 passive collection
[*] Target: example.com
[*] Source workers: requested=3; effective=1. [!] Source github-code skipped: missing credentials.
[*] No IPs found.
[*] No emails found.
[*] No people found.
[*] No hosts found.
Did this work before?
Unknown
Submission checks
- I searched existing issues for the same problem.
- I removed credentials, account details, private targets, and other sensitive data from this report.
Source: laramies/theHarvester