Internet-Draft Consent Continuity December 2026
Morrison Expires 6 June 2027 [Page]
Workgroup:
Network Working Group
Internet-Draft:
draft-morrison-consent-continuity-00
Published:
Intended Status:
Informational
Expires:
Author:
B. Morrison
Alter Meridian Pty Ltd

Consent Continuity Across a Signature Algorithm Change

Abstract

An act an agent performs under a person's signed consent grant is recorded with an address of the grant. The address is a SHA-256 digest of the grant's whole signed serialisation, signature included. A grant signed again under a new algorithm, as in the move to post-quantum signatures, has a new address, and the records of earlier acts no longer name it. This document defines the consent digest, a digest over the grant's signed payload alone. Every signed copy of a grant shares it. This document requires every copy and renewal of a grant to carry that payload unchanged, and it states what a verifier checks for an act made before the change, an act made after it, and an act under a grant never renewed. A withdrawal names fields inside the payload, and it therefore binds every copy. The document builds on the consent grant of the consent-settlement extension and on the renewal, key binding and downgrade rules of the post-quantum profile for durable signed statements.

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 6 June 2027.

▲

Table of Contents

1. Introduction

A consent grant of [CONSENT], Section 5.2, is a COSE_Sign1 object [RFC9052] whose payload the subject signs to permit defined reads. [CONSENT] addresses the grant by the SHA-256 digest of its complete COSE_Sign1 serialisation. The address commits to the signature as well as to the payload. A reader echoes it when it reads ([CONSENT], Section 5.3), the disclosure ledger records it ([CONSENT], Section 7), and an acts-for pass carries it as the standing authority behind an agent's acts ([ACTSFOR], Section 6.2). A record of an act is answered for years later by that address ([ACTSFOR], Section 6.4).

A change of signature algorithm gives a subject's grants new signatures. [PQDS] provides two tools for the change from classical to post-quantum signatures. A renewal wraps an existing statement whole under a new signature ([PQDS], Section 9). A key binding statement makes the subject's post-quantum key trusted while its classical key still is ([PQDS], Section 8). A renewal keeps the original bytes and keeps their address. Other routes lose it. A grant signed again under ML-DSA-87 has a new signature and a new address, and ML-DSA signing is randomised by default ([FIPS204], Section 3.4). Two signatures by one key over one payload differ. A forger able to make classical signatures can make a second valid signature over a genuine payload, and that copy has an address no record cites. The address is SHA-256 and has no other hash.

This document separates what the subject agreed to from the signature that shows it. The consent digest (Section 3) is taken over the grant's payload. Every copy of a grant carries the same payload, under any algorithm and inside any renewal, and has the same consent digest. An address still finds a copy, and the copy's payload gives the consent digest. Signatures decide only whether the verifier accepts the consent that digest names.

1.1. Scope

This document covers the evidence that an act rested on a consent grant, across a change of the algorithm that signs the grant. The change from classical to post-quantum signatures under [PQDS] motivates it, and Section 5 states the verifier's rules for that change. It defines no signature algorithm, no grant field other than the trust horizon of Section 4.3, and no transport. What a grant permits, the limits an act is held to, and payment are outside it. A record of an act is itself a signed statement under [PQDS], and its own authenticity is outside this document. The intended status is Informational, through the Independent Submission stream.

2. Conventions and Terminology

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.

This document uses the terms subject and consent grant of [CONSENT], Section 2, and the terms classical component, PQ component, validity end, trust horizon, reliance end, cut-over date and durable statement of [PQDS], Section 2, and the term key binding statement of [PQDS], Section 8. A subject is named in a grant by a ~handle with the grammar of handle-name in [ALTERURI], Section 3.3.

Grant payload:

The content of the byte string in the payload field of a grant's COSE_Sign1 structure ([RFC9052], Section 4.2), without the byte string's own CBOR head. It is the CBOR encoding of the grant map of [CONSENT], Section 5.2, exactly as the subject encoded and signed it.

Copy:

A COSE_Sign1 object signed by the subject whose payload is a grant payload. The first copy is the grant as first signed. A re-signed copy is one signed later, under the same or another algorithm.

Renewal:

A renewal of a copy under [PQDS], Section 9. A renewal is not a copy. The innermost payload of a renewal is a copy.

