Files
JMR-devandClaude Opus 4.8 bb96fe90ac Deduplicate PID/unpad helpers and generalize the Topaz path fix
Move the copies of unpad, crc32, checksumPid and pidFromSerial that were
scattered across the plugin into utilities.py, and add a shared safe_join
that generalizes the Topaz extraction path-traversal fix.

- unpad: adobekey, ineptepub and ineptpdf import the shared helper. The
  four bare-script key tools keep their local copies since they run
  without a package context.
- checksumPid is type-preserving (bytes for kgenpids/kindlepid, str for
  mobidedrm) so every call site keeps its exact behavior.
- kgenpids falls back to an absolute import because it is imported
  top-level by the worker modules.
- topazextract.extractFiles uses safe_join; genbook is unchanged as it
  only handles already-sanitized names.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-24 09:17:48 -05:00
..
2023-08-06 15:49:52 +02:00
2023-08-02 07:39:35 +02:00
2026-06-22 18:42:33 -05:00
2021-11-17 21:53:24 +01:00
2023-08-06 15:49:52 +02:00
2021-12-29 12:18:06 +00:00
2026-06-22 18:42:33 -05:00
2022-01-11 07:57:02 +01:00
2022-03-19 16:02:33 +01:00