Skip to main content

Rekor transparency log verifier for inclusion and consistency proofs

Project description

Description

This project provides a way to verify the Rekor transparency log, which records artifact signatures to provide tamper-proof evidence that something was signed at a specific time.

There are three main verfifcation operations that can be performed:

  1. Checkpoint Retrieval (--checkpoint) This fetches the latest state of the Rekor transparency log, including: • Tree size (number of entries) • Root hash (cryptographic commitment to all entries) • Tree ID

  2. Inclusion Proof Verification (--inclusion) This proves that a specific artifact exists in the transparency log by: • Fetching a log entry by index from Rekor • Extracting the signature and certificate from the entry • Verifying the artifact's digital signature using ECDSA with the public key • Computing a Merkle tree inclusion proof to cryptographically prove the entry is in the log • Checking if it's included in the latest checkpoint

  3. Consistency Proof Verification (--consistency) This proves that the transparency log hasn't been tampered with over time by: • Comparing an older checkpoint with the current checkpoint • Verifying the Merkle tree consistency proof ensures no entries were removed or modified

Installation Steps

To sign artifacts and verify signatures using Sigstore, you need to install Cosign: • Go to https://docs.sigstore.dev/cosign/system_config/installation/ for installation instructions appropriate to your system.

Usage Instructions

  1. Create an artifact:

For example, I can create an artifact.md file and type in "Hello World". Typical artifacts can be container images, software binaries, source code tarballs, package manifests, among other things. Though an artifact can be anything software-related that you want to verify the integrity of.

  1. Using the cosign tool (check #Installation Steps for more info), sign the artifact via Terminal: cosign sign-blob <file-name> --bundle artifact.sigstore.bundle

This will prompt you to verify your identity. And once your identity is verified, an ephemeral certificate is generated, artifact is signed and its signature is uploaded to transparency log.

Necessary Dependencies

Just the cosign tool which is reference in #Installation Steps.

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

jz_rekor_verifier-0.1.0.tar.gz (8.4 kB view details)

Uploaded Source

Built Distribution

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

jz_rekor_verifier-0.1.0-py3-none-any.whl (9.5 kB view details)

Uploaded Python 3

File details

Details for the file jz_rekor_verifier-0.1.0.tar.gz.

File metadata

  • Download URL: jz_rekor_verifier-0.1.0.tar.gz
  • Upload date:
  • Size: 8.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.14.0 Darwin/25.1.0

File hashes

Hashes for jz_rekor_verifier-0.1.0.tar.gz
Algorithm Hash digest
SHA256 7a6a1358f18d41f8f5c79a7be7340ac1aa15a68ca90bf1d6d2484b396972968c
MD5 035a26d90e06e5ce658c2a5a1608e5ee
BLAKE2b-256 4199d2a07c0d34a44ed987b1df8167f8f3bac2d9d3e4c65f8bbdfd640858ada8

See more details on using hashes here.

File details

Details for the file jz_rekor_verifier-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: jz_rekor_verifier-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 9.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.14.0 Darwin/25.1.0

File hashes

Hashes for jz_rekor_verifier-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 24afdbed98008f59b20becc3585cbb07a8cb5758835fd94ed70576304ba1272a
MD5 95aa720720deaa2c285469093efb93c3
BLAKE2b-256 4b71fe8975431f5c33b7da461622bd6b59f38a5c45ad4a1b360b8d4ce6352ead

See more details on using hashes here.

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