Internet-Draft Partition-Tolerant Authority Renewal December 2026
Chandra Expires 4 June 2027 [Page]
Workgroup:
Individual Submission
Internet-Draft:
draft-chandra-wimse-partition-tolerant-renewal-01
Published:
Intended Status:
Experimental
Expires:
Author:
S. Chandra
StellarMinds.ai

Extend-Only, Threshold-Attested Authority Renewal for Partitioned Agent Meshes

Abstract

During a network partition, a workload may lose contact with its credential issuer before it can obtain a fresh credential. This experiment lets an issuer authorize a named peer set in advance to extend existing authority for a bounded time. A quorum signs attestations bound to the request, the credential, and the issuer's manifest. An adopting relying party verifies the chain and enforces the original scope and a lifetime ceiling. Optional controls bound per-round extensions, the age of health observations, and the age of signed revocation-feed heads. For witnessed feeds, a bound on continued acceptance starts when enough honest witnesses have observed a revocation. A revocation hidden from all trusted observers cannot be enforced from the chain alone.

Status of This Memo

This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79.

Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute working documents as Internet-Drafts. The list of current Internet-Drafts is at https://datatracker.ietf.org/drafts/current/.

Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as "work in progress."

This Internet-Draft will expire on 4 June 2027.

▲

Table of Contents

1. Introduction

Workload identity architectures, including the WIMSE architecture [WIMSEARCH] and its credential formats [WIMSECREDS], and the SPIFFE/SPIRE framework [SPIFFE] that preceded them, treat short credential lifetimes as a security feature: a stolen token is useful only briefly, provided the workload can reach its issuer for a fresh one before the old one expires. A workload can be healthy, mutually authenticated with its peers, and mid-task when the issuer becomes unreachable before the credential expires.

This individual Experimental proposal is offered for discussion in the WIMSE working group. Its charter identifies a related problem: a work item for local issuance of WIMSE tokens where the local issuer operates with limited authority, naming as a candidate local issuer the workload itself or another workload deployed nearby [WIMSECHARTER]. This document specifies a hardening of that idea for the adversarial, disconnected case. No single nearby workload is trusted as a local issuer; a two-thirds threshold of a peer set is, and the peer set is not a local configuration choice but an appointment the issuer itself signed before the partition, in a Mesh Manifest (Section 5). The manifest is what makes the quorum a limited-authority local issuer in the charter's sense rather than a second authority standing beside the first.

This document defines the wire formats and verification procedure for that mechanism: extend-only, threshold-attested authority renewal. It normatively fixes the MeshManifest an issuer signs at provisioning time (Section 5), the RenewalRequest a severed workload broadcasts (Section 6), the PeerAttestation a peer returns after independent evaluation (Section 7), the RenewalProof aggregating a quorum of attestations (Section 8), the RenewalChain covering a partition of more than one round (Section 9), and the verification procedure a relying party runs against a presented chain (Section 9.2). It normatively states what this mechanism does not defend (Section 11): it introduces no independent root of authority but does add trust assumptions, it is a threshold and not a consensus protocol, health evidence establishes activity and not authorization, and the revocation residual is bounded, not removed.

Relative to the published -00 draft, this revision adds two optional manifest versions. The first is renewal/0.4, in which the issuer can make renewal step-wise (a per-round extension limit and a lead time, Section 6) and can require each attestation to staple a signed head of a revocation feed no older than a bound (Section 7.3). The second is renewal/0.5, in which the issuer can also require that head to carry cosignatures from a threshold of witnesses it names (Section 7.4), and bound the age of the health observation behind each attestation (Section 7.5). A manifest that carries none of the renewal/0.5 members is renewal/0.4 or renewal/0.3, as defined by those earlier wire profiles. A renewal/0.4 manifest that sets its four new members to null applies only the rules of renewal/0.3. A renewal/0.5 manifest that sets its three new members to null applies the rules of renewal/0.4 plus one: every attestation still states evidence_at, no later than its as_of (Section 7.5). Section 11 states the resulting bounds and how each was checked.

This document is intended as an Experimental contribution to the WIMSE working group's local-issuance discussion. A reference implementation and a deterministic conformance corpus exist (Appendix A); interoperability between independent implementations has not yet been demonstrated.

2. Conventions and Definitions

The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in BCP 14 [RFC2119] [RFC8174] when, and only when, they appear in all capitals, as shown here.

Issuer: The authority that issued the original credential. It takes part in this procedure exactly once, before any partition, by signing the MeshManifest; it is unreachable for the remainder by definition.

Requester: The workload whose credential is nearing or past expiry and whose issuer is unreachable.

Attester (peer): A member of the mesh, named in the MeshManifest, that independently evaluates a renewal request and, if it passes every check in Section 7.2, signs a PeerAttestation.

Relying party: Any party, peer or otherwise, that receives a request from the requester after its nominal expiry and must decide whether to honor it by verifying the RenewalChain presented alongside it, under the MeshManifest.

Mesh Manifest: The issuer-signed object naming the members of the mesh and fixing the ceiling, clock tolerance, scope ceiling and validity window under which renewals may be attested (Section 5).

Peer set: For a given requester, the manifest's members minus that requester. N is its size and MUST be at least 4.

Quorum: ceil(2 * N / 3), the threshold over the peer set. Two quorums over the same peer set share at least N/3 members; that intersection property, not any agreement protocol, is what the threshold provides.

Ceiling: ceiling_seconds, the maximum total peer-attested extension, measured from the original credential's issuance and fixed by the issuer in the manifest.

Renewal Request: The signed object a requester broadcasts naming its original credential, its requested extension, the manifest it is made under, a fresh nonce, its round number and the digest of the proof it extends (Section 6).

Peer Attestation: The signed object a peer returns after passing every independent-evaluation check for one RenewalRequest; it commits to the digest of the whole request (Section 7).

Renewal Proof: The signed RenewalRequest together with at least a quorum of valid, distinct PeerAttestation objects for it (Section 8). It carries no signature of its own; every field a verifier acts on is inside the signed request or recomputed.

Renewal Chain: The ordered sequence of RenewalProof objects issued during one continuous partition, each extending the expiry granted by the one before it and committing to it by digest (Section 9).

3. Roles and Preconditions

The following are established before any partition:

A requester MUST NOT invoke this procedure before attempting and failing to reach its issuer through its normal channel.

4. Identity and Encoding

Every signer of a renewal wire object uses the Ed25519 algorithm [RFC8032] and a key identified by a did:key [DIDKEY]. A WIMSE workload identifier is a URI with a trust domain [WIMSEID]. This document does not define a mapping from that URI to a renewal signing key. A verifier MUST accept a did:key only in its canonical spelling, the base58btc encoding of the multicodec-prefixed key and nothing else: a decoder that ignores surrounding whitespace would let one key appear under two strings, and a manifest listing both would count it twice towards a quorum or a witness threshold. Every signed object MUST be canonicalized per RFC 8785 (JCS) [RFC8785] before signing or verifying; a signature covers the canonical JSON of every field except signature itself. Signatures and nonces are standard base64 in the canonical form of [RFC4648], Section 4 (padded, no other characters, pad bits zero); a signature is exactly 64 octets of raw Ed25519 signature. A verifier MUST reject any other spelling of the same octets: each spelling gives the signed object a different digest, so a lenient decoder would let anyone who sees a request mint copies of it that attesters sign (Section 11). Timestamps are RFC 3339 [RFC3339], second precision, UTC, Z suffix. Every pattern a member must match is matched against the whole string, as CDDL's .regexp is (Appendix B): a value that matches except for a trailing newline is malformed, since a verifier whose pattern anchor also matched before one would accept objects every other verifier rejects.

Every wire object defined by this document (MeshManifest, RenewalRequest, PeerAttestation, RenewalProof) has a closed field set: a verifier MUST reject an object carrying any member not listed in that object's required-members list, in addition to rejecting one missing a required member, even when the extra member was present at signing time and the signature is otherwise valid.

