Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 987 Bytes

File metadata and controls

28 lines (20 loc) · 987 Bytes

@permission-protocol/cli MIT License

npm i -g @permission-protocol/cli
pp verify ./receipt.json --key-file ./public-key.pem
pp verify rcpt_abc123

Verify Permission Protocol receipts locally with Ed25519 signature checks and canonicalized payload validation.

Exit codes

Code Meaning
0 Receipt valid
1 Signature invalid
2 Receipt expired or revoked
3 Receipt malformed
4 Key resolution failed
64 Usage error

What does this prove?

pp verify proves a receipt was signed by the matching public key over the canonical signed fields, and that the receipt is still valid (not expired/revoked). This is local cryptographic verification, not a trust-me API response.

pp is the reference verifier for the pp-receipt-v1 open specification.

See https://permissionprotocol.com/trust.