Javascript Object Signing and Encryption E. Shepherd Internet-Draft Independent Intended status: Informational 3 December 2026 Expires: 6 June 2027 Issuer Self Signatures for JOSE and COSE draft-lumen-jose-cose-isig-00 Abstract This document registers JOSE and COSE header parameters that may be used by the issuer of a JOSE or COSE signed, MACed or encrypted message (typically but not exclusively a JSON Web Token (JWT) or CBOR Web Token (CWT)) to facilitate validation of said messages by the issuer, independently of any method used for validation by any intended recipient(s). About This Document This note is to be removed before publishing as an RFC. The latest revision of this draft can be found at https://erincandescent.github.io/draft-lumen-jose-cose-isig/draft- lumen-jose-cose-isig.html. Status information for this document may be found at https://datatracker.ietf.org/doc/draft-lumen-jose-cose- isig/. Discussion of this document takes place on the Javascript Object Signing and Encryption Working Group mailing list (mailto:jose@ietf.org), which is archived at https://mailarchive.ietf.org/arch/browse/jose/. Subscribe at https://www.ietf.org/mailman/listinfo/jose/. Source for this draft and an issue tracker can be found at https://github.com/erincandescent/draft-lumen-jose-cose-isig. 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/. Shepherd Expires 6 June 2027 [Page 1] Internet-Draft JOSE/COSE Issuer Self Signatures December 2026 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. Copyright Notice Copyright (c) 2026 IETF Trust and the persons identified as the document authors. All rights reserved. This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents (https://trustee.ietf.org/ license-info) in effect on the date of publication of this document. Please review these documents carefully, as they describe your rights and restrictions with respect to this document. Table of Contents 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 2 2. Conventions and Definitions . . . . . . . . . . . . . . . . . 3 3. Header Parameters . . . . . . . . . . . . . . . . . . . . . . 3 3.1. JOSE . . . . . . . . . . . . . . . . . . . . . . . . . . 3 3.2. COSE . . . . . . . . . . . . . . . . . . . . . . . . . . 4 4. Security Considerations . . . . . . . . . . . . . . . . . . . 4 5. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 4 5.1. JSON Web Signature and Encryption Header Parameter . . . 4 5.1.1. isig . . . . . . . . . . . . . . . . . . . . . . . . 4 5.2. COSE Header Parameter . . . . . . . . . . . . . . . . . . 5 6. References . . . . . . . . . . . . . . . . . . . . . . . . . 5 6.1. Normative References . . . . . . . . . . . . . . . . . . 5 6.2. Informative References . . . . . . . . . . . . . . . . . 6 Author's Address . . . . . . . . . . . . . . . . . . . . . . . . 6 1. Introduction Signed messages are typically created with a specific audience in mind. For example, [OpenID.Core] ID Tokens are JWTs [RFC7519] issued for consumption by the requesting client. Quite often, there is an implicit secondary audience: the issuer itself. Consider [RFC8693], which provides a mechanism by which a client can exchange an ID Token for some other type of token (such as an access token for a specific resource). The method used for protecting the token between the issuer and client may not always be sufficient for the issuer. [OpenID.Core] allows clients to request that tokens be protected with a pre-shared Shepherd Expires 6 June 2027 [Page 2] Internet-Draft JOSE/COSE Issuer Self Signatures December 2026 symmetric key, or returned as an unsigned JWT from the token endpoint. In both of these cases, validation of the token's enclosing JWS does not provide the issuer with any assurance of the token's validity. Even when asymmetric cryptography is used, the issuer may still wish to validate tokens by means other than the JWS or COSE signature. For example, an issuer may issue ECDSA- or RSA-signed tokens for use by legacy clients, but not wish to accept such messages itself. This document registers JOSE and COSE header parameters to permit an issuer to perform self validation in an implementation-defined manner. 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. Throughout this specification, the term issuer is used to refer to the party producing a JWS [RFC7515], JWE [RFC7516] or COSE [RFC9052] object, in line with usage in JWT [RFC7519] and CWT [RFC8392]. The term recipient is used to refer to any party in recipt of the object other than the issuer. 3. Header Parameters 3.1. JOSE Issuers MAY include the isig parameter inside the JOSE protected or unprotected header ([RFC7515] [RFC7516]). The value and type of this parameter are implementation-defined. The issuer MAY use a detached JWS in compact serialization, computed over the payload of the JWS or plaintext of the JWE envelope using a symmetric algorithm (e.g., HS256 [RFC7518]), but is not required to do so. Issuers MUST NOT list the isig header parameter within the crit header parameter ([RFC7515] [RFC7516]). Recipients other than the issuer MUST ignore any isig parameter. Shepherd Expires 6 June 2027 [Page 3] Internet-Draft JOSE/COSE Issuer Self Signatures December 2026 3.2. COSE Issuers MAY include the isig parameter (label TBD) inside the COSE protected or unprotected header ([RFC9052]). The value and type of this parameter are implementation-defined. The issuer MAY use a COSE_Mac0 [RFC9052] over the payload or plaintext of the enclosing COSE structure using a symmetric algorithm (e.g., HMAC 256/256 [RFC9053]), but is not required to do so. Issuers MUST NOT list the isig header parameter within the crit header parameter ([RFC9052]). Recipients other than the issuer MUST ignore any isig parameter. 4. Security Considerations Implementations making use of symmetric algorithms for self signature validation MUST ensure that those keys are adequately protected. Implementations MUST ensure that any fields they rely upon to make security decisions are covered by whichever implementation-defined validation mechanism they choose; in particular, the methods suggested by this specification do not offer protection of information contained within the unprotected _or_ protected headers of the JOSE or COSE object to which the self signature has been added. Implementors might find the general security considerations of [RFC7515], [RFC7516] and [RFC9052] to be informative. 5. IANA Considerations RFC Editor: please replace RFCthis throughout this document with the RFC number assigned to this document, and remove this note. 5.1. JSON Web Signature and Encryption Header Parameter IANA is requested to add the following entry to the "JSON Web Signature and Encryption Header Parameters" registry [IANA.jose_web-signature-encryption-header-parameters]: 5.1.1. isig * Header Parameter Name: "isig" * Header Parameter Description: Implementation-defined issuer self signature * Header Parameter Usage Location(s): JWE, JWS Shepherd Expires 6 June 2027 [Page 4] Internet-Draft JOSE/COSE Issuer Self Signatures December 2026 * Change Controller: IETF * Specification Document(s): Section 3.1 of RFCthis 5.2. COSE Header Parameter IANA is requested to allocate the COSE header parameter defined in Table 1 in the "COSE Header Parameters" registry [IANA.cose_header-parameters]. +======+========+============+==========+=============+=============+ | Name | Label | Value | Value | Description | Reference | | | | Type | Registry | | | +======+========+============+==========+=============+=============+ | isig | TBD by | any | - | Issuer Self | RFCthis, | | | IANA | | | Signature | Section 3.2 | +------+--------+------------+----------+-------------+-------------+ Table 1: New COSE Header Parameter 6. References 6.1. Normative References [IANA.cose_header-parameters] IANA, "COSE Header Parameters", . [IANA.jose_web-signature-encryption-header-parameters] IANA, "JSON Web Signature and Encryption Header Parameters", . [RFC2119] Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, DOI 10.17487/RFC2119, March 1997, . [RFC7515] Jones, M., Bradley, J., and N. Sakimura, "JSON Web Signature (JWS)", RFC 7515, DOI 10.17487/RFC7515, May 2015, . [RFC7516] Jones, M. and J. Hildebrand, "JSON Web Encryption (JWE)", RFC 7516, DOI 10.17487/RFC7516, May 2015, . [RFC8174] Leiba, B., "Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words", BCP 14, RFC 8174, DOI 10.17487/RFC8174, May 2017, . Shepherd Expires 6 June 2027 [Page 5] Internet-Draft JOSE/COSE Issuer Self Signatures December 2026 [RFC9052] Schaad, J., "CBOR Object Signing and Encryption (COSE): Structures and Process", STD 96, RFC 9052, DOI 10.17487/RFC9052, August 2022, . 6.2. Informative References [OpenID.Core] Sakimura, N., Bradley, J., Jones, M. B., Medeiros, B. de., and C. Mortimore, "OpenID Connect Core 1.0 incorporating errata set 2", 15 December 2023, . [RFC7518] Jones, M., "JSON Web Algorithms (JWA)", RFC 7518, DOI 10.17487/RFC7518, May 2015, . [RFC7519] Jones, M., Bradley, J., and N. Sakimura, "JSON Web Token (JWT)", RFC 7519, DOI 10.17487/RFC7519, May 2015, . [RFC8392] Jones, M., Wahlstroem, E., Erdtman, S., and H. Tschofenig, "CBOR Web Token (CWT)", RFC 8392, DOI 10.17487/RFC8392, May 2018, . [RFC8693] Jones, M., Nadalin, A., Campbell, B., Ed., Bradley, J., and C. Mortimore, "OAuth 2.0 Token Exchange", RFC 8693, DOI 10.17487/RFC8693, January 2020, . [RFC9053] Schaad, J., "CBOR Object Signing and Encryption (COSE): Initial Algorithms", RFC 9053, DOI 10.17487/RFC9053, August 2022, . Author's Address Erin Shepherd Independent Email: erin.shepherd@e43.eu Shepherd Expires 6 June 2027 [Page 6]