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

Graft fix hmac #23

Merged
merged 15 commits into from
May 4, 2018
Merged

Graft fix hmac #23

merged 15 commits into from
May 4, 2018

Conversation

graft
Copy link
Contributor

@graft graft commented Mar 22, 2018

There are a bunch of etna bug-fixes in here that I collected while working on metis. Notably:

  1. The hmac auth should come before the user_auth check, otherwise if you have a token and request an hmac-signed url the token will get you past Etna::Auth, while the endpoint will expect you to have cleared via hmac.

  2. ParseBody used to only check one type of input - now it parses the body into params based on content-type, but always also parses URL params

  3. TestAuth should use the "Etna " for checking the token rather than "Basic "

  4. The Route previously generated a route_path which was actually a full URL - now there is a route_url and route_path - also route params are substituted more better when forming a url

  5. The sign service supports generating a random uid.

@jasondcater
Copy link
Contributor

Looks good. Please merge.

@graft graft merged commit 9abb930 into master May 4, 2018
@graft graft mentioned this pull request May 17, 2018
@graft graft deleted the graft-fix-hmac branch April 19, 2020 20:35
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