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
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:
Examples:
generate
Generate new hash file for all tracked files
Usage:
Examples:
check_signatures
Verify cryptographic signatures of tracked files
Usage:
Examples:
Verification Operations
check_version
Compare local package versions against remote repositories
Usage:
Examples:
check_config
Verify the integrity and format of configuration files
Usage:
Examples:
check_all
Perform comprehensive check including integrity, versions, and signatures
Usage:
Examples:
Utility Operations
view_logs
Display the most recent integrity check logs
Usage:
Examples:
Examples
Basic Usage
Core integrity checking operations
Verify integrity of all tracked files
Expected Output: Shows pass/fail status for each fileIntegrity check with JSON output
Expected Output: JSON response with detailed resultsCheck integrity using custom base directory
Expected Output: Integrity results for custom locationCustom directory check with JSON output
Expected Output: JSON results for custom locationComprehensive System Checks
Advanced multi-component verification
Complete system verification
Expected Output: Full system verification reportFull system verification with extended timeout
Expected Output: Comprehensive system checkNote
For thorough system checks
Hash Generation
Creating and managing file integrity hashes
Create new hash file for all tracked files
Expected Output: Hash database created/updatedNote
Run after system updates
Hash generation with JSON output for automation
Expected Output: JSON response with generation statusVersion Checking
Package version verification against remote repositories
Compare local package versions against remote repositories
Expected Output: Version comparison resultsVersion check with JSON output for scripting
Expected Output: JSON response with version dataConfiguration Management
Configuration file verification and validation
Verify the integrity and format of configuration files
Expected Output: Configuration validation resultsConfiguration check with JSON output
Expected Output: JSON configuration statusSignature Verification
Cryptographic signature validation
Verify cryptographic signatures of tracked files
Expected Output: Signature verification resultsSignature verification with JSON output
Expected Output: Structured signature status dataStrict signature verification
Expected Output: Cryptographic verification resultsNote
Fails on any signature mismatch
Log Management
Viewing and managing integrity check logs
Display the most recent integrity check logs
Expected Output: Recent log entriesView logs in JSON format for parsing
Expected Output: Structured log dataNote
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 |