Three wire versions are defined. A MeshManifest that carries none of the members max_round_extension_seconds, max_lead_seconds, revocation_feed and max_revocation_staleness_seconds is renewal/0.3; one that carries them is renewal/0.4 and carries all four; one that also carries revocation_witnesses, revocation_witness_threshold and max_health_evidence_age_seconds is renewal/0.5 and carries all seven (Section 5). Every RenewalRequest, PeerAttestation and RenewalProof carries in version the version of the manifest it was produced under. A verifier MUST accept all three versions, and MUST reject an object whose version differs from its manifest's: a chain therefore cannot mix versions, and a round of an earlier version cannot be placed under a later manifest to escape its rules.

Every wire object MUST be I-JSON [RFC7493], which RFC 8785 presumes: no string contains an unpaired surrogate, and no integer member exceeds 2^53 - 1 (none is negative in this document). Appendix B states the structure of every wire object in CDDL [RFC8610]; an object that does not match it is malformed, as is one that breaks a constraint stated only in prose (ordering, uniqueness, the relation between two members). A verifier MUST reject a malformed object, an object it cannot canonicalize, and an arithmetic result it cannot represent (an expiry after 9999-12-31T23:59:59Z, the last instant RFC 3339 can write) with the same outcome as any other failed check. It MUST NOT abort or fail open on one: every object this document defines can arrive from an adversary.

5. Mesh Manifest

