INTERNET-DRAFT L. Camara Network Working Group June 13, 2017 Updates: 5280 (if approved) Intended Status: Standards Track Expires: December 15, 2017 Update to RFC5280 to allow SHA-256 hashes in the Authority Key Identifier and Subject Key Identifier extensions draft-luis140219-curdle-sha256keyident-00 Abstract This document updates RFC 5280, the "Internet X.509 Public Key Infrastructure Certificate and Certificate Revocation List (CRL) Profile", to allow SHA-256 hashes in the Authority Key Identifier and Subject Key Identifier extensions. 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 http://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 December 15, 2017. Copyright Notice Copyright (c) 2017 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 (http://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 Simplified BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Simplified BSD License. Table of Contents 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . 2 2. Updates to RFC 5280 . . . . . . . . . . . . . . . . . . . . . . 2 3. Security Considerations . . . . . . . . . . . . . . . . . . . . 2 Camara Expires December 15, 2017 [Page 1] Internet-Draft SHA256 in Key Identifiers June 2017 4. IANA Considerations . . . . . . . . . . . . . . . . . . . . . . 2 5. References . . . . . . . . . . . . . . . . . . . . . . . . . . 2 5.1. Normative References . . . . . . . . . . . . . . . . . . . . 2 5.2. Informative References . . . . . . . . . . . . . . . . . . . 2 1. Introduction This document updates the "Internet X.509 Public Key Infrastructure Certificate and Certificate Revocation List (CRL) Profile" [RFC5280]. After the first SHA-1 collision in 2017-02-23 [SHATTERED], hash collisions are expected to get more efficient and affordable. In the near future, SHA-1 may not suffice for identification of keys as keys with colliding hashes may be generated. 2. Updates to RFC 5280 In addition to the two methods defined in Section 4.2.1.2 of RFC 5280, a third method is defined below that generates the value of the keyIdentifier from the public key: The keyIdentifier is composed of the 256-bit SHA-256 hash of the value of the BIT STRING subjectPublicKey (excluding the tag, length and number of unused bits). 3. Security Considerations This document adds capabilities for using more secure technology with pre-existent standards, and therefore has no security implications. 4. IANA Considerations This document has no actions for IANA. 5. References 5.1. Normative References [RFC5280] Cooper, D., Santesson, S., Farrell, S., Boeyen, S., Housley, R., and W. Polk, "Internet X.509 Public Key Infrastructure Certificate and Certificate Revocation List (CRL) Profile", RFC 5280, May 2008. 5.2. Informative References [SHATTERED] Stevens, M., Bursztein, E., Karpman, P., Albertini, A., Markov, Y., Petit-Bianco, A., Invernizzi, L., and C. Blaisse, "SHAttered", https://shattered.io, 23 February 2017. Camara Expires December 15, 2017 [Page 2] Internet-Draft SHA256 in Key Identifiers June 2017 Author's Address Luis Camara (@luis140219 on GitHub) EMail: luis.camara@live.com.pt Camara Expires December 15, 2017 [Page 3]