Add end-to-end example, CI workflow, and README improvements#8
Merged
Conversation
- examples/end_to_end.py: runnable walkthrough (generate → sign → verify → tamper detection) - .github/workflows/ci.yml: pytest matrix on Python 3.9 / 3.11 / 3.13 - pyproject.toml: add [dev] optional deps (pytest) and explicit testpaths - README: CI badge + "End-to-end example" section linking to examples/ https://claude.ai/code/session_01Fu1FmfopF3rCE9ohvmn9zn
dict | None and str | None union syntax (PEP 604) requires Python 3.10+. from __future__ import annotations defers evaluation and makes it valid on 3.9. https://claude.ai/code/session_01Fu1FmfopF3rCE9ohvmn9zn
- README: align IETF Draft version to -05 everywhere (was -01 in intro and roadmap) - README Roadmap: add generate_identity_document (implemented but missing), replace "Not yet implemented" with "Planned", group replay protection rows - CHANGELOG-v02.md: mark @context v1.4 as resolved canonical version https://claude.ai/code/session_01Fu1FmfopF3rCE9ohvmn9zn
-05 was an internal version number; draft-litzki-sovp-01 is the correct IETF identifier for the submitted Internet-Draft. https://claude.ai/code/session_01Fu1FmfopF3rCE9ohvmn9zn
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
$(cat <<'EOF'
Summary
examples/end_to_end.py: Lauffähiges Skript — generate keypair → sign identity document → verify (Psi_core = 1) → tamper detection (Psi_core = 0). Kein Setup außerpip install -e ...github/workflows/ci.yml: pytest-Matrix auf Python 3.9 / 3.11 / 3.13, läuft bei jedem Push und PR gegenmain.pyproject.toml:[project.optional-dependencies] dev = ["pytest"]+ explizitetestpaths-Konfiguration.README.md: CI-Badge (erste Zeile der Badge-Reihe) + neue Sektion „End-to-end example" mit Inline-Code-Preview und Link aufexamples/end_to_end.py, direkt vor der API-Referenz.Test plan
python examples/end_to_end.pyläuft lokal durch (alle asserts bestehen)python -m pytest tests/ -v— 9/9 grünmainhttps://claude.ai/code/session_01Fu1FmfopF3rCE9ohvmn9zn
EOF
)
Generated by Claude Code