A MeshManifest is a signed JSON object produced by the issuer at provisioning time. It is the single object a relying party verifies first, and the only place the mesh's parameters live. Required members: version ("renewal/0.3"; "renewal/0.4" for a manifest carrying the four members below; "renewal/0.5" for one carrying all seven), manifest_id (a non-empty opaque string chosen by the issuer; UUIDv4 recommended), issuer_did (the issuer's did:key), members (array of did:key strings, sorted lexicographically, unique, at least 5 entries, so that every member's peer set has at least 4), ceiling_seconds (positive integer), max_clock_skew_seconds (non-negative integer), scope_ceiling (array of strings, sorted, unique: every scope claim a renewal under this manifest may carry), issued_at and expires_at (RFC 3339; expires_at MUST be after issued_at), and signature (Ed25519 by issuer_did over the canonical manifest minus this field).

A renewal/0.4 manifest carries four more members, always present; null leaves the rule a member sets unset, exactly as in renewal/0.3:

A renewal/0.5 manifest carries those four and three more, always present; null leaves the rule a member sets unset, exactly as in renewal/0.4:

5.1. Verification

Any party, attester or relying party, MUST, before evaluating anything else under a manifest: check the closed field set and every type and ordering constraint above; resolve issuer_did and verify signature; and compute manifest_hash as "sha256:" followed by the lowercase hexadecimal SHA-256 of the JCS canonical form of the manifest including its signature. The same signed bytes yield the same manifest hash. A different signed manifest requires its own hash. A manifest failing either check is rejected and nothing under it is evaluated.

5.2. Peer Set

For a requester R, the peer set is members minus R, and N is its size. N MUST be at least 4. A requester is always a member, so N is the size of members minus one, which is why Section 5 requires at least 5 members. A requester not listed in members is not a member of the mesh and cannot be attested under it, since the issuer signed the credential of a member it named (Section 7.2, item 3).

5.3. Binding

Every RenewalRequest, PeerAttestation and RenewalProof carries manifest_hash. A verifier MUST compare each one to the hash of the manifest it is evaluating under and MUST reject a mismatch. Nothing produced under one manifest can be spliced into a chain evaluated under another, even when both manifests come from the same issuer and name the same members.

5.4. Lifecycle

The issuer rotates the mesh by signing a new manifest. The old manifest's expires_at closes the request-creation window. A grant obtained within that window can extend beyond it, subject to its own effective_expiry and the ceiling measured from original credential issuance (Sections 6 and 9). An issuer that also wants a cutoff on use must account for this distinction when choosing its policy. An evaluator that learns the manifest has been revoked MUST reject chains under its manifest_hash as it would for a revoked original_credential_hash (Sections 7.2 and 9.2). Revocation information can arrive via a relay before the issuer connection returns. The bounded-staleness conditions are in Section 11.

6. Renewal Request

A RenewalRequest is a signed JSON object with the following required members: version (MUST equal the manifest's version, Section 4), request_id (UUIDv4), requester_did (MUST be listed in the manifest's members), manifest_hash (Section 5.1), original_credential_hash (sha256: followed by the lowercase hexadecimal SHA-256 of the original credential: of its JCS form when the credential is a JSON object, otherwise of the exact octets the issuer produced, such as a JWT's compact serialization), original_issuer_did (MUST equal the manifest's issuer_did), original_scope (array of strings, sorted, fixed for the life of the chain, MUST be a subset of the manifest's scope_ceiling), original_issued_at and original_expiry (RFC 3339; original_expiry MUST be after original_issued_at), requested_extension_seconds (positive integer), nonce (base64, >= 16 bytes, fresh per request), round (integer, 1 for the first round of a partition), prior_proof_digest (null when round is 1, otherwise the digest of the immediately preceding RenewalProof, Section 8.2), created_at (RFC 3339, MUST lie within the manifest's validity window), and signature (Ed25519 by requester_did over the canonical request minus this field). The prior chain is not embedded; it travels alongside the request, as does the original credential (Section 3).

The request digest is "sha256:" followed by the lowercase hexadecimal SHA-256 of the JCS canonical form of the signed request including signature. Every attestation carries it (Section 7), so a request cannot be re-signed with different content after attestation without every attestation ceasing to bind.

A RenewalRequest carries no field capable of widening original_scope; there is no field to smuggle a wider claim into. original_scope, original_issued_at, original_expiry and requester_did are nonetheless the requester's copy of the credential's claims, and attesters (Section 7.2, item 3) and relying parties (Section 9.2, step 2) MUST check them against the credential the issuer actually signed. requested_extension_seconds, combined with the cumulative extension already granted by the prior chain, MUST NOT push the resulting effective expiry past original_issued_at + ceiling_seconds; a request that would MUST be rejected by every honest evaluator (Section 7.2, item 6; Section 9.1, item 8), independent of quorum. An effective expiry RFC 3339 cannot write is past every ceiling.

Under a renewal/0.4 or renewal/0.5 manifest, renewal is step-wise where the issuer has set the members for it. Where max_round_extension_seconds is set, requested_extension_seconds MUST NOT exceed it. Where max_lead_seconds is set, created_at MUST NOT be earlier than the expiry the round extends (original_expiry for round 1, the prior proof's effective_expiry after that) minus max_lead_seconds. A request made after the expiry it extends satisfies the lead time. With both set, peer-attested authority runs at most max_lead_seconds + max_round_extension_seconds + max_clock_skew_seconds past the as_of of every attestation in the round that granted it (Section 11, "Front-loading").

7. Peer Attestation

A PeerAttestation is a signed JSON object with required members: version (MUST equal the manifest's version, Section 4), attester_did (MUST be in the manifest peer set for the requester and MUST NOT equal the request's requester_did), manifest_hash, request_digest (the digest of the signed request, Section 6; this is the binding, committing the attester to every field of the request and not only those repeated here), request_id and nonce (copied verbatim from the request), original_credential_hash (copied verbatim), granted_extension_seconds (MUST equal the request's requested_extension_seconds; attestation is binary, never a counter-offer), as_of (RFC 3339, the peer's own timestamp for its health observation), health_evidence (one of the closed vocabulary below), and signature (Ed25519 by attester_did). A renewal/0.4 or renewal/0.5 attestation also carries revocation_head, always present: the stapled head of Section 7.3, null exactly when the manifest's revocation_feed is null. A renewal/0.5 attestation also carries revocation_cosignatures, always present: the witness cosignatures of Section 7.4, null exactly when the manifest's revocation_witnesses is null; and evidence_at, RFC 3339 as in Section 4: the time of the attester's most recent first-hand observation behind health_evidence, which MUST NOT be later than as_of (Section 7.5).

health_evidence MUST be one of: heartbeat_current, task_participation, consensus_round, or other. A strict verifier MAY refuse to honor an other attestation.

7.1. Health Evidence

The vocabulary is deliberately small. heartbeat_current means the attester received a signed heartbeat from the requester within its own freshness window; task_participation means the attester directly observed the requester taking part in a shared task or protocol round; consensus_round means the attester and requester jointly completed a coordination round; other is a mesh-specific signal that deployments SHOULD document. In every case the evidence is the attester's own first-hand observation, never a claim relayed by the requester. It establishes that the requester was recently active, not that it is uncompromised or still entitled to its permissions; the issuer accepts that distinction when it signs a manifest, and an attestation MUST NOT be represented as more than it is.

7.2. Independent Evaluation

Before signing a PeerAttestation, an attester MUST verify all of the following and MUST NOT sign if any check fails:

  1. The MeshManifest verifies per Section 5.1; the request's manifest_hash equals its hash; original_issuer_did equals the manifest's issuer_did; original_scope is within scope_ceiling; created_at is within the manifest's validity window and within max_clock_skew_seconds of the attester's own clock; and the attester's own identity is in the peer set for this requester (Section 5.2).
  2. attester_did (its own identity) MUST NOT equal requester_did. An attester MUST NOT sign an attestation about itself, under any identity it holds.
  3. signature on the RenewalRequest verifies against requester_did; the credential presented alongside the request (or the attester's own copy, Section 3) hashes to original_credential_hash and carries a valid signature by original_issuer_did; and the request's requester_did, original_scope, original_issued_at and original_expiry equal the corresponding claims of that credential. The credential adapter supplies these authenticated values according to the deployment profile. If the native format uses different identifiers, the adapter MUST establish a trusted binding between the issuer, subject, and their respective renewal keys. It MUST NOT infer scope or a key binding from the renewal request. An unbound or unrepresentable claim fails this check.
  4. Neither the credential identified by original_credential_hash nor the manifest identified by manifest_hash is present in the attester's own cached revocation state. Under a manifest that names a revocation_feed, that state MUST be a view of the feed complete to a head satisfying Section 7.3 at its own clock (the attester holds every entry of the feed through that head's seq, ending at its entry_hash), and the attester staples that head to the attestation. An attester whose view is complete to no such head MUST NOT attest, even if it holds a newer head it has not yet caught up to. Under a manifest that names revocation_witnesses, the head MUST also be witnessed (Section 7.4): the attester's view counts only heads carrying the threshold of cosignatures, and the attester staples those cosignatures.
  5. The chain the requester presents alongside the request has exactly round - 1 proofs; if non-empty, it verifies per Section 9.1 under the same manifest, prior_proof_digest equals the digest of its last proof, and the request repeats the root request's requester_did, manifest_hash, original_credential_hash, original_issuer_did, original_scope, original_issued_at and original_expiry verbatim. The request's nonce MUST differ from the nonce of every request in that chain, and its created_at MUST NOT be earlier than that of the chain's last request (Section 9.1, items 5 and 9). An attester that did not sign an earlier round never saw that round's nonce, so item 9 of this list alone cannot catch its reuse.
  6. The resulting effective expiry does not exceed original_issued_at + ceiling_seconds, and under a renewal/0.4 or renewal/0.5 manifest the request satisfies the step-wise rules of Section 6.
  7. original_scope is unchanged across every entry in the prior chain and this request.
  8. The requester is healthy per the attester's own fresh, first-hand observation, not a claim relayed by the requester or a third party. Under a renewal/0.5 manifest the attester states the time of that observation as evidence_at, within Section 7.5's bound.
  9. The attester has not already signed an attestation carrying this exact nonce.
  10. The attester has not already signed an attestation for a different request extending the same chain position: the same prior_proof_digest, or for round 1 the same original_credential_hash. One attestation per position per attester is what makes two conflicting proofs for one position require at least N/3 equivocating peers (Section 8.1).

An attestation produced without all ten checks passing is non-conformant, independent of whether the resulting RenewalProof happens to reach quorum. Items 1 and 2 MUST be re-verified independently by every relying party at verification time (Section 8.1, Section 9.1), not only by the attester at signing time: a verifier that trusts an assembled RenewalProof or RenewalChain without re-checking membership and self-attestation can be shown an attestation from a key the issuer never named, or a self-signed one, spliced in after assembly, bypassing whatever an honest assembler would have filtered.

7.3. Stapled Revocation Head

When the manifest names a revocation_feed, every attestation's revocation_head is a signed head of that feed in the format of [SMFEED] (feed-head/0.1): a JSON object with exactly the members version ("feed-head/0.1"), feed_id (the feed's did:key), seq (integer, 0 to 2^53 - 1), entry_hash (sha256: followed by 64 lowercase hexadecimal digits), generated_at (RFC 3339, as in Section 4) and signature (canonical base64 of an Ed25519 signature by feed_id over the JCS form of the head without signature). It is the feed's signed statement that at generated_at the feed ended at seq. A verifier MUST check that the head is well formed, that feed_id equals the manifest's revocation_feed, that the signature verifies, that generated_at + max_revocation_staleness_seconds is not earlier than the attestation's as_of, and that generated_at is not later than as_of + max_clock_skew_seconds. A null head when the manifest names a feed, or a non-null head when it names none, fails the check. The head is inside the attestation's signed body, so the attester vouches for it.

A stapled head is, in the manner of a stapled status response, the attester's signed statement that it held a view of the feed complete to a head the feed signed no more than the bound before as_of (Section 7.2, item 4). A verifier can check that the head is genuine and fresh enough; it cannot check that the attester's view was complete to it, or that the attester consulted that view correctly. A relying party that holds the feed can recompute the answer. It does not deliver a revocation to a node that nothing can reach (Section 11). A head dated later than the clock tolerance after as_of fails the check: it would claim freshness the feed has not earned. [SMREVOCATION] specifies a revocation profile on such a feed and the view an attester keeps of it: the view yields the revoked set of Section 7.2, item 4, and reports the time of the newest head its chain is complete to, which is the head to staple. An implementation MAY obtain both otherwise.

7.4. Witnessed Revocation Head

When the manifest names revocation_witnesses, every attestation's revocation_cosignatures is an array of witness cosignatures in the format of [SMFEED] (feed-cosignature/0.1): JSON objects with exactly the members version ("feed-cosignature/0.1"), feed_id, seq, entry_hash and generated_at (the co-signed head's, verbatim), witness (the witness's did:key) and signature (canonical base64 of an Ed25519 signature by witness over the JCS form of the object without signature). A cosignature carries no witness time. A verifier MUST check that every item is well formed; that its feed_id, seq, entry_hash and generated_at equal the stapled head's, each with the head's JSON type; that every witness is in the manifest's revocation_witnesses, the items sorted by witness with none twice; that every signature verifies; and that there are at least revocation_witness_threshold items. One bad item fails the attestation. A null array when the manifest names witnesses, or a non-null one when it names none, fails the check.

A witness, as [SMFEED] defines it, walks the feed's chain itself and co-signs a head only at the tip it has walked to, never while it holds a later head of the feed it has not walked to, and only if the head is dated no later than its own clock plus a tolerance it chooses; it stores its state durably, and stops co-signing a feed once it holds evidence of a fork. A witness therefore refuses the heartbeats by which a feed's publisher would keep a frozen attester looking current at a position below a revocation it has published, once that witness has walked the revocation, and refuses heads dated far ahead of when it is asked. Section 11 states what this bounds. The witnesses need to reach the feed's publisher; attesters and relying parties never need to reach a witness.

7.5. Health Evidence Age

evidence_at is the attester's statement of when it last observed what health_evidence reports. A verifier MUST check that it is not later than the attestation's as_of, and, when the manifest sets max_health_evidence_age_seconds, that as_of minus evidence_at does not exceed it. Like as_of, evidence_at is asserted by the attester; the bound makes reporting a stale observation as current a signed false statement rather than a permitted one.

8. Renewal Proof

A requester assembles a RenewalProof once it holds quorum-many attestations for one RenewalRequest. Required members: version, manifest_hash, request (the complete signed RenewalRequest this proof answers; everything a verifier needs about the round is read from here, under the requester's signature and, via request_digest, under every attester's), effective_expiry (RFC 3339; MUST equal the baseline expiry, which is the original expiry or the prior proof's effective_expiry in a chain, plus the request's requested_extension_seconds, exactly; a verifier MUST recompute and compare, not trust the field alone), and attestations (array of PeerAttestation, at least quorum-many, pairwise-distinct attester_did).

A RenewalProof carries no signature of its own and needs none: every field a verifier acts on is inside the signed request or is recomputed, and every attestation commits to the request by digest.

8.1. Quorum Arithmetic

Let N be the size of the manifest peer set for the requester (Section 5.2). The quorum is quorum(N) = ceil(2 * N / 3). N MUST be at least 4. A RenewalProof is valid only if attestations contains at least quorum(N) entries with pairwise-distinct attester_did values, and every attestation it contains passes items 1 to 8 below. A relying party cannot re-run the attester-local checks of Section 7.2 (items 8 to 10); the quorum is what it relies on for those.

What the threshold establishes, and what it does not: quorum(N) signatures establish that at least that many keys the issuer named signed this exact request. Because any two sets of quorum(N) peers out of N share at least 2 * quorum(N) - N >= N/3 members, and an honest attester signs at most one request per chain position (Section 7.2, item 10), two conflicting proofs for the same position cannot both exist unless at least N/3 peers equivocated. That is the whole of the guarantee. The procedure does not run an agreement protocol, does not lock a predecessor before signing, and does not establish that the peers agree on one authoritative history; a relying party learns only that the history it was shown is one a threshold of named peers signed in full. This document does not describe the mechanism as consensus.

A verifier counting attestations toward quorum, whether an attester validating the presented chain per Section 7.2 or a relying party verifying a presented proof or chain per Section 9.2, MUST independently confirm, for every attestation in the proof, all of the following, and MUST reject the proof if any attestation fails any of them. A proof is one object: the next round commits to its entire attestation set through prior_proof_digest (Section 8.2), so a proof is never repaired by dropping the attestations that fail:

  1. The attestation MUST be well formed (Section 4, Section 7) and its signature MUST verify against attestation.attester_did; attestation.manifest_hash MUST equal the hash of the manifest being verified under; and attestation.attester_did MUST be in the manifest peer set for the proof's requester_did. A validly signed attestation from a key the issuer did not name is not an attestation.
  2. attestation.attester_did MUST NOT equal the proof's own requester_did. This MUST be re-checked here regardless of whether the proof's assembler already filtered it.
  3. attestation.request_digest MUST equal the digest of the proof's request. This is the check that binds the signature to the whole decision; items 4 to 6 are redundant with it and kept as cheap, explicit consistency checks.
  4. attestation.request_id and attestation.nonce MUST equal the request's.
  5. attestation.original_credential_hash MUST equal the request's.
  6. attestation.granted_extension_seconds MUST equal the request's requested_extension_seconds.
  7. Every as_of MUST lie within max_clock_skew_seconds of the request's created_at and within the manifest's validity window widened by max_clock_skew_seconds, and the as_of values within one proof MUST lie within max_clock_skew_seconds of one another. The mesh has no trusted clock; these are consistency checks, not ground truth.
  8. Under a renewal/0.4 or renewal/0.5 manifest, the attestation's version MUST equal the manifest's, and its revocation_head MUST satisfy Section 7.3. Under a renewal/0.5 manifest, its revocation_cosignatures MUST also satisfy Section 7.4, and its evidence_at Section 7.5.

Without item 3, a genuinely-signed attestation collected for a different request is individually valid and can be spliced into an unrelated proof to pad it to quorum, and, worse, a requester can collect attestations on one request and present a re-signed request with the same request_id and nonce but different content. The digest closes both. Without item 1, an adversary enlarges the electorate by generating keys.

8.2. Proof Digest

The proof digest is "sha256:" followed by the lowercase hexadecimal SHA-256 of the JCS canonical form of the entire RenewalProof, attestations included. The next round's request carries it as prior_proof_digest; since that request is then signed by the requester and digested into every attestation of the next round, the chain is linked by hash from the last round back to the root.

9. Renewal Chain

A partition MAY outlast one RenewalProof's extension. A RenewalChain is the ordered array of every RenewalProof issued during one continuous partition, each extending the one before it.

9.1. Chain Validity

A chain [p_1, ..., p_k] is valid under a manifest if and only if, for every p_i:

  1. p_i.manifest_hash equals the hash of the manifest the chain is being verified under (Section 5.3).
  2. p_i.request is structurally valid, its signature verifies against its requester_did, its round is i, and its prior_proof_digest is null for i = 1 and equal to the digest of p_{i-1} (Section 8.2) otherwise. A chain whose rounds are not linked this way is not a chain, whatever its arithmetic says.
  3. p_i.request repeats p_1.request's requester_did, manifest_hash, original_credential_hash, original_issuer_did, original_scope, original_issued_at and original_expiry verbatim. A round for a different requester MUST NOT be accepted merely because its credential hash happens to match.
  4. p_i.attestations independently satisfies Section 8.1 (quorum, distinctness, membership, and per-attestation binding to p_i.request by digest) against the peer set derived from the same manifest.
  5. p_i.request.nonce differs from p_j.request.nonce for every j < i. Every attestation carries its request's nonce (Section 8.1, item 4), so the attestations of one round share it; the rule constrains reuse across rounds, and item 4 extends it to every attestation.
  6. p_i.effective_expiry equals p_{i-1}.effective_expiry (or original_expiry, for p_1) plus p_i.request.requested_extension_seconds exactly. A verifier MUST recompute this, not trust effective_expiry as an independent claim.
  7. p_i.effective_expiry is strictly greater than p_{i-1}.effective_expiry (or than original_expiry, for p_1).
  8. The cumulative extension represented by p_i.effective_expiry - original_issued_at MUST NOT exceed the manifest's ceiling_seconds.
  9. For i > 1, p_i.request.created_at is not earlier than p_{i-1}.request.created_at. Round i extends a proof that exists only after round i-1 was requested; a chain whose request times run backwards was not produced in the order it claims.
  10. p_i.version and p_i.request.version equal the manifest's version (Section 4), and under a renewal/0.4 or renewal/0.5 manifest p_i.request satisfies the step-wise rules of Section 6.

A chain failing any of these at round i is valid only through round i-1.

9.2. Relying-Party Verification

This section binds only a relying party that has adopted this procedure for a given issuer: one that already trusts the issuer for the original credential and has decided, as policy, to honor that issuer's manifests. A relying party that has not adopted it is unaffected by this document and rejects an expired credential as it always did.

An adopting relying party receiving a request from the requester after original_expiry MUST NOT reject solely on that basis. It MUST instead:

  1. Obtain the MeshManifest (from the requester alongside the chain, or from its own provisioning) and verify it per Section 5.1, resolving issuer_did through the same trust configuration under which it accepts that issuer's credentials. The manifest supplies the peers, the quorum and the ceiling; it does not supply a reason to trust the issuer, which the relying party must already have.
  2. Authenticate the original credential, as presented by the requester alongside the chain or from its own copy (Section 3), in its own format; check that it hashes to the root request's original_credential_hash; and compare the chain's root request against it: requester_did, original_scope, original_issued_at, original_expiry and original_issuer_did MUST match. A relying party that cannot authenticate the original credential has no basis for the chain and MUST NOT accept it.
  3. Verify the requester's current RenewalChain per Section 9.1 under that manifest.
  4. Verify its own cached revocation state covers neither original_credential_hash nor manifest_hash. Under a manifest that names a revocation_feed, the relying party SHOULD take that state from its own view of the feed, and MAY recompute what each attester's stapled head implies.
  5. Apply the native credential's ordinary presentation and authorization checks for this use, replacing only the original expiry check with the verified chain's effective_expiry. Evaluate the lifetime against the relying party's current clock and apply the credential profile's expiry boundary. Preserve audience and resource restrictions where applicable. For a credential bound to a holder key, verify the native proof of possession for the current presentation. A historical signature in the chain does not establish who presents it now.

Any failure in steps 1 to 4 means the credential MUST be treated as expired. Beyond what it already needed to accept the original credential, a relying party needs only the manifest and the chain; that is what distinguishes the manifest from a local configuration that happened to be shared.

10. Settlement

On reconnection to its issuer, the requester MUST request a fresh, issuer-signed credential before processing any further peer attestations, transmit its full RenewalChain to the issuer for audit, and synchronize its revocation cache from the issuer before honoring or issuing any further attestation. An issuer-issued credential supersedes any peer-attested RenewalChain on sight.

11. Security Considerations

What is new trust, and what is not. No independent root of authority is introduced: every signature a verifier checks resolves to the issuer's key (the manifest) or to a key the issuer named (the attestations), and the quorum is a limited-authority local issuer the issuer appointed. That is a narrower claim than "no new trust assumptions", and this document does not make the broader one. Relative to the connected case, a deployment newly assumes that the manifest was provisioned honestly, that mesh clocks agree within the manifest's tolerance, and that attesters report health in good faith. Each is named below.

No unilateral self-grant. A requester's own signature is never part of any attestation and never counts toward quorum. This MUST be enforced independently at two points: an honest attester refuses to sign a self-attestation (Section 7.2), and every verifier of an assembled proof or chain, including a relying party that did not itself assemble it, independently re-checks that no counted attestation's attester_did equals the proof's requester_did (Section 8.1). The second check is not redundant with the first: an adversary who controls the requester can hand-craft a RenewalProof directly, bypassing whatever an honest assembly routine would have filtered, and splice in a validly self-signed attestation to reach quorum. A verifier that skips the second check because assembly should have handled it is not actually enforcing this property.

The manifest is the delegation. Without the manifest, a peer set is whatever each peer was configured with, and a quorum of peers grants authority the issuer never delegated; a relying party outside the mesh has no way to learn the peer set, the quorum, or the ceiling it is supposed to check against. With it, the quorum is a limited-authority local issuer the issuer appointed in writing: the ceiling a verifier applies is the one under the issuer's signature, the scope a renewal may carry is capped by the issuer, and the electorate is the issuer's list. The membership check (Section 8.1, item 1) is load-bearing in the same way the self-attestation check is: without it, an adversary who cannot coerce honest peers simply generates N keys of its own. Every object carries manifest_hash so that nothing produced under one manifest verifies under another. Rotating the manifest invalidates everything produced under the old one for every party that holds the new one or has learned the old one is revoked; a party that has not will honor the old delegation until it does, which is the same residual as credential revocation below and the reason expires_at is the issuer's real lever.

Binding to the whole decision. Each attestation carries request_digest, the hash of the complete signed request. An attestation that signed only the fields it repeats (request identifier, nonce, credential hash, extension) would not bind the scope, the requester, the timestamps or the predecessor; since request_id is requester-chosen, a requester could collect attestations on a narrow-scope request and present a re-signed copy with the same identifier and nonce and a wider scope, and every per-field check would pass. The digest closes that; and because consistency across a chain is not truth, Section 9.2 step 2 separately requires the relying party to check the root request's claims against the credential the issuer actually signed.

Predecessor binding and forks. A request carries prior_proof_digest; the digest of the signed request is in every attestation; so a quorum's signatures commit to the exact history being extended, not merely to an extension amount that happens to add up. A relying party shown a different predecessor than the one a round was attested against sees the link break. Separately, an honest attester signs at most one request per chain position (Section 7.2, item 10); two sets of ceil(2N/3) peers share at least N/3 members, so two conflicting proofs for one position require at least N/3 equivocating peers. That is a bound on forks, not agreement: the protocol does not establish that the peers hold one authoritative history, only that any history a relying party is shown was signed in full by a threshold of named peers. The threshold is borrowed from Byzantine fault tolerant systems for its intersection property; this document is not a consensus protocol and does not claim to be.

Forgery bound. Assembling a valid RenewalProof requires ceil(2N/3) distinct, independently verifying signatures from the peer set the issuer named, each independently bound by digest to the manifest and to that specific request (Section 8.1). A colluding minority of up to N - ceil(2N/3) peers cannot forge a proof without honest participation. The digest binding is load-bearing for this bound, not incidental: without it, a genuinely-signed attestation collected for a different request, even one signed by an honest peer for an unrelated requester, is individually valid and can be spliced into an unrelated proof to pad it to quorum, without forging or coercing anything.

Malformed input is a reject. Every check in Sections 5 to 9 runs on input an adversary chose: the presented manifest, the request, the attestations and the chain. A verifier that aborts on an object it cannot canonicalize, an integer outside the I-JSON range, or an expiry RFC 3339 cannot write, instead of rejecting it, turns any member's malformed message into a denial of service against its peers and relying parties. Section 4 requires the reject.

One spelling per signature. A base64 decoder that ignores stray characters or nonzero pad bits reads many strings as the same signature, and each string gives the request a different request_digest. An on-path party that cannot sign anything could then rebroadcast copies of a genuine request, and an honest attester that signed a copy has spent its one attestation for that chain position (Section 7.2, item 10): spreading copies across the peer set denies the round its quorum. Requiring the canonical encoding (Section 4) leaves one valid request per signature.

Liveness bound, not a backdoor. A malicious or unavailable minority can withhold attestation and force fail-closed (deny a renewal); it cannot force an unauthorized grant.

Bounded exposure. ceiling_seconds, fixed by the issuer in the signed manifest and measured from the original credential's issuance, terminates peer-attested authority even if the partition never heals. The manifest's own expires_at bounds the window in which any request can be made at all. Both numbers are the issuer's; a peer cannot raise either locally.

Monotonic scope. original_scope is verified unchanged, byte for byte, by every attester at grant time and every relying party at use time, across every round of a chain, and it MUST lie within the manifest's scope_ceiling. No field in RenewalRequest or PeerAttestation is capable of carrying a wider claim.

Front-loading. Health is observed once per round. Under a renewal/0.3 manifest, and under a renewal/0.4 manifest that leaves either step-wise member null, a requester can secure the whole of ceiling_seconds on one quorum's observation, and no later observation is needed to keep it: in a single round when no round limit is set, or in rounds requested back to back early in a partition when no lead time is set. The ceiling, not the round, then bounds the exposure. An issuer that wants health re-observed at intervals sets both max_round_extension_seconds and max_lead_seconds (Section 6). Every round is then requested no earlier than the lead time before the expiry it extends and asks no more than the round limit, so authority runs at most max_lead_seconds + max_round_extension_seconds + max_clock_skew_seconds past the as_of of every attestation in the round that granted it (the lead rule is checked against created_at, and an attester's as_of may sit up to the clock tolerance before it), and a relying party checks both rules from the chain and the manifest alone. as_of is the time at which the attester vouches for the requester's health; the evidence behind it may be older, by up to the attester's own freshness window (Section 7.1). A renewal/0.5 manifest that sets max_health_evidence_age_seconds bounds that too: authority then runs at most max_health_evidence_age_seconds + max_lead_seconds + max_round_extension_seconds + max_clock_skew_seconds past the evidence_at of every attestation in the round (Section 7.5). The bound is on how far authority runs past an attestation, not on whether the attestation was truthful (see the health-evidence consideration below).

