Verifies then loads and returns the JSON content. Never returns partially-verified data.
Raises: SignatureVerificationError: If signature verification fails.
Returns:
The loaded JSON content as a dictionary.
Methods
load_signed_json_override
load_signed_json_override(data_path: Path, signature_path: Path, public_key_path: Path) -> dict
Verifies then loads and returns the JSON content. Never returns partially-verified data.
Raises: SignatureVerificationError: If signature verification fails.
Returns:
The loaded JSON content as a dictionary.
| Parameter | Type | Description |
|---|---|---|
| data_path | Path | Path to the JSON data file. |
| signature_path | Path | Path to the detached signature file. |
| public_key_path | Path | Path to the GPG public key. |
Generated with Flude
Copyright © 2026