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.3a2.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.3a2-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

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

Hashes for ftw_pki_unpacker-0.0.3a2.tar.gz
Algorithm Hash digest
SHA256 5049a72f7183593d342d2d1981b6f4f08bc985ec1cc0150ccd1607bd6c71cd31
MD5 529c627c366b659a9e3d26fb6d40decd
BLAKE2b-256 47d142e6c1a7a6ee149e66eb4ff5ce7a4549556c9ab69ad2b5a6c0096b61ff82

See more details on using hashes here.

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

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.3a2-py3-none-any.whl.

File metadata

File hashes

Hashes for ftw_pki_unpacker-0.0.3a2-py3-none-any.whl
Algorithm Hash digest
SHA256 1bc31b767e7adf0948d07dc123667430de71f15602b1d1eae2d0a24992849d33
MD5 17ca6c6f41644859cb5fb605781d6a86
BLAKE2b-256 46002d783a8b889d582ded32253a3d3dfb0bc996b0f04b34b5e62159afe1d797

See more details on using hashes here.

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

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