Skip to main content

No project description provided

Project description

gpgdiff

A simple command-line utility for comparing two GPG keys.

Usage

gpgdiff key1 key2 [options]

Arguments:

  • key1: The ID of the first GPG key.
  • key2: The ID of the second GPG key.

Options:

  • --secret: Compare private keys (requires appropriate permissions).
  • --deep-analysis: Perform a deeper analysis, including fingerprint comparison and packet analysis.

Features

  • Compares two GPG keys using a text-based diff, highlighting differences clearly.
  • Supports comparison of both public and private keys (using the --secret flag).
  • Provides a rich text-based user interface (TUI) using the rich library for enhanced readability.
  • Offers a deep analysis option (--deep-analysis) for more detailed comparison, including:
    • Fingerprint verification to confirm cryptographic identity.
    • Packet structure analysis to compare the components of the keys.
  • Handles errors gracefully, providing informative messages to the user.
  • Uses temporary files to store exported keys, ensuring data security and preventing accidental modification of original keys.

Installation

Install using pip:

pip install gpgdiff

This requires Python 3.7 or higher. The following packages are required:

  • rich
  • difflib
  • argparse
  • re
  • subprocess
  • tempfile

Contributing

Contributions are welcome! Please open an issue or submit a pull request.

License

GPL License

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gpgdiff-0.1.2.tar.gz (14.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gpgdiff-0.1.2-py3-none-any.whl (14.4 kB view details)

Uploaded Python 3

File details

Details for the file gpgdiff-0.1.2.tar.gz.

File metadata

  • Download URL: gpgdiff-0.1.2.tar.gz
  • Upload date:
  • Size: 14.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for gpgdiff-0.1.2.tar.gz
Algorithm Hash digest
SHA256 75b41da18d8ed1d936757fd2fdffa1914392729826115ff22bc5d7ce7ce00fe3
MD5 5ee427107f2040cd85edaf823a311cfb
BLAKE2b-256 36185697c812184550f241238ca56f2b447205a8465dc855f43a43af465cded9

See more details on using hashes here.

File details

Details for the file gpgdiff-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: gpgdiff-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 14.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for gpgdiff-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9dbe78cd9fae1cb5f12d62d5b94d94905dbe82eeeb3b906badcefac15955870a
MD5 8c6d71c2a1a3204dea723ff38c9f2fd3
BLAKE2b-256 a560f33a45235684e18be17a1dce889824525aca24b8e5c5c6399e279aa944ec

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page