The revocation residual. If the issuer revokes the credential or manifest while the requester is partitioned, an evaluator unaware of the revocation can continue to accept otherwise valid evidence until its applicable time bound. An evaluator receiving authenticated revocation information through another path can reject earlier. Peers attesting in good faith, against their own last-cached revocation state, may extend a credential the issuer has already condemned, up to the ceiling. This is a structural property of every credential system under partition; it is not eliminated by this document's mechanism, only bounded (by the ceiling and the manifest window) and priced (by the mandatory revocation resynchronization at settlement, Section 10). An implementation MUST NOT represent this mechanism as providing partition-proof revocation.

A renewal/0.4 manifest that names a revocation_feed bounds the age of the revocation state attesters act on, without pretending to deliver it. Every attestation staples a signed head of the feed no older than max_revocation_staleness_seconds at its as_of (Section 7.3), and any member, relay or carrier that reached the feed's publisher can bring the attesters fresher state [SMREVOCATION]. This bounds how long the residual lasts only together with both step-wise members: with either of them null, rounds whose heads are still fresh enough can extend to the ceiling. With all four set, authority runs on revocation state at most max_revocation_staleness_seconds + max_lead_seconds + max_round_extension_seconds + max_clock_skew_seconds old. A mesh cut off from every such path stops renewing once the bound passes, instead of renewing to the ceiling on old information. That shortens how long the residual lasts; it does not remove it. The stapled head is the attester's statement that its view was complete to a head that fresh: a verifier can check the head, not the view's completeness or how the view was consulted, and the head is only as truthful as the feed's own signed times.

