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: 90%]

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.4.tar.gz (36.2 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.4-py3-none-any.whl (21.0 kB view details)

Uploaded Python 3

File details

Details for the file ftw_pki_unpacker-0.0.4.tar.gz.

File metadata

  • Download URL: ftw_pki_unpacker-0.0.4.tar.gz
  • Upload date:
  • Size: 36.2 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.4.tar.gz
Algorithm Hash digest
SHA256 d81c3c42669bfe28866299ab6c38c8e7782da0ba52c8318e05fac41e60ea2dca
MD5 ede0a468836383c816e642d6ca1d3057
BLAKE2b-256 c86ea278e830da87e553d414d8be8aa47d15d864900aa9b00d7d1e21484b6eb8

See more details on using hashes here.

Provenance

The following attestation bundles were made for ftw_pki_unpacker-0.0.4.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.4-py3-none-any.whl.

File metadata

File hashes

Hashes for ftw_pki_unpacker-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 8b25463f4c2099d2994fd8c148b008561ee8aa7db81fa2f563ec175228cd6396
MD5 eca9f76c31ba595630eb5e466f263bb4
BLAKE2b-256 e21b4706b8394a59bdeb22acd0c47b3601e1eba6dddfd45e57463530f4aac936

See more details on using hashes here.

Provenance

The following attestation bundles were made for ftw_pki_unpacker-0.0.4-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