Grant address:

The SHA-256 digest of a copy's complete serialisation ([CONSENT], Section 5.2). Each copy has its own.

Consent digest:

The digest of a grant payload defined in Section 3.

Act:

Anything done under the authority of a grant, such as a disclosure under [CONSENT] or an agent's act under an acts-for pass [ACTSFOR]. The act time is when it took place.

Change time:

For one subject and one verifier, the earliest time at which the verifier can show that a key binding statement for the subject's PQ key existed, by the means [PQDS], Section 8, item 3, allows. A verifier that has accepted no key binding statement for a subject has no change time for that subject.

Verifier:

A party that checks that an act rested on a grant. A server before a disclosure ([CONSENT], Section 5.3), an issuer before it issues an acts-for pass ([ACTSFOR], Section 6.1), and anyone who later checks a record of an act are verifiers.

The consent digest of a grant is a digest of its grant payload, made with a hash algorithm of [RFC9054] and carried as the following CDDL [RFC8610] type:

consent-digest = [
  alg: int,     ; a hash algorithm in the COSE Algorithms registry
  value: bstr   ; the digest of the grant payload under alg
]

The type has the shape of COSE_CertHash ([RFC9360], Section 2). Existing COSE forms do not give one grant a single identity across its re-signed copies. A hash envelope [RFC9995] signs a hash of a payload in place of the payload itself. Each signed envelope is still a separate object with its own address. A transparency receipt under the architecture of [RFC9943] names one registered signed statement. A re-signed copy is another statement with its own receipt.

A non-normative example, in CBOR diagnostic notation, of a consent digest under SHA-256 (-16), with a placeholder in place of the 32 octets:

[-16, h'<32 octets of SHA-256 over the grant payload>']

The consent digest covers no header and no signature. Every copy of a grant has the same consent digest under one hash algorithm, whatever algorithm signed it. A new hash algorithm needs no new signature. Anyone holding a grant payload can compute its consent digest under the new hash.

Each grant payload carries a random grant_id and a random revocation_commitment ([CONSENT], Section 5.2). Two grants therefore never share a payload, and one payload signed twice is one grant.

A record of an act MAY carry the consent digest beside the grant address. A party that holds copies of grants SHOULD index them by consent digest.

4. Copies and Renewals

4.1. One Payload per Grant

A grant has one grant payload. Every copy of it, and the copy inside every renewal of it, MUST carry that payload byte for byte, attached and never detached ([RFC9052], Section 2). A change to any field, the expiry and trust horizon included, makes a new grant. A new grant MUST carry a new grant_id and a new revocation_commitment.

4.2. Moving a Grant to a New Algorithm

A grant meant to outlive a change of signature algorithm relies on the downgrade rule of [PQDS], Section 7, item 2. After its cut-over date, a verifier refuses a durable copy that verifies on a classical component alone.

A subject moving to a PQ key first binds it by a key binding statement ([PQDS], Section 8), made while its classical key is still trusted. Each grant then reaches the new algorithm by renewal, by re-signing, or by both.

Renewal:

The subject, or a renewer the subject named under [PQDS], Section 9, renews a copy as [PQDS], Section 9, states for COSE. The renewal holds the complete tagged copy as its payload. A renewal that carries both PQ foundations is a COSE_Sign with a lattice and a hash-based component ([PQDS], Section 5.2). The copy and its grant address are kept unchanged. A renewal is not a grant under [CONSENT], and a server that implements [CONSENT] alone does not read it as one.

Re-signing:

The subject signs the same grant payload again with its bound PQ key, as a new COSE_Sign1 under ML-DSA-87 or under a composite algorithm of [PQDS], Section 4.1. The result is a copy, and a grant under [CONSENT] with its own grant address. A named renewer MUST NOT re-sign, since a copy carries the subject's signature.

Both keep the consent digest. Renewal keeps every address already cited, and needs a verifier that unwraps renewals. Re-signing serves a verifier that implements [CONSENT] and accepts ML-DSA-87, and needs the first copy kept (Section 4.4).

[CONSENT], Section 10.1, asks a server to check that a grant's signing key was current at the grant's inception. A re-signed copy is signed by a key made after that inception. A verifier applies that check to the first copy.