Stated against the revocation rather than the head: if the feed's publisher signs every head at the feed's current position and never signs a time earlier than one it signed before [SMREVOCATION], every head it signs at a position below a revocation is dated no later than the revocation (time order alone is not enough: a head at an old position dated after the revocation keeps time order), so a credential revoked by an entry signed at t_rev gets no round past t_rev + max_revocation_staleness_seconds + max_lead_seconds + max_round_extension_seconds + max_clock_skew_seconds, provided one attestation in each round comes from an attester truthful about its view's completeness. That rests on the publisher. Under a renewal/0.5 manifest that names witnesses, it need not: with at most revocation_witness_threshold - 1 witnesses deviating, a head whose chain lacks the revocation entry carries the threshold of cosignatures only if an honest witness co-signed it before walking that entry. So once the entry has reached len(revocation_witnesses) - revocation_witness_threshold + 1 honest witnesses, at a time T, no such head dated later than T + D is witnessed, where D is how far ahead of true time an honest witness accepts a head. The bound becomes T + D plus the same four terms, with no assumption about the publisher. T is when the entry reaches the witnesses, which the publisher controls: withholding an entry from every witness is indistinguishable from not revoking. Each honest witness walks one branch of the feed, so two forks of it are both witnessed only if at least 2 * revocation_witness_threshold - len(revocation_witnesses) witnesses deviate.

