Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Date is not a mandatory header #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tbarbugli
Copy link

According to IETF specs Date is suggested but not mandatory:

2.3. Signature String Construction

In order to generate the string that is signed with a key, the client
MUST use the values of each HTTP header field in the headers
Signature parameter, in the order they appear in the headers
Signature parameter. It is out of scope for this document to dictate
what header fields an application will want to enforce, but
implementers SHOULD at minimum include the request target and Date
header fields.

https://tools.ietf.org/html/draft-cavage-http-signatures

> 2.3.  Signature String Construction
> 
>    In order to generate the string that is signed with a key, the client
>    MUST use the values of each HTTP header field in the `headers`
>    Signature parameter, in the order they appear in the `headers`
>    Signature parameter.  It is out of scope for this document to dictate
>    what header fields an application will want to enforce, but
>    implementers SHOULD at minimum include the request target and Date
>    header fields.

https://tools.ietf.org/html/draft-cavage-http-signatures
@vektah
Copy link
Contributor

vektah commented Apr 18, 2017

There is a failing test on this build, see https://travis-ci.org/99designs/httpsignatures-go/jobs/222067374

Sadly our org policy breaks the travis hooks that updating the build status in PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants