module

Pk::Verify

Class methods

check_detached_signature(data_file : String, sig_file : String, keyring_name : String) : Bool

Verify a detached signature file for data_file, using a specific keyring file. keyring_name is a filename inside Pk::Config.settings.keys_dir (e.g. "repo.kbx", "maint.kbx", "build.kbx").

Source

Instance methods

check_file_hash(file_path : String, expected_hex : String) : Bool
Source
check_index_signature(sig_path : String, data_path : String, repo_name : String) : Bool
Source
check_package_hash(pkg_path : String, expected_hex : String) : Bool
Source