pub fn sync_remote_policy() -> Result<(), Error>Expand description
Synchronizes the remote security policy if configured in system
config.yaml.
This allows organizations to manage security constraints (allowed/denied lists) centrally. It verifies the policy’s PGP signature before caching it locally.
§Errors
Returns an error if:
- The configuration cannot be read.
- The system is in offline mode and a sync is required.
- The remote policy or its signature cannot be downloaded.
- The signature verification fails.