Commit 433d7e1
committed
feat(sigstore): scaffold opt-in signing surface (Round 2 #16)
Phase F (signed releases via sigstore) needs a key-management ADR
before it can ship in full. The scaffold + opt-in extras land
today so the surface is stable:
- pyproject.toml: new [sigstore] extras pulls sigstore>=3.0
- verify.sign_bundle_with_sigstore(bundle_path, dry_run=True):
- Raises SecurityError if sigstore isn't installed (clear path:
`pip install 'get-installer[sigstore]'`)
- dry_run=True returns the planned .sigstore path; no signing
- dry_run=False raises NotImplementedError with a pointer to
SPEC Phase F. We prefer fail-loud to silent no-op.
When the ADR lands, the implementation slots in behind this same
signature and existing callers don't change.1 parent 054a35b commit 433d7e1
2 files changed
Lines changed: 42 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
50 | 55 | | |
51 | 56 | | |
52 | 57 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
42 | 79 | | |
43 | 80 | | |
44 | 81 | | |
| |||
0 commit comments