Bounds and how they were checked. With L, E, S, R and H for max_lead_seconds, max_round_extension_seconds, max_clock_skew_seconds, max_revocation_staleness_seconds and max_health_evidence_age_seconds, the bounds above are, per attestation in an accepted round: as_of + L + E + S; head generated_at + R + L + E + S; evidence_at + H + L + E + S; and the two stated against the revocation. The first three are met with equality by one round for every parameter value at which the ceiling does not bind first, and each round is checked against its own attestations, so they hold for chains of any length. The reference implementation's proofs encode the verification rules of Sections 6 to 9 as linear integer constraints and show with an SMT solver [Z3] that no assignment satisfies the rules and breaks a bound, for all integer parameter values; that the publisher's conduct above implies its bound, for up to twelve signing events, and the witness argument above implies its bound, for every witness set of up to seven with every threshold; and that removing the lead rule, the round limit, the clock rule, the witnesses' tip rule or their clock rule, or allowing as many deviating witnesses as the threshold, each admits a counterexample. A property test runs random multi-round chains through the reference verifier and checks that it accepts exactly when those rules say it should; each of the step-wise, clock, chain-order, head and evidence checks, loosened by one second, fails it. The proofs cover the rules as this document states them, not any implementation.

Witnesses are trusted as a threshold. Fewer than revocation_witness_threshold deviating witnesses change nothing above; that many can co-sign any head. A witness that loses its state could be walked down another branch of the feed, so the witness argument assumes honest witnesses keep durable state, as [SMFEED] requires. D rests on honest witnesses' clocks, as max_clock_skew_seconds rests on the mesh's; neither is established by this document. Witnesses bound the feed's publisher, not the attesters: completeness of an attester's view remains its signed statement.

Manifest provisioning and clock agreement are trusted computing base. This document specifies how a manifest is verified, not whom the issuer should list in it. A manifest signed by a compromised issuer key, or one into which a hostile member was admitted before signing, is honored exactly as written. Membership change during a partition is not supported: a new manifest cannot reach a severed mesh. This document does not provide a trusted clock; as_of and created_at are validated for well-formedness, against the manifest's validity window, for mutual consistency within max_clock_skew_seconds and for order along a chain, not against ground truth.

Health evidence is attester-asserted, and establishes activity, not authorization. health_evidence, and under renewal/0.5 its evidence_at, are what the attester claims to have observed and when, not something this mechanism independently measures, and at best it establishes that the requester was recently active: it sent a heartbeat, took part in a task, completed a round. That is not evidence that the requester is uncompromised or still entitled to its permissions. The issuer accepts that distinction when it signs a manifest; the quorum bound limits the damage from a misreporting attester; neither resolves the distinction, and this document does not claim they do.

12. IANA Considerations

This document requests no IANA actions. The version strings (renewal/0.3, renewal/0.4, renewal/0.5) and the health_evidence vocabulary are governed by this document and its successors. A future revision MAY register a media type for the RenewalChain object (candidate: application/renewal-chain+json) once transport contexts warrant it.

13. References

13.1. Normative References

[RFC2119]
Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, , <https://www.rfc-editor.org/info/rfc2119>.
[RFC3339]
Klyne, G. and C. Newman, "Date and Time on the Internet: Timestamps", RFC 3339, , <https://www.rfc-editor.org/info/rfc3339>.
[RFC4648]
Josefsson, S., "The Base16, Base32, and Base64 Data Encodings", RFC 4648, , <https://www.rfc-editor.org/info/rfc4648>.
[RFC7493]
Bray, T., "The I-JSON Message Format", RFC 7493, , <https://www.rfc-editor.org/info/rfc7493>.
[RFC8032]
Josefsson, S. and I. Liusvaara, "Edwards-Curve Digital Signature Algorithm (EdDSA)", RFC 8032, , <https://www.rfc-editor.org/info/rfc8032>.
[RFC8174]
Leiba, B., "Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words", BCP 14, RFC 8174, , <https://www.rfc-editor.org/info/rfc8174>.
[RFC8610]
Birkholz, H., Vigano, C., and C. Bormann, "Concise Data Definition Language (CDDL): A Notational Convention to Express Concise Binary Object Representation (CBOR) and JSON Data Structures", RFC 8610, , <https://www.rfc-editor.org/info/rfc8610>.
[RFC8785]
Rundgren, A., Jordan, B., and S. Erdtman, "JSON Canonicalization Scheme (JCS)", RFC 8785, , <https://www.rfc-editor.org/info/rfc8785>.

13.2. Informative References

[CHAINIAC]
Nikitin, K., Kokoris-Kogias, E., Jovanovic, P., Gailly, N., Gasser, L., Khoffi, I., Cappos, J., and B. Ford, "CHAINIAC: Proactive Software-Update Transparency via Collectively Signed Skipchains and Verified Builds", , <https://www.usenix.org/system/files/conference/usenixsecurity17/sec17-nikitin.pdf>.
[CORROB]
Chandra, S., "Multi-Source Corroboration for AI Agent Discovery", Work in Progress, Internet-Draft, draft-chandra-agent-registry-corroboration-02, , <https://datatracker.ietf.org/doc/draft-chandra-agent-registry-corroboration/>.
[COSI]
Syta, E., Tamas, I., Visher, D., I. Wolinsky, D., Jovanovic, P., Gasser, L., Gailly, N., Khoffi, I., and B. Ford, "Keeping Authorities "Honest or Bust" with Decentralized Witness Cosigning", DOI 10.1109/SP.2016.38, , <https://doi.org/10.1109/SP.2016.38>.
[CTGOSSIP]
Chuat, L., Szalachowski, P., Perrig, A., Laurie, B., and E. Messeri, "Efficient Gossip Protocols for Verifying the Consistency of Certificate Logs", DOI 10.1109/CNS.2015.7346853, , <https://doi.org/10.1109/CNS.2015.7346853>.
[DIDKEY]
W3C Credentials Community Group, "The did:key Method", , <https://w3c-ccg.github.io/did-key-spec/>.
[NANDAINDEX]
Raskar, R. and P. Chari, "Beyond DNS: Unlocking the Internet of AI Agents via the NANDA Index and Verified AgentFacts", , <https://arxiv.org/abs/2507.14263>.
[PBFT]
Castro, M. and B. Liskov, "Practical Byzantine Fault Tolerance", OSDI 1999, , <https://pmg.csail.mit.edu/papers/osdi99.pdf>.
[RAR]
Raskar, R., Sharaf, S., and P. Chari, "Registry-Assisted Resolution for Known Subjects Without DNS Discovery Anchors", Work in Progress, Internet-Draft, draft-raskar-agentic-web-federated-resolution-03, , <https://datatracker.ietf.org/doc/draft-raskar-agentic-web-federated-resolution/03/>.
[RFC4838]
Cerf, V., Burleigh, S., Hooke, A., Torgerson, L., Durst, R., Scott, K., Fall, K., and H. Weiss, "Delay-Tolerant Networking Architecture", RFC 4838, , <https://www.rfc-editor.org/info/rfc4838>.
[SMFEED]
Chandra, S., "The Verifiable Agent Feed", sm-feed 0.3.1, , <https://pypi.org/project/sm-feed/>.
[SMREVOCATION]
Chandra, S., "Freshness-Bounded Revocation Feeds", sm-revocation 0.2.0, , <https://pypi.org/project/sm-revocation/>.
[SPIFFE]
Cloud Native Computing Foundation, "Secure Production Identity Framework for Everyone (SPIFFE)", <https://github.com/spiffe/spiffe/blob/main/standards/SPIFFE.md>.
[TLOGWITNESS]
C2SP, "Transparency Log Witness Protocol", , <https://c2sp.org/tlog-witness@v1.1.0>.
[WIMSEARCH]
Salowey, J., Rosomakho, Y., and H. Tschofenig, "Workload Identity in a Multi System Environment (WIMSE) Architecture", Work in Progress, Internet-Draft, draft-ietf-wimse-arch, , <https://datatracker.ietf.org/doc/draft-ietf-wimse-arch/>.
[WIMSECHARTER]
IETF, "Workload Identity in Multi System Environments (WIMSE) - Working Group Charter", , <https://datatracker.ietf.org/wg/wimse/about/>.
[WIMSECREDS]
Campbell, B., Salowey, J., Schwenkschuster, A., Sheffer, Y., and Y. Rosomakho, "WIMSE Workload Credentials", Work in Progress, Internet-Draft, draft-ietf-wimse-workload-creds, , <https://datatracker.ietf.org/doc/draft-ietf-wimse-workload-creds/>.
[WIMSEID]
Rosomakho, Y. and J. Salowey, "Workload Identifier", Work in Progress, Internet-Draft, draft-ietf-wimse-identifier, , <https://datatracker.ietf.org/doc/draft-ietf-wimse-identifier/>.
[Z3]
de Moura, L. and N. Bjorner, "Z3: An Efficient SMT Solver", DOI 10.1007/978-3-540-78800-3_24, , <https://doi.org/10.1007/978-3-540-78800-3_24>.

