HTTP Digest Access Authentication
RFC 7616
Document | Type |
RFC - Proposed Standard
(September 2015; Errata)
Obsoletes RFC 2617
|
|
---|---|---|---|
Authors | Rifaat Shekh-Yusef , David Ahrens , Sophie Bremer | ||
Last updated | 2020-01-21 | ||
Replaces | draft-ietf-httpauth-digest-encoding, draft-ietf-httpauth-digest-update | ||
Stream | Internet Engineering Task Force (IETF) | ||
Formats | plain text html pdf htmlized (tools) htmlized with errata bibtex | ||
Reviews | |||
Stream | WG state | Submitted to IESG for Publication | |
Document shepherd | Yoav Nir | ||
Shepherd write-up | Show (last changed 2015-03-09) | ||
IESG | IESG state | RFC 7616 (Proposed Standard) | |
Action Holders |
(None)
|
||
Consensus Boilerplate | Yes | ||
Telechat date | |||
Responsible AD | Kathleen Moriarty | ||
Send notices to | (None) | ||
IANA | IANA review state | Version Changed - Review Needed | |
IANA action state | RFC-Ed-Ack |
Internet Engineering Task Force (IETF) R. Shekh-Yusef, Ed. Request for Comments: 7616 Avaya Obsoletes: 2617 D. Ahrens Category: Standards Track Independent ISSN: 2070-1721 S. Bremer Netzkonform September 2015 HTTP Digest Access Authentication Abstract The Hypertext Transfer Protocol (HTTP) provides a simple challenge- response authentication mechanism that may be used by a server to challenge a client request and by a client to provide authentication information. This document defines the HTTP Digest Authentication scheme that can be used with the HTTP authentication mechanism. Status of This Memo This is an Internet Standards Track document. This document is a product of the Internet Engineering Task Force (IETF). It represents the consensus of the IETF community. It has received public review and has been approved for publication by the Internet Engineering Steering Group (IESG). Further information on Internet Standards is available in Section 2 of RFC 5741. Information about the current status of this document, any errata, and how to provide feedback on it may be obtained at http://www.rfc-editor.org/info/rfc7616. Shekh-Yusef, et al. Standards Track [Page 1] RFC 7616 HTTP Digest Access Authentication September 2015 Copyright Notice Copyright (c) 2015 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. This document may contain material from IETF Documents or IETF Contributions published or made publicly available before November 10, 2008. The person(s) controlling the copyright in some of this material may not have granted the IETF Trust the right to allow modifications of such material outside the IETF Standards Process. Without obtaining an adequate license from the person(s) controlling the copyright in such materials, this document may not be modified outside the IETF Standards Process, and derivative works of it may not be created outside the IETF Standards Process, except to format it for publication as an RFC or to translate it into languages other than English. Shekh-Yusef, et al. Standards Track [Page 2] RFC 7616 HTTP Digest Access Authentication September 2015 Table of Contents 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 4 1.1. Terminology . . . . . . . . . . . . . . . . . . . . . . . 4 2. Syntax Convention . . . . . . . . . . . . . . . . . . . . . . 4 2.1. Examples . . . . . . . . . . . . . . . . . . . . . . . . 4 2.2. ABNF . . . . . . . . . . . . . . . . . . . . . . . . . . 4 3. Digest Access Authentication Scheme . . . . . . . . . . . . . 5 3.1. Overall Operation . . . . . . . . . . . . . . . . . . . . 5 3.2. Representation of Digest Values . . . . . . . . . . . . . 5 3.3. The WWW-Authenticate Response Header Field . . . . . . . 5 3.4. The Authorization Header Field . . . . . . . . . . . . . 9 3.4.1. Response . . . . . . . . . . . . . . . . . . . . . . 11 3.4.2. A1 . . . . . . . . . . . . . . . . . . . . . . . . . 11 3.4.3. A2 . . . . . . . . . . . . . . . . . . . . . . . . . 12 3.4.4. Username Hashing . . . . . . . . . . . . . . . . . . 12 3.4.5. Parameter Values and Quoted-String . . . . . . . . . 12 3.4.6. Various Considerations . . . . . . . . . . . . . . . 13 3.5. The Authentication-Info and Proxy-Authentication-Info Header Fields . . . . . . . . . . . . . . . . . . . . . . 14 3.6. Digest Operation . . . . . . . . . . . . . . . . . . . . 15 3.7. Security Protocol Negotiation . . . . . . . . . . . . . . 16 3.8. Proxy-Authenticate and Proxy-Authorization . . . . . . . 17 3.9. Examples . . . . . . . . . . . . . . . . . . . . . . . . 18 3.9.1. Example with SHA-256 and MD5 . . . . . . . . . . . . 18 3.9.2. Example with SHA-512-256, Charset, and Userhash . . . 19Show full document text