4.3. The Trust Horizon of a Grant

[PQDS], Section 7, reads the validity end of a grant from its expiry field. [CONSENT] defines no field for the trust horizon of [PQDS], Section 6. This document defines one OPTIONAL key in the grant payload:

trust_horizon (text string, [RFC3339] date-time):

the time until which the subject means the grant to serve as evidence for acts made under it.

A grant with no expiry has no reliance end and is durable for every verifier that has set a cut-over date. A grant with an expiry and no trust_horizon has its reliance end at its expiry. After its reliance end no verifier relies on the grant for any act ([PQDS], Section 6). Where acts under a grant must be answerable after the grant ends, the subject SHOULD set trust_horizon at least that late when it makes the grant. The key cannot be added later (Section 4.1). A later trust horizon also lengthens how long copies are kept (Section 4.4), and the subject sets it no later than the purpose for keeping the grant requires.

[CONSENT] does not state how a verifier treats a payload key it does not know. A verifier that refuses unknown keys refuses a grant carrying trust_horizon, and a subject whose grants must be read by such a verifier leaves the key out.

4.4. Keeping Copies

A grant address finds only the copy it was taken over. A party that resolves grant addresses ([CONSENT], Section 5.3, step 1) SHOULD keep every copy and renewal it has resolved until the grant's reliance end. That includes a copy whose signature it no longer relies on. Such a copy still maps its address to a grant payload, and that mapping rests on SHA-256 alone. Asked for any address of a grant, the party SHOULD return every copy and renewal it holds with the same consent digest.

A copy is checked by its digest. Any party can supply it: the subject, the party that holds the subject's identity log, an issuer, or the party that recorded the act.

5. Verifying an Act

A verifier checks that an act rested on a grant in five steps, and SHOULD report which step decided the outcome.

  1. Find a copy. Obtain a copy whose SHA-256 digest equals the grant address in the record of the act, from any source, including the copy inside a renewal. The copy serves here only for its payload, and its signature is not checked in this step. If no such copy is found, the act is not shown to rest on a grant.

  2. Compute the consent digest of that copy's grant payload. Where the record also carries a consent digest, it MUST equal the computed one under the same alg. A mismatch is a failure.

  3. Accept the consent. Find a copy or renewal with that consent digest which the verifier accepts under its algorithm list ([PQDS], Section 3) and the downgrade rule ([PQDS], Section 7). A copy's key MUST be bound to the grant's subject: a classical key as [CONSENT], Section 5.3, step 1, binds it, and a PQ key through a key binding statement ([PQDS], Section 8). A renewal is accepted under [PQDS], Section 9. The reliance end comes from the grant payload: its expiry and its trust_horizon.

  4. Check the act time against the grant's inception and expiry. The act MUST fall within them. Other checks that the act's own protocol makes against the grant are outside this document.

  5. Check withdrawal as Section 6 states.

The act time is the verifier's own time where it checks an act as the act happens, and the time the record of the act states otherwise.

5.1. An Act Made Before the Change

For an act whose act time is before the change time, step 3 MAY accept the first copy alone where the downgrade rule accepts it. Once the verifier's cut-over date has passed, a durable grant needs a renewal or a re-signed copy in step 3, and the first copy still serves step 1.

5.2. An Act Made After the Change

For an act at or after the change time, a verifier MUST NOT accept in step 3 a copy that verifies on a classical component alone, unless it can show that a copy of the grant existed before the change time by the means [PQDS], Section 8, item 3, allows for a key binding. After the change the subject holds a PQ key, and a classical-only grant first seen after it is what a forger of the classical key would present. A subject that has bound a PQ key MUST sign every new grant with a PQ component.

5.3. An Act Under a Grant Never Renewed

A grant with no renewal and no re-signed copy has only its first copy for step 3. The downgrade rule MAY accept that copy until the grant's reliance end, where the verifier has set no cut-over date or the reliance end is at or before it. Otherwise the grant is durable, its first copy has a classical component alone, and step 3 fails. After the reliance end step 3 fails for every act. The verifier then reports the act as not shown to rest on a grant it accepts. That finding is about the evidence, and says nothing about whether the subject consented.

6. Withdrawal

