Certificate Compression (RFC8879)#9155
Conversation
|
Certificate compression is enabled by default; so, it had to be removed from a number of the unit tests because it changes the number of extensions and the messages. One of the info callback tests checks to see that the compressed certificate message is indeed used. |
|
I could not find tests for zlib upon which to base brotli compression. |
|
brotli is the compression method supported by Chromium. |
|
The AppVeyor builds were failing because of |
|
This works with the stable release of Chrome (75). |
There was a problem hiding this comment.
The equivalent isn't typedef'd in c_zlib.c; it's also not a public structure that is expected to be used everywhere.
There was a problem hiding this comment.
why do you check the state for NULL here but not in other methods above?
There was a problem hiding this comment.
Appears that brotli_stateful_finish() is the outlier here; all other functions check for state not being NULL. This was based on the original c_zlib.c code, which also did not check its state variable in the finish function.
|
@kaduk what's the status on this draft, as in, do you think it will go another round, or will it be published as-is (technically) as an RFC? |
fb84ea7 to
9940637
Compare
9940637 to
4b338b3
Compare
4b338b3 to
2116bd6
Compare
2116bd6 to
3ed21a4
Compare
|
Per https://www.rfc-editor.org/current_queue.php#draft-ietf-tls-certificate-compression the corresponding document is in the RFC Production Center's publication queue, but is currently waiting for draft-kucherawy-rfc8478bis to be published (currently in IETF Last Call). |
|
re: draft-kucherawy-rfc8478bis I didn't put in zstd support. |
3ed21a4 to
6b6bf0c
Compare
|
Fully updated for RFC8879 |
6b6bf0c to
43e53f2
Compare
|
The "GitHub CI / sanitizers" seems to be failing on test |
|
I've rerun the jobs as we do not usually see a failure in 30-test_evp_pkey_provided. Just the encoder-decoder regularly fails. |
|
With |
|
I see the above on the master branch as well, commit 0cc0164 |
43e53f2 to
6f4d254
Compare
The point of having this hold is to identify significant features that are stuck because they are big and complex. The idea is that the OTC will first review them to confirm whether or not they are a good idea from a technical perspective before being passed to OMC for an assessment of priority (i.e. if and when they should go in). It's on the draft agenda for the next OTC meeting on Tuesday. |
|
This will be required for QUIC |
c6708e6 to
976a765
Compare
|
check_docs appears to be complaining about an area of |
Fix for that in #17274 |
Thanks, I wasn't worried about it... but thought I'd note "it wasn't me!" :) |
Any updates from OTC @mattcaswell ? |
5591616 to
de55ff0
Compare
|
The OTC didn't get to this (and others). It's on the agenda for the next call (later today for me). |
Actually its already been passed to OMC |
de55ff0 to
f9e55a0
Compare
There was a problem hiding this comment.
Nit : This feature or flag was introduced... ?
There was a problem hiding this comment.
If i remember well, TLS Compression is disabled by default, for security reasons.
So this is a documentation fix that should be backported ?
There was a problem hiding this comment.
Yup. Since I was in here dealing with (other) compression, I fixed it. But this would be appropriate for backporting.
|
The OMC have voted to remove the current holds ("need OMC decision" and "substantial feature") from this PR. It may now proceed normally as per the standard review process. |
4749524 to
4806774
Compare
|
Ping @openssl/committers for reviews. I do not feel qualified to do anything better than a too superficial review of this. |
* Compressed Certificate extension (server/client) * Server certificates (send/receive) * Client certificate (send/receive)
Add API to call user code to compress certificate Can be used for pre-compressed server certificates
4806774 to
70eacc3
Compare
|
Closing in favor of #18186 |
Add support for brotli compression
Add support for
draft-ietf-tls-certificate-compression[-05]RFC8879Add support for callback API, which allows the user to handle either compression expansion or pre-compressed server certificates.
Checklist