Pentect reads user configuration from ~/.pentect/config.toml and project configuration from .pentect/config.toml. Project values take precedence where allowed, but a repository cannot weaken user-level unknown-format protection.
Handle identity
[handles]
scope = "device"| Value | Behavior |
|---|---|
device | Default. The same value produces the same handle identity on this device. |
project | Derives a distinct identity for each project on this device. |
session | Generates a new identity for each session. |
Handle hashes are keyed. They are stable references, not unsalted fingerprints of the plaintext.
Unknown provider formats
[compatibility]
unknown_formats = "error" # defaultSet ignore only in the user configuration to continue past provider content Pentect does not understand. Restart the Pentect-launched client after changing the value. ignore passes the affected unknown request upstream without inspection; change it back to error to restore the default.
Project configuration may enforce error, but it cannot set ignore. See Unknown provider format troubleshooting for copyable Windows, macOS, and Linux steps.
Images
[image]
ocr = "on"
redaction = "black"
unscanned = "block"
max_edge = 2048
max_pixels = 64000000
max_images = 64
max_total_bytes = 536870912
max_seconds = 20
max_image_bytes = 67108864
fetch_seconds = 8redaction accepts black or blur. unscanned accepts block or allow.
Files and activity
[files]
remember = true
[activity]
share = truefiles.remember keeps local recovery hints for file-backed handles. activity.share allows compatible local Pentect processes to share protection events.
Require the Pentect agent boundary
[agent]
required = trueUse this when the project must not silently continue without a Pentect-launched agent session.
INFO
Handle environment bindings always use the PENTECT_ prefix. The prefix is intentionally not configurable.

