Skip to content

Commit

Permalink
Merge pull request #2762 from httpwg/sign_auth/intermediary
Browse files Browse the repository at this point in the history
Signature Auth: add Signature-Auth-Context header
  • Loading branch information
DavidSchinazi authored May 24, 2024
2 parents bbd15cc + 50b46d6 commit b8dd944
Showing 1 changed file with 42 additions and 2 deletions.
44 changes: 42 additions & 2 deletions draft-ietf-httpbis-unprompted-auth.md
Original file line number Diff line number Diff line change
Expand Up @@ -453,12 +453,25 @@ HTTP intermediaries that support this specification have two options:
{{output}}}), and forward it to the upstream HTTP server, then the upstream
server performs the validation.

The mechanism for the intermediary to communicate this information to the
upstream HTTP server is out of scope for this document.
This document defines the "Signature-Auth-Context" request header field for
this latter purpose. The Signature-Auth-Context header field's value is a
Structured Field Byte Sequence (see {{Section 3.3.5 of
!STRUCTURED-FIELDS=RFC8941}}) that contains the 48-byte key exporter output
(see {{output}}), without any parameters. For example:

~~~ http-message
NOTE: '\' line wrapping per RFC 8792

Signature-Auth-Context: :VGhpcyBleGFtcGxlIFRMUyBleHBvcn\
RlciBvdXRwdXQgaXMgNDggYnl0ZXMgI/+h:
~~~
{: #fig-int-hdr-example title="Example Signature-Auth-Context Header Field"}

Note that both of these mechanisms require the upstream HTTP server to trust
the intermediary. This is usually the case because the intermediary already
needs access to the TLS certificate private key in order to respond to requests.
HTTP servers that parse the Signature-Auth-Context header field MUST ignore it
unless they have already established that they trust the sender.

# Security Considerations {#security}

Expand Down Expand Up @@ -535,6 +548,33 @@ Reference:
: This document
{: spacing="compact"}

## HTTP Field Name

This document, if approved, requests IANA to register the following entry in
the "Hypertext Transfer Protocol (HTTP) Field Name" registry maintained at
<[](https://www.iana.org/assignments/http-fields/http-fields.xhtml)>:

Field Name:

: Signature-Auth-Context

Template:

: None

Status:

: permanent

Reference:

: This document

Comments:

: None
{: spacing="compact"}

--- back

# Acknowledgments {#acknowledgments}
Expand Down

0 comments on commit b8dd944

Please sign in to comment.