Skip to content

Remove real Wi-Fi network names from the README; scan CI for secrets - #13

Merged
devzeroo merged 1 commit into
mainfrom
claude/project-thread-5xcz67
Nov 29, 2026
Merged

devzeroo merged 1 commit into
mainfrom
claude/project-thread-5xcz67

Conversation

@devzeroo

@devzeroo devzeroo commented Nov 29, 2026 •

Copy link
Copy Markdown
Owner

Requested by Daniel · project thread

Summary

Follow-up to an independent leak audit of the public repository. The audit found no credentials, keys or tokens. It did find one privacy issue: the admin Wi-Fi screenshot was taken on the real device, so it showed the home network name, the names of neighbouring networks and the Pi's LAN address. This PR replaces that screenshot and adds a secret scan to CI.

  • Screenshot: docs/media/screens/05-admin-mode-wifi-networks-sim.png replaces the real screenshot. It was rendered with python -m fieldimager.tools.ui_preview --scale 1.5 --only a1-network and shows the simulated networks Lab-5G and Guest. The README caption says it is a simulation render.
  • Test fixture: tests/unit/test_system.py uses the RFC 5737 documentation address 192.0.2.18 instead of the Pi's real LAN address.
  • CI: a new secrets job runs gitleaks 8.21.2 over the full git history (fetch-depth: 0, --redact) on every push and PR.
  • .gitignore: now ignores private keys (*.pem except keys/release-pubkey.pem, *.key, fieldimager-keys/), .env*, device.json (calibration and the PIN hash) and seal.json.

History: Daniel approved a rewrite. The old screenshot was removed from every branch with git filter-repo, and main, caw8u9, xw67nl and this branch were force-pushed. refs/pull/10–12 still point at the old commits until GitHub Support purges them. Until this PR merges, main's README links to a screenshot that no longer exists.

Tests

  • pytest without the integration tests: 346 passed, 2 skipped (ewf-tools not installed locally).
  • ruff check: clean.
  • CI is green, including the first gitleaks run over the rewritten history.

🤖 Generated with Claude Code

https://claude.ai/code/session_01P6BSiHbSrtAjXBmcLRsfa9

- Replace the admin Wi-Fi screenshot taken on the real device, which
  showed the home network, neighbouring networks and the Pi's LAN
  address, with a simulation render (Lab-5G / Guest).
- Use the RFC 5737 documentation address in the nmcli unit test.
- New CI job: gitleaks over the full git history on every push and PR.
- .gitignore: private keys, .env files, device.json and seal.json.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01P6BSiHbSrtAjXBmcLRsfa9
@devzeroo devzeroo self-assigned this Nov 29, 2026
@devzeroo
devzeroo force-pushed the claude/project-thread-5xcz67 branch from b62ddb7 to 051c457 Compare November 29, 2026 19:53
@devzeroo
devzeroo merged commit 1810647 into main Nov 29, 2026
6 checks passed
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