Skip to main content

Python Rekor Monitor Template

Prerequisite:

Steps:

  1. Sign an artifact using cosign tool with your identity using:
    cosign sign-blob <file> --bundle cosign.bundle

More info on signing blobs is here: https://docs.sigstore.dev/cosign/signing/signing_with_blobs/

  1. Fetch latest checkpoints from Rekor log using:
    rekor-monitor -c
  1. Verify that the artifact signature in the transparency log is correct and verify that the log entry is included in the latest checkpoint of the transparency log by verifying the inclusion Proof merkle proof
    rekor-monitor --inclusion <logIndex of signed artifact> --artifact <artifact file>
  1. Verify that the checkpoint which had our entry added is consistent with the latest checkpoint using the checkpoint details obtained in step 2.
    rekor-monitor --consistency --tree-id <treeid in latest checkpoint> --tree-size <treesize in latest checkpoint> --root-hash <roothash in latest checkpoint>

Notes: Hw 4 Install all dependencies and build poetry with

    poetry add ($cat requirements.txt)
    poetry build

Test with

    pip install dist/python_rektor_monitor-0.1.0-py3-none-any.whl
    rekor-monitor -c

SBOM Attestation

  • need to verify the type of predicate given
  • using OIDC as a key is the default if no key argument given
    cosign attest-blob dist/python_rektor_monitor-0.1.0-py3-none-any.whl --predicate cyclonedx-sbom.json --type cyclonedx --bundle sbom.bundle
    cosign verify-blob-attestation --bundle sbom.bundle dist/python_rektor_monitor-0.1.0-py3-none-any.whl --certificate-identity samanthagburek --certificate-oidc-issuer https://github.com --type cyclonedx --check-claims

Metadata

Release files for python-rektor-monitor 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for python-rektor-monitor 0.1.1
File Size Uploaded Provenance Actions
python_rektor_monitor-0.1.1.tar.gz 8.6 kB Without provenance Details for python_rektor_monitor-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for python-rektor-monitor 0.1.1
File Interpreter ABI Platform Actions
python_rektor_monitor-0.1.1-py3-none-any.whl Python 3 none any Details for python_rektor_monitor-0.1.1-py3-none-any.whl

Total release size: 17.6 kB

Release files / python_rektor_monitor-0.1.1.tar.gz

Download URL python_rektor_monitor-0.1.1.tar.gz
Size 8.6 kB
Tags Source
SHA-256 checksum
How to use checksums
cd127e19fb975f6edf9f7ff74a10ddb3befcccfc2f89ebbf9b95baa7a88578b0
BLAKE2b-256 checksum
How to use checksums
afa330801856b51e16a61b94629432b8902fe9dd2e93a84ba57e21ac6dae3bd2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.4 CPython/3.12.7 Darwin/23.6.0

Release files / python_rektor_monitor-0.1.1-py3-none-any.whl

Download URL python_rektor_monitor-0.1.1-py3-none-any.whl
Size 8.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
22af7d40a01da352ac1bbafaa3014eee2e9a6a2ac44ac82a1588c878791a931f
BLAKE2b-256 checksum
How to use checksums
f17ba18e9bf27d6c746e95f79c127d3e870ddce2c2c872568fe3a651a099db39
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.4 CPython/3.12.7 Darwin/23.6.0

Security for python-rektor-monitor 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page