Appendix A. Mapping to the Reference Implementation

The reference implementation, sm-renewal (version 0.6.0), exercises the renewal-object rules. Its chain verifier accepts credential claims that the caller authenticated. Checking the original credential, authenticating the current presenter, and enforcing the current time of use are caller responsibilities. The implemented rules include the MeshManifest (Section 5), the RenewalRequest, PeerAttestation, RenewalProof and RenewalChain wire shapes with their digests (Sections 6-9), the independent-evaluation procedure including the credential-claims comparison and the one-attestation-per-position rule (Section 7.2), the quorum, membership and binding checks (Section 8.1) and the ceiling arithmetic (Sections 7.2 and 9.1), verification of the supplied chain (Section 9), the step-wise rules and stapled revocation head of renewal/0.4 (Sections 6 and 7.3), and the witnessed head and health-evidence bound of renewal/0.5 (Sections 7.4 and 7.5); these rules are covered by a deterministic conformance corpus of 66 vectors (8 valid chains and 58 hostile paths; 30 of the vectors are for renewal/0.4 and renewal/0.5, among them chains sitting exactly on every bound of each version at once and, for each of those bounds, the same chain crossing it by one second, a round over the per-round limit, a round requested before the lead time, a missing, stale, future-dated, foreign, tampered or mistyped stapled head, a head where the manifest names no feed, a chain mixing versions, a head with fewer cosignatures than the threshold, a cosignature from a witness the manifest does not name, a cosignature of another head at the same position, cosignatures out of order, a forged cosignature, health evidence one second too old or dated after as_of, an attestation missing evidence_at, and a stapled head whose entry_hash ends in a newline; the rest include a request re-signed with wider scope after attestation, a broken predecessor link, a credential-claims mismatch, a relying party holding incomplete credential claims, an attester outside the peer set, a full quorum padded with one non-member attestation, a manifest too small for any requester, a tampered manifest signature, request times running backwards, an integer outside the I-JSON range, an unpaired surrogate, an expiry past what RFC 3339 can write, a genuine request signature re-spelled with a nonzero pad bit and a request_id ending in a newline) and a test suite. The test suite checks the CDDL in Appendix B against every vector, and it was cross-checked with the reference CDDL tool: every well-formed object matches it, and every object malformed in a way CDDL can state does not. Each vector names the first failing check with a stage label; the accept or reject outcome is what a second implementation must reproduce, and the labels are informative. The bounds of Section 11 are checked by the SMT proofs and property test described there. The witness rules are implemented and vectored in [SMFEED], and a revocation view that counts only witnessed heads in [SMREVOCATION]. Conformance vectors and proofs demonstrate that the implementation enforces what this document states, and that the stated rules imply the stated bounds; they are not a proof that the design has no further gaps, and independent review is invited. The reference implementation is available (MIT License) at https://pypi.org/project/sm-renewal/; its source distribution includes this document, the specification, the conformance corpus and the proofs.

Appendix B. CDDL

The structure of each wire object, in CDDL [RFC8610] applied to JSON. A map lists every member its object may carry, so a member it does not list is malformed (Section 4). .regexp patterns match the whole string. The prose states the rules CDDL does not: sorting and uniqueness of the members and scope_ceiling arrays, sorting of original_scope, the quorum size of attestations, original_expiry after original_issued_at, expires_at after issued_at, the sorting and uniqueness of revocation_witnesses and that it omits revocation_feed, revocation_witness_threshold at most the number of witnesses, the order, distinctness and count of revocation_cosignatures, evidence_at not after as_of, and every rule relating one object to another (among them, that revocation_head is null exactly when the manifest names no revocation_feed, and revocation_cosignatures exactly when it names no witnesses). That every object of one chain carries one version is stated in CDDL.

; renewal/0.3, renewal/0.4 and renewal/0.5 wire objects in CDDL
; (RFC 8610), as JSON. Maps are closed: a member not listed is a
; reject (Section 4). Sorting, uniqueness, quorum size and
; cross-field rules are in the prose and are not repeated here.

; Every object of one chain carries its manifest's version.
renewal-chain = [+ renewal-proof-03] / [+ renewal-proof-04] /
                [+ renewal-proof-05]
renewal-proof = renewal-proof-03 / renewal-proof-04 /
                renewal-proof-05
mesh-manifest = mesh-manifest-03 / mesh-manifest-04 /
                mesh-manifest-05
renewal-request = renewal-request-03 / renewal-request-04 /
                  renewal-request-05
peer-attestation = peer-attestation-03 / peer-attestation-04 /
                   peer-attestation-05

mesh-manifest-03 = {
  version: "renewal/0.3",
  manifest-members,
}

; renewal/0.4 adds step-wise renewal and revocation freshness.
; Each member is always present; null leaves its rule unset.
mesh-manifest-04 = {
  version: "renewal/0.4",
  manifest-members,
  max_round_extension_seconds: positive-int / null,
  max_lead_seconds: non-negative-int / null,
  revocation-binding,
}

; renewal/0.5 adds witnesses for the stapled head and a bound on
; the age of the health evidence behind an attestation.
mesh-manifest-05 = {
  version: "renewal/0.5",
  manifest-members,
  max_round_extension_seconds: positive-int / null,
  max_lead_seconds: non-negative-int / null,
  revocation-binding-05,
  max_health_evidence_age_seconds: non-negative-int / null,
}

manifest-members = (
  manifest_id: tstr .ne "",
  issuer_did: did-key,
  members: [5* did-key],
  ceiling_seconds: positive-int,
  max_clock_skew_seconds: non-negative-int,
  scope_ceiling: [* tstr],
  issued_at: timestamp,
  expires_at: timestamp,
  signature: signature-b64,
)

; A revocation feed and its staleness bound: both or neither.
revocation-binding = (
  revocation_feed: null,
  max_revocation_staleness_seconds: null //
  revocation_feed: did-key,
  max_revocation_staleness_seconds: non-negative-int
)

; renewal/0.5: witnesses only with a feed, the threshold with them.
; That the threshold is at most the number of witnesses, and that
; the feed is not one of them, are in the prose.
revocation-binding-05 = (
  revocation_feed: null,
  max_revocation_staleness_seconds: null,
  revocation_witnesses: null,
  revocation_witness_threshold: null //
  revocation_feed: did-key,
  max_revocation_staleness_seconds: non-negative-int,
  revocation_witnesses: null,
  revocation_witness_threshold: null //
  revocation_feed: did-key,
  max_revocation_staleness_seconds: non-negative-int,
  revocation_witnesses: [+ did-key],
  revocation_witness_threshold: positive-int
)

