Skip to main content

Module config

Module config 

Source
Expand description

Configuration system for KeyHog scanning options. Configuration for KeyHog scanning and verification.

Provides the ScanConfig struct used to control decoding depth, entropy thresholds, deduplication strategy, and performance tuning.

Structs§

ScanConfig
Configuration for a scan run.

Enums§

ConfigError
Errors returned while validating a scan configuration.

Constants§

MAX_DECODE_DEPTH_LIMIT
Limits for decoding to prevent infinite recursion or memory exhaustion.

Functions§

secret_filenames
List of filenames that typically contain secrets (e.g. .env, config.json). Return a list of filenames that typically contain secrets (e.g., .env, id_rsa).