A secure extraction utility for unpacking encrypted and signed PKI certificate bundles.
Project description
ftw-pki-unpacker
The secure ingestion, validation, and decryption gateway of the ftw-pki suite. This repository provides the ftwpkiunpacker utility.
🛠 Why do we need an Unpacker?
In high-security PKI environments, signing entities (especially Root and Intermediate CAs) often operate in restricted or offline environments. They should never be directly exposed to raw, unvalidated input from the network.
The Unpacker acts as a "buffer, filter, and delivery endpoint":
- Ingestion & Sanitization: It collects Certificate Signing Requests (CSRs) and pre-validates them against defined security policies before they ever reach the signing tools.
- Security Boundary: It ensures that only well-formed and authorized requests are passed forward, protecting the sensitive signing infrastructure from malformed data or injection attacks.
- Secure Decryption: Signed certificates are returned encrypted with the sender's public key. The Receiver uses the corresponding private key to decrypt the payload, making the certificate available to the end-user.
✨ Features
- Automated Configuration: On its first run, the tool automatically initializes the necessary configuration files in the user's config directory (e.g.,
~/.config/ftwpki/). - Integrity Checks: Verifies the cryptographic signatures of incoming CSRs to ensure they haven't been tampered with during transit.
- Minimalist CLI: Designed to be as simple as possible to minimize the attack surface, requiring only essential positional arguments.
📖 Documentation
- Technical Manual: Detailed information on validation rules and security handshakes is available in the
doc/source/directory. - User Config: If you need to adjust policies, refer to the config file automatically created in your user profile.
📄 License
This project is licensed under the LGPL v2.1 (or later).
© 2026 ftw-pki Contributors
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ftw_pki_unpacker-0.0.3a2.tar.gz.
File metadata
- Download URL: ftw_pki_unpacker-0.0.3a2.tar.gz
- Upload date:
- Size: 36.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5049a72f7183593d342d2d1981b6f4f08bc985ec1cc0150ccd1607bd6c71cd31
|
|
| MD5 |
529c627c366b659a9e3d26fb6d40decd
|
|
| BLAKE2b-256 |
47d142e6c1a7a6ee149e66eb4ff5ce7a4549556c9ab69ad2b5a6c0096b61ff82
|
Provenance
The following attestation bundles were made for ftw_pki_unpacker-0.0.3a2.tar.gz:
Publisher:
ci.yml on fitzz-ftw/ftw-pki-unpacker
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ftw_pki_unpacker-0.0.3a2.tar.gz -
Subject digest:
5049a72f7183593d342d2d1981b6f4f08bc985ec1cc0150ccd1607bd6c71cd31 - Sigstore transparency entry: 1569188169
- Sigstore integration time:
-
Permalink:
fitzz-ftw/ftw-pki-unpacker@2a7e5b749e89193ae3071d4a34b5f75b844daf0f -
Branch / Tag:
refs/tags/v0.0.3a2 - Owner: https://github.com/fitzz-ftw
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci.yml@2a7e5b749e89193ae3071d4a34b5f75b844daf0f -
Trigger Event:
push
-
Statement type:
File details
Details for the file ftw_pki_unpacker-0.0.3a2-py3-none-any.whl.
File metadata
- Download URL: ftw_pki_unpacker-0.0.3a2-py3-none-any.whl
- Upload date:
- Size: 8.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1bc31b767e7adf0948d07dc123667430de71f15602b1d1eae2d0a24992849d33
|
|
| MD5 |
17ca6c6f41644859cb5fb605781d6a86
|
|
| BLAKE2b-256 |
46002d783a8b889d582ded32253a3d3dfb0bc996b0f04b34b5e62159afe1d797
|
Provenance
The following attestation bundles were made for ftw_pki_unpacker-0.0.3a2-py3-none-any.whl:
Publisher:
ci.yml on fitzz-ftw/ftw-pki-unpacker
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ftw_pki_unpacker-0.0.3a2-py3-none-any.whl -
Subject digest:
1bc31b767e7adf0948d07dc123667430de71f15602b1d1eae2d0a24992849d33 - Sigstore transparency entry: 1569188203
- Sigstore integration time:
-
Permalink:
fitzz-ftw/ftw-pki-unpacker@2a7e5b749e89193ae3071d4a34b5f75b844daf0f -
Branch / Tag:
refs/tags/v0.0.3a2 - Owner: https://github.com/fitzz-ftw
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci.yml@2a7e5b749e89193ae3071d4a34b5f75b844daf0f -
Trigger Event:
push
-
Statement type: