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

hpke: compress query string #4147

Merged
merged 3 commits into from May 2, 2023
Merged

hpke: compress query string #4147

merged 3 commits into from May 2, 2023

Conversation

calebdoxsey
Copy link
Contributor

@calebdoxsey calebdoxsey commented May 2, 2023

Summary

Add a v2 HPKE mechanism that compresses the query string using zstd. Zstd is similar to Gzip but faster. We use the highest compression ratio. Using the Apple IDP I saw a decrease from 3k to 2k in request URL size.

The authenticate service will respond using the hpke version that was used by the client. So this should be backwards compatible with v22 clients.

Related issues

Checklist

  • reference any related issues
  • updated docs
  • updated unit tests
  • updated UPGRADING.md
  • add appropriate tag (improvement / bug / etc)
  • ready for review

@calebdoxsey calebdoxsey requested a review from a team as a code owner May 2, 2023 15:50
@calebdoxsey calebdoxsey requested a review from wasaga May 2, 2023 15:50
@calebdoxsey calebdoxsey added the enhancement New feature or request label May 2, 2023
@coveralls
Copy link

coveralls commented May 2, 2023

Coverage Status

Coverage: 63.619% (+0.03%) from 63.589% when pulling 82aa164 on cdoxsey/smaller-hpke into 69713d3 on main.

@calebdoxsey calebdoxsey merged commit facf9ab into main May 2, 2023
13 checks passed
@calebdoxsey calebdoxsey deleted the cdoxsey/smaller-hpke branch May 2, 2023 20:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants