You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Generate the TLS test certificate instead of committing it
A committed private key, even one scoped to localhost with no security
value, is flagged by every secret scanner forever, and the false positive
has to be re-triaged on each new scan. SonarQube, CodeQL and GitHub secret
scanning would all report it.
fake-server now generates the pair on first use and caches it under
test/fixtures/, which is gitignored. Cold generation costs about 150 ms
once; every later run is exactly as fast as reading a committed fixture,
so the local speed advantage is preserved.
Without openssl on PATH the TLS suite skips rather than fails, so a
contributor lacking it still gets a green run — at the cost of not
covering the HTTPS login path.
Also adds a CodeQL workflow. It cannot run while the repository is private
(that needs Advanced Security) but will start on the first push after it
goes public.
Note the historical blob remains reachable in earlier commits; removing it
entirely would need another history rewrite.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
0 commit comments