Skip to main content

A secure extraction utility for unpacking encrypted and signed PKI certificate bundles.

Project description

ftw-pki-unpacker

Python 3.11+ License: LGPL v2.1 [Coverage: 93%]

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":

  1. Ingestion & Sanitization: It collects Certificate Signing Requests (CSRs) and pre-validates them against defined security policies before they ever reach the signing tools.
  2. 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.
  3. 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


Download files

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

Source Distribution

ftw_pki_unpacker-0.0.3a1.tar.gz (36.1 MB view details)

Uploaded Source

Built Distribution

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

ftw_pki_unpacker-0.0.3a1-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

File details

Details for the file ftw_pki_unpacker-0.0.3a1.tar.gz.

File metadata

  • Download URL: ftw_pki_unpacker-0.0.3a1.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

Hashes for ftw_pki_unpacker-0.0.3a1.tar.gz
Algorithm Hash digest
SHA256 5bd22608389dcbeb5d88e9ed20c926393cff44f475bac4c6d3649b7d32a242d3
MD5 6a2e3856a60bec882a6429f06b942958
BLAKE2b-256 31f47f53c58bfa27b236884112e10399bf824b328fd8049636bcccf5c7902f3f

See more details on using hashes here.

Provenance

The following attestation bundles were made for ftw_pki_unpacker-0.0.3a1.tar.gz:

Publisher: ci.yml on fitzz-ftw/ftw-pki-unpacker

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ftw_pki_unpacker-0.0.3a1-py3-none-any.whl.

File metadata

File hashes

Hashes for ftw_pki_unpacker-0.0.3a1-py3-none-any.whl
Algorithm Hash digest
SHA256 cb292f3234b93e62b29a580f40e2a6d0845338b254469225ea0467404cebac63
MD5 5dfddd3bf43499982261d6c2729e6093
BLAKE2b-256 0b34e42034c0dca88b838ff8b8e6eeb344a70355613ded897056b161a65f147e

See more details on using hashes here.

Provenance

The following attestation bundles were made for ftw_pki_unpacker-0.0.3a1-py3-none-any.whl:

Publisher: ci.yml on fitzz-ftw/ftw-pki-unpacker

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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