Skip to content

Model Payment V1 authorization wire shape - #1

Merged
weikengchen merged 1 commit into
mainfrom
codex/payment-auth-wire-contract
Aug 9, 2026
Merged

Model Payment V1 authorization wire shape#1
weikengchen merged 1 commit into
mainfrom
codex/payment-auth-wire-contract

Conversation

@weikengchen

Copy link
Copy Markdown
Contributor

What changed

  • models the independently selected per-server Payment V1 authorization round in EasyCrypt
  • binds the fixed 16,414-byte encrypted request record and variable response-shape leakage
  • separates the no-key network observer view from the provider after channel decryption
  • updates the proof manifest to 9 sources, 56 lemmas, and 8 contract claims

Why

BitcoinPIR now supports five provider-scoped admission methods. The proof contract must explicitly admit authorization occurrence, timing, and response-shape leakage while proving that request length does not reveal the selected method, scope, operation, or credential proof length to a network observer without channel keys.

Validation

  • manifest/source closure: passed
  • generated product contract binding: passed
  • pinned local EasyCrypt toolchain compile: passed
  • local linux/amd64 Docker build was stopped at the 40-minute Apple Silicon QEMU limit during toolchain construction; GitHub native linux/amd64 CI is the trusted verification-record authority

No payment service, network endpoint, or funds are used by this proof-only change.

@weikengchen
weikengchen marked this pull request as ready for review August 9, 2026 00:47
@weikengchen
weikengchen merged commit c519f19 into main Aug 9, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant