JacksonQu / Software-Supply-Chain-Security-Assignment1

GNU General Public License v3.0
0 stars 0 forks source link

Python Rekor Monitor

Verify your software using trusted supply chains.

Description

This repository uses Rekor API, a tool that helps improve security in software supply chains by providing immutable records of software build metadata. This repository includes code that interacts with Rekor's API and verifies the consistency using transparency logs.

Installation

  1. Clone the repository:
git clone https://github.com/JacksonQu/Software-Supply-Chain-Security-Assignment1.git
cd Software-Supply-Chain-Security-Assignment1/
  1. (Optional) Create a virtual environment:
python -m venv venv
source venv/bin/activate
  1. Install dependencies:
pip install cryptography requests

Usage

python main.py -c
python main.py --inclusion {logIndex} --artifact {filepath}
python main.py --consistency --tree-id {treeID} --tree-size {treeSize} --root-hash {hash}

Reference