Internet-Draft JOSE/COSE Issuer Self Signatures December 2026
Shepherd Expires 6 June 2027 [Page]
Workgroup:
Javascript Object Signing and Encryption
Internet-Draft:
draft-lumen-jose-cose-isig-00
Published:
Intended Status:
Informational
Expires:
Author:
E. Shepherd
Independent

Issuer Self Signatures for JOSE and COSE

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/.

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

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 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.

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

  • 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].

Table 1: New COSE Header Parameter
Name Label Value Type Value Registry Description Reference
isig TBD by IANA any - Issuer Self Signature RFCthis, Section 3.2

6. References

6.1. Normative References

[IANA.cose_header-parameters]
IANA, "COSE Header Parameters", <https://www.iana.org/assignments/cose>.
[IANA.jose_web-signature-encryption-header-parameters]
IANA, "JSON Web Signature and Encryption Header Parameters", <https://www.iana.org/assignments/jose>.
[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/rfc/rfc2119>.
[RFC7515]
Jones, M., Bradley, J., and N. Sakimura, "JSON Web Signature (JWS)", RFC 7515, DOI 10.17487/RFC7515, , <https://www.rfc-editor.org/rfc/rfc7515>.
[RFC7516]
Jones, M. and J. Hildebrand, "JSON Web Encryption (JWE)", RFC 7516, DOI 10.17487/RFC7516, , <https://www.rfc-editor.org/rfc/rfc7516>.
[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/rfc/rfc8174>.
[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/rfc/rfc9052>.

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", , <https://openid.net/specs/openid-connect-core-1_0.html>.
[RFC7518]
Jones, M., "JSON Web Algorithms (JWA)", RFC 7518, DOI 10.17487/RFC7518, , <https://www.rfc-editor.org/rfc/rfc7518>.
[RFC7519]
Jones, M., Bradley, J., and N. Sakimura, "JSON Web Token (JWT)", RFC 7519, DOI 10.17487/RFC7519, , <https://www.rfc-editor.org/rfc/rfc7519>.
[RFC8392]
Jones, M., Wahlstroem, E., Erdtman, S., and H. Tschofenig, "CBOR Web Token (CWT)", RFC 8392, DOI 10.17487/RFC8392, , <https://www.rfc-editor.org/rfc/rfc8392>.
[RFC8693]
Jones, M., Nadalin, A., Campbell, B., Ed., Bradley, J., and C. Mortimore, "OAuth 2.0 Token Exchange", RFC 8693, DOI 10.17487/RFC8693, , <https://www.rfc-editor.org/rfc/rfc8693>.
[RFC9053]
Schaad, J., "CBOR Object Signing and Encryption (COSE): Initial Algorithms", RFC 9053, DOI 10.17487/RFC9053, , <https://www.rfc-editor.org/rfc/rfc9053>.

Author's Address

Erin Shepherd
Independent