[CONSENT], Section 5.3, step 5, withdraws a grant by a revocation event in the subject's identity log that names the grant_id, or by publication of the preimage of the revocation_commitment. Both values sit in the grant payload, and every copy and renewal carries them (Section 4.1). A withdrawal therefore binds every copy of the grant, under every algorithm.

7. Security Considerations

The attacker model is that of [PQDS], Section 14.1. The attacker can also replay any copy or renewal it has seen, and the subject, a party holding copies, or the operator of the subject's identity log can stop operating.

7.1. Forged Renewal

A renewal or re-signed copy is accepted only under a PQ key bound to the subject by a key binding statement made while the classical key was trusted ([PQDS], Section 8). A forger of classical signatures after the cut-over date cannot bind a key of its own ([PQDS], Section 14.2). A forged copy with an altered payload has another consent digest. It cannot attach to an act that cites an existing grant, since step 1 maps an address to a payload through SHA-256 and a second payload under the same address needs a second preimage. It can be offered only as a new grant, and Section 5.2 refuses it for an act after the change where it verifies on a classical component alone. A renewer that renews a copy forged before the renewal vouches for the forgery ([PQDS], Section 14.4). Re-signing carries the same exposure, and the subject re-signs only grants it knows it made.

7.2. Stripped Hybrid Component

A copy is a COSE_Sign1 with one signature. A composite copy is weakly non-separable in the terms of [RFC9955], and [PQDS], Section 14.3, covers a stripped classical component. A renewal in the separate-signature form ([PQDS], Section 4.2) can lose a component. If what remains is classical alone, [PQDS], Section 9, item 1, refuses it. If what remains carries one PQ foundation, only a verifier whose foundation set holds that foundation alone accepts it ([PQDS], Section 5.1, item 2). Stripping a component from any object leaves the grant payload and its consent digest unchanged. The act still finds the grant, and the downgrade rule decides whether the verifier accepts what remains.

7.3. Signature Malleability and a Broken Algorithm

A composite copy gives EUF-CMA and does not give SUF-CMA ([PQDS], Section 4.1). A second valid signature over the same payload can therefore exist. This document does not depend on SUF-CMA. Such a signature has a new grant address and the same consent digest, and withdrawal binds it (Section 6).

A break of ML-DSA is not assumed away here. [PQDS], Section 5, covers it for a grant whose copy or renewal carries a verifying hash-based component. A verifier that stops trusting ML-DSA withdraws the module-lattice foundation ([PQDS], Section 5.1, item 3), and such a grant is still shown by its hash-based component. Until it does, a verifier whose foundation set holds the module-lattice foundation alone has no protection from a forger of ML-DSA. A grant with no hash-based component is then shown only through a renewal under a hash-based key the verifier already trusts for the subject ([PQDS], Sections 8 and 9). The consent digest still finds the grant payload.

7.4. Replay After Withdrawal

An attacker holding the first copy can present it after the subject has withdrawn the grant, to a verifier that has seen only the re-signed copy, or the reverse. The two copies have different grant addresses and the same grant_id and revocation_commitment. Section 6 checks withdrawal by those fields, and the verifier refuses either copy. A verifier that checked withdrawal by grant address would honour the copy it had not seen withdrawn, and Section 6 forbids that check. A durable first copy replayed after the cut-over date also fails step 3.

7.5. A Party That Has Ceased

A subject that has lost its keys or ceased to act cannot bind a PQ key, renew or re-sign. Its durable grants fail step 3 from each verifier's cut-over date unless it named a renewer before then ([PQDS], Section 11). A named renewer can renew and cannot re-sign. Acts under such a grant stay recorded and are no longer shown to rest on a grant the verifier accepts.

A party that held copies and has ceased takes away availability and leaves integrity intact. A copy is checked by its digest and any holder can supply it (Section 4.4). A subject that keeps its own copies and renewals keeps every act under them checkable.

A verifier that cannot read the subject's identity log cannot check withdrawal. It MUST refuse a new act under the grant, as [CONSENT], Section 5.3, requires the check before each disclosure. For an earlier act it reports withdrawal as unchecked.

7.6. Linkability and Retention

