Skip to content

integrity-check

A system integrity checker for verifying script and configuration files

Version: 9.0.1 | Size: 2.7MB | 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-10-24T16:44:12.236849446Z
Rust Version 1.82.0
File Size 2.7MB
JSON Data View Raw JSON

SHA256 Checksum

35b64224013539f7008b662aa0fa5e3a0b304dbe3ac9c8bd39826cac701a0410

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

sudo integrity-check check-all
Expected Output: Full system verification report

Full system verification with extended timeout

sudo 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