@orangecheck/agent-core / VerifyBase
Interface: VerifyBase
Defined in: agent-core/src/verify.ts:47
Extended by
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
<a id="property-revocations"></a> revocations? | RevocationEnvelope[] | Revocations to evaluate against the delegation (or, for an action, every link in its chain). Fetch these from kind-30085 by #delegation. | agent-core/src/verify.ts:68 |
<a id="property-scopemode"></a> scopeMode? | "strict" | "permissive" | - | agent-core/src/verify.ts:50 |
<a id="property-skiprevocationcheck"></a> skipRevocationCheck? | boolean | Verify WITHOUT consulting revocation feeds. Required to be explicit. SECURITY §7 item 7: "Query revocation feeds (Nostr kind-30085 by #delegation) for the cited delegation id before reporting OK, unless the caller explicitly opts out." The default was inverted — revocations were checked only when supplied, and omitting them skipped the check silently, so "checked, clean" was indistinguishable from "never checked". This library has no network by design, so the caller fetches the feed and passes revocations. Declining to is a decision they must state. | agent-core/src/verify.ts:63 |
<a id="property-skipsignatureverification"></a> skipSignatureVerification? | boolean | - | agent-core/src/verify.ts:49 |
<a id="property-verifybip322"></a> verifyBip322? | (msg: string, signatureB64: string, address: string) => Promise<boolean> | - | agent-core/src/verify.ts:48 |