Skip to content

feat(hashstore): GUI panel to add NSRL / reference data to the global… - #32

Merged
charpy4n6 merged 1 commit into
mainfrom
feat/gui-nsrl-reference-data
Sep 3, 2026
Merged

charpy4n6 merged 1 commit into
mainfrom
feat/gui-nsrl-reference-data

Conversation

@charpy4n6

Copy link
Copy Markdown
Collaborator

… store

The shared global hash store (NSRL RDS etc.) could only be populated from the command line, which the frozen .exe does not expose - so an examiner running the installer had no way to set up NSRL at all.

  • web: a "Reference data: N hashes . M sets" line in the Hash sets sidebar opens a dialog that lists the imported sets (each with an x to remove) and an "Add a set" form: full-release .db or quarterly _delta.sql, name (auto-filled from the filename), "Treat matches as" and "Store" as dropdowns. Import runs in the existing background-job system with the progress bar and re-flags the open case on finish.
  • app.py: POST /api/hashset/global/import (job-based, handles .db, .sql dumps, and delta merges) and /api/hashset/global/remove; a "hashdb" file-dialog kind.
  • hashstore: _sqlite3_cli() now finds a sqlite3 next to a frozen build before falling back to PATH, and _run_sql_python() applies a .sql script with the stdlib sqlite3 module (streaming, quote-aware) when no CLI is present - so build_db / apply_delta, and therefore quarterly delta merges, work from the .exe with nothing installed.
  • docs: MANUAL, help.html and README rewritten around the GUI path.

Claude-Session: https://claude.ai/code/session_01VcEhYD7XkWcxocYPALdcEb

… store

The shared global hash store (NSRL RDS etc.) could only be populated from
the command line, which the frozen .exe does not expose - so an examiner
running the installer had no way to set up NSRL at all.

- web: a "Reference data: N hashes . M sets" line in the Hash sets sidebar
  opens a dialog that lists the imported sets (each with an x to remove)
  and an "Add a set" form: full-release .db or quarterly _delta.sql, name
  (auto-filled from the filename), "Treat matches as" and "Store" as
  dropdowns. Import runs in the existing background-job system with the
  progress bar and re-flags the open case on finish.
- app.py: POST /api/hashset/global/import (job-based, handles .db, .sql
  dumps, and delta merges) and /api/hashset/global/remove; a "hashdb"
  file-dialog kind.
- hashstore: _sqlite3_cli() now finds a sqlite3 next to a frozen build
  before falling back to PATH, and _run_sql_python() applies a .sql
  script with the stdlib sqlite3 module (streaming, quote-aware) when no
  CLI is present - so build_db / apply_delta, and therefore quarterly
  delta merges, work from the .exe with nothing installed.
- docs: MANUAL, help.html and README rewritten around the GUI path.

Co-Authored-By: Claude Sonnet 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01VcEhYD7XkWcxocYPALdcEb
@charpy4n6
charpy4n6 merged commit 576fb06 into main Sep 3, 2026
8 checks passed
@charpy4n6
charpy4n6 deleted the feat/gui-nsrl-reference-data branch September 3, 2026 23:35
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.

1 participant