Skip to main content

Tools to make using Rekor eaiser

Project description

A tool for verifying artifacts logged to Rekor

You can find out more about this tool and the motivation behind it at https://github.com/wp732/ssc_assignment_1

usage: wp732_rekor_tool [-h] [-d] [-c] [--inclusion INCLUSION] [--artifact ARTIFACT] [--consistency]
[--tree-id TREE_ID] [--tree-size TREE_SIZE] [--root-hash ROOT_HASH] [-e ENTRY]

Rekor Verifier

options:
-h, --help show this help message and exit
-d, --debug Debug mode
-c, --checkpoint Obtain latest checkpoint from Rekor Server public instance. When used with -d
also saves the checkpoint to ~/checkpoint.json
--inclusion INCLUSION
Verify inclusion of an entry in the Rekor Transparency Log using log index and
artifact filename. Usage: --inclusion 126574567
--artifact ARTIFACT Artifact filepath for verifying signature
--consistency Verify consistency of a given checkpoint with the latest checkpoint.
--tree-id TREE_ID Tree ID for consistency proof
--tree-size TREE_SIZE
Tree size for consistency proof
--root-hash ROOT_HASH
Root hash for consistency proof
-e ENTRY, --entry ENTRY
Get Rekor log entry by log index Usage: --entry 126574567

Examples

wp732_rekor_tool \
--checkpoint

wp732_rekor_tool \
--inclusion <log index from .rekorBundle.Payload.logIndex of artifact bundle json> \
--artifact

wp732_rekor_tool \
--consistency \
--tree-id <rekor tree id from .treeID of artifact bundle json> \
--tree-size <rekor tree size from .treeSize of artifact bundle json> \
--root-hash <rekor root hash from .rootHash of artifact bundle json>

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

wp732_rekor_tools-4.0.1.tar.gz (10.6 kB view details)

Uploaded Source

Built Distribution

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

wp732_rekor_tools-4.0.1-py3-none-any.whl (34.9 kB view details)

Uploaded Python 3

File details

Details for the file wp732_rekor_tools-4.0.1.tar.gz.

File metadata

  • Download URL: wp732_rekor_tools-4.0.1.tar.gz
  • Upload date:
  • Size: 10.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.11.2 Linux/6.12.34+rpt-rpi-v8

File hashes

Hashes for wp732_rekor_tools-4.0.1.tar.gz
Algorithm Hash digest
SHA256 dcdf005298b6dbbbbdaa4b92792c6c4636695baecfc70c44dd960915beb28a0b
MD5 eaa9572326e3b36e51952c533167a334
BLAKE2b-256 177174a1cb5bed1eac32672426692264baf65c2bd86d5d69f9cb4734b592be69

See more details on using hashes here.

File details

Details for the file wp732_rekor_tools-4.0.1-py3-none-any.whl.

File metadata

  • Download URL: wp732_rekor_tools-4.0.1-py3-none-any.whl
  • Upload date:
  • Size: 34.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.11.2 Linux/6.12.34+rpt-rpi-v8

File hashes

Hashes for wp732_rekor_tools-4.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f7d810ba24b6f953614c0e029cd6d408a84d722035ad5b0a4fb9359039c38c83
MD5 b1c879017f4498361ffba5cdb5dd8688
BLAKE2b-256 3b09791dd458ee6a3403a6ad0654bd22cbd788d000fd128cebe12f1333324bbd

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