Skip to content

Latest commit

 

History

History
52 lines (38 loc) · 2 KB

support-bundle-redaction.md

File metadata and controls

52 lines (38 loc) · 2 KB

Support Bundle Redaction

The GUI Diagnostics view can create a support bundle. In the current code path (createSupportBundle in gui/Main.hs) the bundle is written under support_bundles\support-bundle-<timestamp> and contains:

  • summary.txt: current view, row density, theme, browse section, loaded row counts, failure counts, queued/completed job counts, and known-stem count.
  • settings.json, if it exists.
  • zeit-tool.db, if it exists.
  • app.log, if it exists.

The bundle is for local inspection first. Do not share it without checking the copied files.

Secrets To Remove

Check settings.json for these fields and remove or replace their values:

  • zeitCookie
  • zeitUserAgent if you do not want to share browser details
  • lingqApiKey
  • lingqFallbackCollection
  • sectionCollections

Check app.log and summary.txt for copied error text before sharing. The current summary does not include cookie or API-key fields, but logs can include URLs, paths, exception text, or text copied from failed external commands.

Check zeit-tool.db separately. It can contain saved article URLs, titles, sections, body text, LingQ lesson ids/URLs, audio paths, ignored state, and known-word percentages.

Windows Inspection Steps

From the app folder:

Get-ChildItem .\support_bundles -Recurse
Get-Content .\support_bundles\support-bundle-*\summary.txt
Get-Content .\support_bundles\support-bundle-*\settings.json
Select-String -Path .\support_bundles\support-bundle-*\* -Pattern 'zeitCookie|lingqApiKey|Cookie|Authorization|session|token'

If the database is included, inspect it with the SQLite shell or another local SQLite viewer before sharing. A quick shell check looks like:

sqlite3 .\support_bundles\support-bundle-*\zeit-tool.db ".tables"
sqlite3 .\support_bundles\support-bundle-*\zeit-tool.db "select id, url, title, section from articles limit 20;"

If sqlite3 is not installed, either skip database sharing or inspect the file with a SQLite viewer you already trust.