From 22ac97452b9c44ffa9ad4f2c96d055838f60fc2e Mon Sep 17 00:00:00 2001 From: luckyPipewrench Date: Tue, 1 Dec 2026 16:55:12 -0500 Subject: [PATCH 1/2] docs: verify a first receipt with the published Python package --- README.md | 24 +++++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 858bae9..cde9c57 100644 --- a/README.md +++ b/README.md @@ -15,15 +15,33 @@ The conformance golden files in `tests/conformance/` are generated by Pipelock's ## Install -```bash -pip install pipelock-verify +With Python 3.10 or later, create a virtual environment in an empty working directory. +On Debian or Ubuntu, install the matching `python3-venv` package if Python reports +that `ensurepip` is unavailable. + +```sh +python3 -m venv .venv +. .venv/bin/activate +python -m pip install pipelock-verify +pipelock-verify --version ``` +To check your installation, download a signed sample receipt and verify it with +its public test key: + +```sh +curl -fsSLo receipt.json https://raw.githubusercontent.com/pipelab-org/pipelock-verify-python/v0.4.1/tests/conformance/valid-single.json +pipelock-verify receipt.json --key 4655a7e605c12ebb00a46037881c33c5bca5eb74b45a02e8e7261a7ff5a21678 +``` + +The verifier prints `OK: receipt.json` and action ID `conformance-00000`. +For your own receipts, use the public key you trust for your signer. + Only one runtime dependency: [`cryptography`](https://cryptography.io) for the Ed25519 primitives. ## Receipt v3-core -Verify v3 evidence with a trusted signer key (repeat `--key` for multiple keys): +The v3 command requires version 0.5.0 or later. Verify v3 evidence with a trusted signer key (repeat `--key` for multiple keys): ```bash pipelock-verify v3 --key PUBLIC_KEY_HEX --output result -- evidence-directory From cc2969feee5da9f70bb9ff670985151390d92300 Mon Sep 17 00:00:00 2001 From: luckyPipewrench Date: Tue, 1 Dec 2026 18:59:30 -0500 Subject: [PATCH 2/2] docs: add Windows setup to the verifier quickstart --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index cde9c57..6b91176 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,8 @@ With Python 3.10 or later, create a virtual environment in an empty working dire On Debian or Ubuntu, install the matching `python3-venv` package if Python reports that `ensurepip` is unavailable. +On macOS or Linux: + ```sh python3 -m venv .venv . .venv/bin/activate @@ -26,6 +28,18 @@ python -m pip install pipelock-verify pipelock-verify --version ``` +On Windows, use Command Prompt: + +```bat +py -3 -m venv .venv +.venv\Scripts\activate.bat +python -m pip install pipelock-verify +pipelock-verify --version +``` + +After installation, you can also run `.venv\Scripts\pipelock-verify.exe` +directly from the working directory without activating the environment. + To check your installation, download a signed sample receipt and verify it with its public test key: