Python library for building, reading, and verifying .jxz signed containers
Project description
py-jxz
Python library for building, reading, and verifying .jxz signed containers.
The .jxz format packages signed JUnit XML test reports with attachments for secure transmission, as specified by the jux-container-format specification.
Features
- Build
.jxzcontainers from JUnit XML reports and attachments - Read and extract
.jxzcontainers with digest validation - Sign containers with detached XMLDSIG signatures
- Verify signatures and SHA-256 manifest digests
- Minimal dependencies:
signxml+cryptographybeyond stdlib
Installation
pip install py-jxz
Quick Start
Build a container
from jxz import ContainerBuilder
builder = ContainerBuilder()
builder.set_report(junit_xml_bytes)
builder.add_attachment("screenshots/login.png", png_bytes)
# Unsigned
jxz_bytes = builder.build()
# Signed
jxz_bytes = builder.build(private_key=key, certificate=cert)
Read and verify a container
from jxz import ContainerReader
reader = ContainerReader(jxz_bytes)
reader.verify()
report = reader.get_report()
attachments = reader.get_attachments()
Documentation
Related Projects
| Project | Description |
|---|---|
| jux-container-format | .jxz format specification |
| py-juxlib | Jux client library (depends on py-jxz) |
| jux-openapi | Jux REST API specification |
License
Apache-2.0
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 py_jxz-0.1.6.tar.gz.
File metadata
- Download URL: py_jxz-0.1.6.tar.gz
- Upload date:
- Size: 30.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
42ce46286bf1d3e306563a109a8f4f5ea881a231936f48a237a4d13c7d4bdc75
|
|
| MD5 |
145114b93150f089d7ec933a630308fd
|
|
| BLAKE2b-256 |
9503dbc02346ad046822b9fbc3c10d96173cb322ed03bb16b3d0fb499d126758
|
Provenance
The following attestation bundles were made for py_jxz-0.1.6.tar.gz:
Publisher:
build-release.yml on jux-tools/py-jxz
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
py_jxz-0.1.6.tar.gz -
Subject digest:
42ce46286bf1d3e306563a109a8f4f5ea881a231936f48a237a4d13c7d4bdc75 - Sigstore transparency entry: 947072163
- Sigstore integration time:
-
Permalink:
jux-tools/py-jxz@a05d9cda9e2bed3d11876ab1c350695246576435 -
Branch / Tag:
refs/tags/v0.1.6 - Owner: https://github.com/jux-tools
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build-release.yml@a05d9cda9e2bed3d11876ab1c350695246576435 -
Trigger Event:
push
-
Statement type:
File details
Details for the file py_jxz-0.1.6-py3-none-any.whl.
File metadata
- Download URL: py_jxz-0.1.6-py3-none-any.whl
- Upload date:
- Size: 24.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f820b3fc1f0135beb91f8d53f85e301e2bec7d494dbaf38d9c80042848cad5cf
|
|
| MD5 |
38adf3d6dd589876afc306cc5bb569da
|
|
| BLAKE2b-256 |
719fde44c2e1fd27e470feb3364f00d2bc5876534cd7acfaeff031d981d0b35f
|
Provenance
The following attestation bundles were made for py_jxz-0.1.6-py3-none-any.whl:
Publisher:
build-release.yml on jux-tools/py-jxz
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
py_jxz-0.1.6-py3-none-any.whl -
Subject digest:
f820b3fc1f0135beb91f8d53f85e301e2bec7d494dbaf38d9c80042848cad5cf - Sigstore transparency entry: 947072164
- Sigstore integration time:
-
Permalink:
jux-tools/py-jxz@a05d9cda9e2bed3d11876ab1c350695246576435 -
Branch / Tag:
refs/tags/v0.1.6 - Owner: https://github.com/jux-tools
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build-release.yml@a05d9cda9e2bed3d11876ab1c350695246576435 -
Trigger Event:
push
-
Statement type: