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
--secretflag). - Provides a rich text-based user interface (TUI) using the
richlibrary 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:
richdifflibargparseresubprocesstempfile
Contributing
Contributions are welcome! Please open an issue or submit a pull request.
License
Release files for gpgdiff 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| gpgdiff-0.1.3.tar.gz | 14.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gpgdiff-0.1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 29.2 kB
Release files / gpgdiff-0.1.3.tar.gz
| Download URL | gpgdiff-0.1.3.tar.gz |
|---|---|
| Size | 14.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e22c25b7866c7a1f0d072ecf4ee949d5cfa700fe6abc335bf0f585770ba71a4c
|
|
BLAKE2b-256 checksum How to use checksums |
63c570cce622a39a4f2cb1fc6172e43efc637749f2b56c6cd78b48c734f8bbeb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.12.8
|
Release files / gpgdiff-0.1.3-py3-none-any.whl
| Download URL | gpgdiff-0.1.3-py3-none-any.whl |
|---|---|
| Size | 14.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
49a2102b23a3d42d65481acf231c4c3a5e7eab88690d890b1f92f03eda8d8d02
|
|
BLAKE2b-256 checksum How to use checksums |
a421e5c3755ead767197b62e52f1114a189e459efcb8b0ee0471241085c8afdc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.12.8
|