The consent digest is the same in every copy and renewal. A party holding records of acts can therefore link them to one grant, as a grant address already links them to one copy. The grant payload names the subject by ~handle, and a party that keeps copies (Section 4.4) keeps that payload. The reliance end bounds how long a copy is kept, and the withdrawal of a grant does not remove copies already held.

7.7. Hash Strength

A consent digest is as strong as its hash algorithm. A grant address of [CONSENT] is SHA-256 alone. A record of an act that also carries the consent digest under a second hash keeps its link to the grant payload if SHA-256 weakens. A consent digest computed later under a new hash does not protect a record made before it.

8. IANA Considerations

This document has no IANA actions. The grant map of [CONSENT] has no registry of keys. The key of Section 4.3 therefore needs no registration.

9. Normative References

[RFC2119]
Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, DOI 10.17487/RFC2119, , <https://www.rfc-editor.org/info/rfc2119>.
[RFC3339]
Klyne, G. and C. Newman, "Date and Time on the Internet: Timestamps", RFC 3339, DOI 10.17487/RFC3339, , <https://www.rfc-editor.org/info/rfc3339>.
[RFC8174]
Leiba, B., "Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words", BCP 14, RFC 8174, DOI 10.17487/RFC8174, , <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, DOI 10.17487/RFC8610, , <https://www.rfc-editor.org/info/rfc8610>.
[RFC9052]
Schaad, J., "CBOR Object Signing and Encryption (COSE): Structures and Process", STD 96, RFC 9052, DOI 10.17487/RFC9052, , <https://www.rfc-editor.org/info/rfc9052>.
[RFC9054]
Schaad, J., "CBOR Object Signing and Encryption (COSE): Hash Algorithms", RFC 9054, DOI 10.17487/RFC9054, , <https://www.rfc-editor.org/info/rfc9054>.
[PQDS]
Morrison, B., "A Post-Quantum Profile for Durable Signed Statements in JOSE and COSE", Work in Progress, Internet-Draft, draft-morrison-pq-durable-statements-00, , <https://datatracker.ietf.org/doc/draft-morrison-pq-durable-statements/>.
Morrison, B., "Consent-Bound Identity Disclosure with Subject Settlement for HTTP-Native Agent Payments", Work in Progress, Internet-Draft, draft-morrison-consent-settlement-07, , <https://datatracker.ietf.org/doc/draft-morrison-consent-settlement/>.

10. Informative References

[ACTSFOR]
Morrison, B., "Acts-For: Signing In to a Website with a ~handle, for a Person or an Agent Acting for One", Work in Progress, Internet-Draft, draft-morrison-acts-for-04, , <https://datatracker.ietf.org/doc/draft-morrison-acts-for/>.
[ALTERURI]
Morrison, B., "The 'alter' URI Scheme for Dispatchable ~handle References", Work in Progress, Internet-Draft, draft-morrison-alter-uri-scheme-07, , <https://datatracker.ietf.org/doc/draft-morrison-alter-uri-scheme/>.
[RFC9955]
Bindel, N., Hale, B., Connolly, D., and F. Driscoll, "Hybrid Signature Spectrums", RFC 9955, , <https://www.rfc-editor.org/info/rfc9955>.
[RFC9360]
Schaad, J., "CBOR Object Signing and Encryption (COSE): Header Parameters for Carrying and Referencing X.509 Certificates", RFC 9360, DOI 10.17487/RFC9360, , <https://www.rfc-editor.org/info/rfc9360>.
[RFC9943]
Birkholz, H., Delignat-Lavaud, A., Fournet, C., Deshpande, Y., and S. Lasker, "An Architecture for Trustworthy and Transparent Digital Supply Chains", RFC 9943, , <https://www.rfc-editor.org/info/rfc9943>.
[RFC9995]
Steele, O., Lasker, S., and H. Birkholz, "CBOR Object Signing and Encryption (COSE) Hash Envelope", RFC 9995, , <https://www.rfc-editor.org/info/rfc9995>.
[FIPS204]
National Institute of Standards and Technology, "Module-Lattice-Based Digital Signature Standard", FIPS 204, , <https://csrc.nist.gov/pubs/fips/204/final>.

Document History

Acknowledgments

None yet.

Author's Address

Blake Morrison
Alter Meridian Pty Ltd