| Internet-Draft | Update to RFC 6211 | September 2026 |
| Housley & Turner | Expires 13 March 2027 | [Page] |
This document updates RFC 6211. It corrects an error in the definition of the id-aa-CMSAlgorithmProtect ASN.1 object identifier. The IANA registry entry has always been correct.¶
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 13 March 2027.¶
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. Code Components extracted from this document must include Revised BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Revised BSD License.¶
This document corrects a mistake in [RFC6211]. It corrects an error in definition of the id-aa-CMSAlgorithmProtection ASN.1 object identifier.¶
The IANA registry entry for this ASN.1 object identifier does not need to be updated; it has always been correct.¶
The authors are aware of two implementations of RFC 6211, but they did not interoperate because one used the ASN.1 object identifier from RFC 6211 and the other used the ASN.1 object identifier from the IANA registry.¶
The mistakes were reported in [Err9144] and [Err9145].¶
In addition, the body of the document says that the set of attributes will "include only one instance of the algorithm protection attribute." This requirement can be included in the ASN.1 defintion.¶
This update to RFC 6211 will hopefully resolve future interoperability troubles.¶
OLD:¶
aa-cmsAlgorithmProtection ATTRIBUTE ::= {
TYPE CMSAlgorithmProtection
IDENTIFIED BY { id-aa-CMSAlgorithmProtection }
}
The following object identifier identifies the algorithm protection
attribute:
id-aa-CMSAlgorithmProtection OBJECT IDENTIFIER ::= { iso(1)
member-body(2) us(840) rsadsi(113549) pkcs(1) pkcs9(9) 52 }
¶
NEW:¶
aa-cmsAlgorithmProtection ATTRIBUTE ::= {
TYPE CMSAlgorithmProtection
COUNTS MAX 1
IDENTIFIED BY id-aa-CMSAlgorithmProtect
}
The following object identifier identifies the algorithm protection
attribute:
id-aa-CMSAlgorithmProtect OBJECT IDENTIFIER ::= { iso(1)
member-body(2) us(840) rsadsi(113549) pkcs(1) pkcs9(9)
smime(16) aa(2) 52 }
¶
OLD:¶
aa-cmsAlgorithmProtection ATTRIBUTE ::= {
TYPE CMSAlgorithmProtection
IDENTIFIED BY { id-aa-cmsAlgorithmProtect }
}
id-aa-cmsAlgorithmProtect OBJECT IDENTIFIER ::= {
iso(1) member-body(2) us(840) rsadsi(113549) pkcs(1)
pkcs9(9) 52 }
¶
NEW:¶
aa-cmsAlgorithmProtection ATTRIBUTE ::= {
TYPE CMSAlgorithmProtection
COUNTS MAX 1
IDENTIFIED BY id-aa-CMSAlgorithmProtect
}
id-aa-cmsAlgorithmProtect OBJECT IDENTIFIER ::= {
iso(1) member-body(2) us(840) rsadsi(113549) pkcs(1)
pkcs9(9) smime(16) aa(2) 52 }
¶
No IANA registry updates are needed. The IANA registry is correct.¶
The CMS attribute specified in [RFC6211] is designed to address the security issue of algorithm substitutions. That is, the originator uses one algorithm, an attacker modifies the message, and then the validator uses a different algorithm. The specified protection is not successful unless all implementers use the same ASN.1 object identifier for the attribute.¶
Thanks to Paul Timmel for being the first person to spot the error in [RFC6211].¶
Thanks to Corey Bonnell and Mike StJohns for their careful review and constructive comments. The document is much better because of their review.¶