rework-proof

v1.5.0
io.github.reworkio/rework-proof Checked 20 hours ago Published 1 day ago

Verify REWORK credentials: is this delivered work genuinely the author's?

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

verify_rework_credential Verify a REWORK credential

Check whether a REWORK Verifiable Credential (a VC-JWT) is authentic, and report what it claims. Use this when someone presents a credential as evidence that they produced a piece of work. Returns whether the signature is valid, whether REWORK has since revoked it, who issued it, and the credential subject.

ParameterTypeDescription
credential *stringThe compact VC-JWT, three base64url segments separated by dots.

get_rework_issuer_keys Get REWORK's public signing keys

Fetch REWORK's public signing keys (JWKS). Use this to verify a credential offline yourself instead of trusting this server, or to confirm the issuer key a credential names actually belongs to REWORK.

explain_rework_assurance Explain a REWORK assurance level

Explain what a REWORK assurance level or credential type proves, and what it explicitly does not prove. Use this before relying on a credential, so a weak claim is not read as a strong one.

ParameterTypeDescription
assurancestringAssurance level, e.g. "workflow-identity". Omit to list all.

lookup_rework_attestation Look up whether REWORK issued a credential

Check whether REWORK actually ISSUED a credential - not just whether its signature verifies. A forged-but-well-formed token fails this; a real one returns its issuance record and the CURRENT OpenTimestamps receipt, which may have been upgraded to a Bitcoin confirmation since issue. Pass the credential (its sha256 is the lookup key) or the digest directly. Workflow attestations and Hugging Face credentials are recorded. Certificate, video-receipt and passport credentials are signed afresh on every download and have no issuance record: pass the credential itself (not its digest) and the answer s…

ParameterTypeDescription
credentialstringThe VC-JWT. Hashed locally and never sent anywhere. For a certificate credential, the certificate id it names (already public) is looked up as well.
digeststringsha256 hex of the credential, if you already have it.

check_rework_certificate Check a REWORK certificate by ID or link

Check a REWORK certificate from its ID or its link, which is what people usually share: whether REWORK holds it, whether it is active or revoked, and what its public page shows (holder, title, issue date, verified proofs and skills, and a verified result when there is one). Use this when you are given a certificate ID (such as RW-CERT-...) or a link to /verify/... or /certificates/share/....

ParameterTypeDescription
certificate *stringA certificate ID, or a link to a REWORK certificate page (/verify/<id> or /certificates/share/<token>).