Skip to content
This repository has been archived by the owner on Apr 3, 2019. It is now read-only.

Write a test to verify timestamp checking in our use of HAWK #255

Merged
merged 1 commit into from Nov 4, 2013

Conversation

dannycoates
Copy link
Contributor

By default, Hawk in Hapi accepts a clock skew of +/- 60 seconds between client and server. There has been confusion in past about whether is is enabled or not (#199), so we should have a test to make sure it is.

@dannycoates
Copy link
Contributor

It's kinda dirty, but this test verifies that the server does in fact reject requests with expired timestamps. r?

@jbonacci
Copy link

jbonacci commented Nov 2, 2013

Seems appropriate for Ryan to look this one over?
@rfk

@rfk
Copy link
Contributor

rfk commented Nov 4, 2013

Yikes, dirty indeed :-) But it gets the job done, r+

rfk added a commit that referenced this pull request Nov 4, 2013
Write a test to verify timestamp checking in our use of HAWK
@rfk rfk merged commit e9d6a6e into mozilla:master Nov 4, 2013
@dannycoates dannycoates deleted the i255 branch April 30, 2015 19:13
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants