Robot Framework PGP Library
A Robot Framework library for PGP/GPG encryption and decryption operations.
Features
- Text and file encryption/decryption (asymmetric and symmetric)
- Key generation, import/export (public and private), inspection, and deletion
- Digital signatures with cleartext signing and verification
- Isolated GPG home directory support for hermetic test runs
- 17 keywords, easy integration with Robot Framework test suites
Requirements
- Python 3.8+
- A
gpgbinary on the PATH (GnuPG 2.x) — there is no pure-Python fallback
Installation
pip install robotframework-pgp
Quick Start
*** Settings ***
Library RobotFrameworkPGP
*** Test Cases ***
Encrypt And Decrypt Text
Generate Key Pair recipient@example.com Test User 2048 mypassword
${encrypted} Encrypt Text Hello World recipient@example.com
${decrypted} Decrypt Text ${encrypted} passphrase=mypassword
Should Be Equal ${decrypted} Hello World
Runnable example suites live in examples/: basic usage,
file operations, and key management.
Documentation
Full documentation is available at Read the Docs.
Development
Setup Development Environment
git clone https://github.com/ohmrefresh/robotframework-pgp.git
cd robotframework-pgp
pip install -r requirements-dev.txt
Running Tests
pytest
Running Robot Framework Tests
robot tests/acceptance/
License
Apache License 2.0
Release files for robotframework-pgp 1.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| robotframework_pgp-1.1.2.tar.gz | 36.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| robotframework_pgp-1.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 53.1 kB
Release files / robotframework_pgp-1.1.2.tar.gz
| Download URL | robotframework_pgp-1.1.2.tar.gz |
|---|---|
| Size | 36.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d6d526e4252da40c4feb20c768d35e9a57d6e3857f48570f435c54348b86f06c
|
|
BLAKE2b-256 checksum How to use checksums |
5f23eb29010ffdd26668e5f1a624ff36695e217f42c837c9b4c2a94516f2eae8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 13, 2026.
Transparency logRelease files / robotframework_pgp-1.1.2-py3-none-any.whl
| Download URL | robotframework_pgp-1.1.2-py3-none-any.whl |
|---|---|
| Size | 16.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
015e8c41dc07dab5272107ca0f22f1f283af08f845a25ddb5d448d1b1d539218
|
|
BLAKE2b-256 checksum How to use checksums |
65c6fd3d2388a196adab33bfd13e9b86cc9d4d4df913d7c3a14f8b5c99c12d6a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 13, 2026.
Transparency log