Skip to content

integrity-check

A system integrity checker for verifying script and configuration files

Version: 9.0.1 | Size: 9.4MB | Author: Warith Al Maawali

License: Proprietary | Website: https://digi77.com


File Information

Property Value
Binary Name integrity-check
Version 9.0.1
Build Date 2025-09-23T19:20:04.895081874Z
Rust Version 1.82.0
File Size 9.4MB
JSON Data View Raw JSON

SHA256 Checksum

9113f3eba4d7d97c75825269d254e6c2ee4f7f7b333e84ae489a36caec487c21

Features

Feature Description
Feature File integrity verification using SHA-256 hashes
Feature Cryptographic signature verification
Feature Version checking against remote repositories
Feature Configuration file validation
Feature Offline mode support
Feature Comprehensive logging and reporting

Security Features

Feature Description
Authentication Certificate pinning for secure connections
Encryption TLS 1.3 for all network communications
Inputvalidation All inputs validated and sanitized
Ratelimiting Maximum 3 retries with configurable timeouts

System Requirements

Requirement Value
OS Linux (Debian-based)
Privileges sudo only for 'generate' and 'check_signatures' commands
Dependencies OpenSSL, curl

Global Options

Flag Description
-h, --help Print help information
-v, --version Print version information
-n, --info Display detailed information
-e, --examples Show usage examples
--json Output in JSON format
--json-pretty Pretty-print JSON output
--json-filter <FIELDS> Filter JSON output fields
--verbose Enable verbose output
--quiet Suppress non-essential output
--no-color Disable colored output
--config <FILE> Use custom configuration file
--timeout <SECS> Set timeout (default: 30)
--retry <COUNT> Retry attempts (default: 3)
--max-retries <COUNT> Maximum retry attempts (0-10) [default: 3]
-o, --output-format <FORMAT> Output format (text
--base-dir <DIR> Base directory for the application
-V, --verbosity <LEVEL> Verbosity level (0-3) [default: 1]
--log-level <LEVEL> Logging level (error
--no-network Disable network operations
--strict Enable strict validation mode

Commands

Integrity Operations

check_integrity

Verify file integrity for scripts, binaries, and configs

Usage:

integrity-check check_integrity [OPTIONS]

Examples:

integrity-check check_integrity
integrity-check check_integrity --json

generate

Generate new hash file for all tracked files

Usage:

integrity-check generate [OPTIONS]

Examples:

integrity-check generate
integrity-check generate --json

check_signatures

Verify cryptographic signatures of tracked files

Usage:

integrity-check check_signatures [OPTIONS]

Examples:

integrity-check check_signatures
integrity-check check_signatures --json

Verification Operations

check_version

Compare local package versions against remote repositories

Usage:

integrity-check check_version [OPTIONS]

Examples:

integrity-check check_version
integrity-check check_version --json

check_config

Verify the integrity and format of configuration files

Usage:

integrity-check check_config [OPTIONS]

Examples:

integrity-check check_config
integrity-check check_config --json

check_all

Perform comprehensive check including integrity, versions, and signatures

Usage:

integrity-check check_all [OPTIONS]

Examples:

integrity-check check_all
integrity-check check_all --json

Utility Operations

view_logs

Display the most recent integrity check logs

Usage:

integrity-check view_logs [OPTIONS]

Examples:

integrity-check view_logs
integrity-check view_logs --json

Examples

Basic Usage

Core integrity checking operations

Verify integrity of all tracked files

integrity-check check_integrity
Expected Output: Shows pass/fail status for each file

Integrity check with JSON output

integrity-check check_integrity --json
Expected Output: JSON response with detailed results

Check integrity using custom base directory

integrity-check check_integrity --base-dir /path/to/custom/dir
Expected Output: Integrity results for custom location

Custom directory check with JSON output

integrity-check check_integrity --base-dir /path/to/custom/dir --json
Expected Output: JSON results for custom location

Comprehensive System Checks

Advanced multi-component verification

Complete system verification

integrity-check check_all
Expected Output: Full system verification report

Full system verification with extended timeout

integrity-check check_all --timeout 300
Expected Output: Comprehensive system check

Note

For thorough system checks

Hash Generation

Creating and managing file integrity hashes

Create new hash file for all tracked files

sudo integrity-check generate
Expected Output: Hash database created/updated

Note

Run after system updates

Hash generation with JSON output for automation

sudo integrity-check generate --json
Expected Output: JSON response with generation status

Version Checking

Package version verification against remote repositories

Compare local package versions against remote repositories

integrity-check check_version
Expected Output: Version comparison results

Version check with JSON output for scripting

integrity-check check_version --json
Expected Output: JSON response with version data

Configuration Management

Configuration file verification and validation

Verify the integrity and format of configuration files

integrity-check check_config
Expected Output: Configuration validation results

Configuration check with JSON output

integrity-check check_config --json
Expected Output: JSON configuration status

Signature Verification

Cryptographic signature validation

Verify cryptographic signatures of tracked files

sudo integrity-check check_signatures
Expected Output: Signature verification results

Signature verification with JSON output

sudo integrity-check check_signatures --json
Expected Output: Structured signature status data

Strict signature verification

sudo integrity-check check_signatures --strict
Expected Output: Cryptographic verification results

Note

Fails on any signature mismatch

Log Management

Viewing and managing integrity check logs

Display the most recent integrity check logs

integrity-check view_logs
Expected Output: Recent log entries

View logs in JSON format for parsing

integrity-check view_logs --json
Expected Output: Structured log data

Note

Useful for log analysis tools

Environment Variables

Variable Description Default Values
RUST_LOG Set logging level info error
NO_COLOR Disable all colored output when set unset 1
HTTP_PROXY HTTP proxy for network requests unset http://proxy:port
HTTPS_PROXY HTTPS proxy for secure requests unset https://proxy:port

Exit Codes

Code Description
0 Success
1 General error
2 Invalid arguments
3 Permission denied
4 Network error
5 File not found
6 Timeout error
7 Authentication error
8 Internal error
9 Validation error

Back to top