; The members are listed in full in each version, not as a shared
; group: round-position is itself a group choice, which some CDDL
; tools do not accept inside a nested group.
renewal-request-03 = {
  version: "renewal/0.3",
  request_id: uuid-v4,
  requester_did: did-key,
  manifest_hash: digest,
  original_credential_hash: digest,
  original_issuer_did: did-key,
  original_scope: [* tstr],
  original_issued_at: timestamp,
  original_expiry: timestamp,
  requested_extension_seconds: positive-int,
  nonce: nonce-b64,
  round-position,
  created_at: timestamp,
  signature: signature-b64,
}

renewal-request-04 = {
  version: "renewal/0.4",
  request_id: uuid-v4,
  requester_did: did-key,
  manifest_hash: digest,
  original_credential_hash: digest,
  original_issuer_did: did-key,
  original_scope: [* tstr],
  original_issued_at: timestamp,
  original_expiry: timestamp,
  requested_extension_seconds: positive-int,
  nonce: nonce-b64,
  round-position,
  created_at: timestamp,
  signature: signature-b64,
}

renewal-request-05 = {
  version: "renewal/0.5",
  request_id: uuid-v4,
  requester_did: did-key,
  manifest_hash: digest,
  original_credential_hash: digest,
  original_issuer_did: did-key,
  original_scope: [* tstr],
  original_issued_at: timestamp,
  original_expiry: timestamp,
  requested_extension_seconds: positive-int,
  nonce: nonce-b64,
  round-position,
  created_at: timestamp,
  signature: signature-b64,
}

; Round 1 extends the credential; a later round extends a proof.
round-position = (
  round: 1, prior_proof_digest: null //
  round: 2..9007199254740991, prior_proof_digest: digest
)

peer-attestation-03 = {
  version: "renewal/0.3",
  attestation-members,
}

; revocation_head is null exactly when the manifest names no
; revocation_feed (a rule across objects, in the prose).
peer-attestation-04 = {
  version: "renewal/0.4",
  attestation-members,
  revocation_head: feed-head / null,
}

; revocation_cosignatures is null exactly when the manifest names
; no witnesses; sorted by witness, distinct, at least the threshold
; (rules across objects, in the prose).
peer-attestation-05 = {
  version: "renewal/0.5",
  attestation-members,
  revocation_head: feed-head / null,
  revocation_cosignatures: [+ feed-cosignature] / null,
  evidence_at: timestamp,
}

attestation-members = (
  attester_did: did-key,
  manifest_hash: digest,
  request_digest: digest,
  request_id: uuid-v4,
  nonce: nonce-b64,
  original_credential_hash: digest,
  granted_extension_seconds: positive-int,
  as_of: timestamp,
  health_evidence: health-evidence,
  signature: signature-b64,
)

; A signed head of an sm-feed revocation feed (feed-head/0.1).
feed-head = {
  version: "feed-head/0.1",
  feed_id: did-key,
  seq: non-negative-int,
  entry_hash: digest,
  generated_at: timestamp,
  signature: signature-b64,
}

; A witness's cosignature on that head (feed-cosignature/0.1): the
; head's feed_id, seq, entry_hash and generated_at, verbatim.
feed-cosignature = {
  version: "feed-cosignature/0.1",
  feed_id: did-key,
  seq: non-negative-int,
  entry_hash: digest,
  generated_at: timestamp,
  witness: did-key,
  signature: signature-b64,
}

renewal-proof-03 = {
  version: "renewal/0.3",
  manifest_hash: digest,
  request: renewal-request-03,
  effective_expiry: timestamp,
  attestations: [+ peer-attestation-03],
}

renewal-proof-04 = {
  version: "renewal/0.4",
  manifest_hash: digest,
  request: renewal-request-04,
  effective_expiry: timestamp,
  attestations: [+ peer-attestation-04],
}

renewal-proof-05 = {
  version: "renewal/0.5",
  manifest_hash: digest,
  request: renewal-request-05,
  effective_expiry: timestamp,
  attestations: [+ peer-attestation-05],
}

health-evidence = "heartbeat_current" / "task_participation" /
                  "consensus_round" / "other"

; Integers stay in the I-JSON range (RFC 7493), as RFC 8785 needs.
positive-int = 1..9007199254740991
non-negative-int = 0..9007199254740991

; RFC 3339, second precision, UTC, "Z" suffix.
timestamp = tstr .regexp
  "[0-9]{4}(-[0-9]{2}){2}T[0-9]{2}(:[0-9]{2}){2}Z"
digest = tstr .regexp "sha256:[0-9a-f]{64}"
did-key = tstr .regexp "did:key:z6Mk[1-9A-HJ-NP-Za-km-z]+"
uuid-v4 = tstr .regexp
"[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}"

; Canonical standard base64 (RFC 4648, Section 4): padded, and the
; pad bits of the last character are zero. A nonce is at least 16
; octets (24 characters); a signature is exactly 64 octets.
b64 = b64-whole / b64-pad1 / b64-pad2
b64-whole = tstr .regexp "([A-Za-z0-9+/]{4})*"
b64-pad1 = tstr .regexp
  "([A-Za-z0-9+/]{4})*[A-Za-z0-9+/]{2}[AEIMQUYcgkosw048]="
b64-pad2 = tstr .regexp "([A-Za-z0-9+/]{4})*[A-Za-z0-9+/][AQgw]=="
nonce-b64 = b64 .and (tstr .regexp ".{24,}")
signature-b64 = tstr .regexp "[A-Za-z0-9+/]{85}[AQgw]=="

Appendix C. Worked Example

Seven workloads coordinate at a remote site. Each holds a four-hour issuer-signed credential whose authenticated claims bind the workload and issuer to their renewal keys and identify the original scope. At provisioning, their issuer signed a MeshManifest listing all seven, with a 12-hour ceiling, a 5-minute clock tolerance, a scope ceiling of the two scopes any of them was issued, and a one-year validity window. The WAN drops for 45 minutes. One workload, 20 minutes from expiry, fails its issuer contact and broadcasts a RenewalRequest (a one-hour extension, round 1, fresh nonce, the manifest's hash) to its six peers, together with its token. N = 6, so quorum(6) = ceil(2*6/3) = 4. Five peers independently verify the manifest, their own membership, the issuer signature and the token's actual claims, cached revocation state, extend-only scope within the ceiling, ceiling headroom, and the requester's task participation within the last minute, and each signs a PeerAttestation over the digest of the request; four would have sufficed. The requester assembles a RenewalProof and continues; any peer receiving its subsequent requests verifies the chain independently, and a relying party that already trusts the operator's credential service and has adopted this procedure can do the same from the manifest, the chain and the token. Thirty minutes later the WAN returns; the requester requests a fresh token, transmits its RenewalChain for audit, and synchronizes revocation state. For this round the requester signs once, and five peers sign attestations. Four attestations would meet the threshold. Manifest signing took place at provisioning. Each relying party verifies the signed objects and applies its native presentation checks. No independent root authority introduced; the issuer delegated bounded renewal authority to peers it named, and the deployment now relies on that manifest, on its clocks, and on its peers' honesty about what they observed.

Appendix E. Open Issues

Appendix F. Changes for the renewal/0.5 Wire Profile

Appendix G. Changes for the renewal/0.4 Wire Profile

Acknowledgements

The WIMSE working group's charter framed the local-issuance problem this document builds on. The registry-lease application in the Related Work section is prompted by the registry-assisted resolution work of Ramesh Raskar, Samuel Sharaf and Pradyumna Chari; any misreading of their draft is the author's own. An anonymous security review of an earlier text of this document identified that the attestations did not bind the whole request, that rounds were not cryptographically linked, and that several claims were stronger than the format supported; the request digest, the proof digest, the credential-claims requirement, the equivocation rule and the corrected claims language are the response. A reviewer of a later text raised front-loading; the step-wise members of renewal/0.4 are the response. Independent and automated reviews of the witness design found that a witness must hold every head ahead of what it has walked, must not co-sign while it holds a later head than it has walked to, and must treat only the canonical spelling of a key as that key; Section 7.4 relies on those rules.

Author's Address

Sharath Chandra
StellarMinds.ai
Richmond, California
United States of America