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

Rename aesgcm128 to aesgcm to provide an update path #137

Merged
merged 1 commit into from Feb 14, 2016

Conversation

beverloo
Copy link
Contributor

In order to allow existing applications to update from one octet of
padding per record to two (PR #136, Issue #135), this PR renames
"aesgcm128" to "aesgcm" as the value for the Content-Encoding header,
as well as the parameter name in the Crypto-Key header.

This also affects the context used for deriving the nonce and the
content encryption key. Examples have been updated.

What I did not update is the JWE mapping (currently "A128GCM"). Do
we wish to change that to "AGCM", which may be less descriptive?

@beverloo
Copy link
Contributor Author

@martinthomson - for your consideration

I updated the hashes, but would like you to verify those when you've got a moment (they include the uint8 -> uint16 change). I wasn't able to reproduce the output of the explicit example using the current spec.

@martinthomson
Copy link
Contributor

Awesome. I'm still awaiting the return of my implementation (I'm annoyed that I put it on a boat), but I will verify when able. It's entirely possible that one (or more) of the examples are in error.

In order to allow existing applications to update from one octet of
padding per record to two (PR httpwg#136, Issue httpwg#135), this PR renames
"aesgcm128" to "aesgcm" as the value for the Content-Encoding header,
as well as the parameter name in the Crypto-Key header.

This also affects the context used for deriving the nonce and the
content encryption key. Examples have been updated.

What I did not update is the JWE mapping (currently "A128GCM"). Do
we wish to change that to "AGCM", which may be less descriptive?
martinthomson added a commit that referenced this pull request Feb 14, 2016
Rename aesgcm128 to aesgcm to provide an update path
@martinthomson martinthomson merged commit 9857689 into httpwg:master Feb 14, 2016
@martinthomson
Copy link
Contributor

I still need to double-check the examples, but I won't be able to do that for a while now. Stupid travel. Might as well make progress at least.

Thanks for putting this all together @beverloo.

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

Successfully merging this pull request may close these issues.

None yet

3 participants