Original text:
10. <del> This document does not create any new IANA registries, but it registers the values in the following registries: </del>  <del> TLS ExtensionType Values Registry TLS-REGISTRIES - IANA is to register the quic_transport_parameters extension found in quic_parameters.  The Recommended column is to be marked Yes.  The TLS 1.3 Column is to include CH and EE. QUIC Transport Error Codes Registry QUIC-TRANSPORT - IANA is to register the KEY_UPDATE_ERROR (0xe), as described in key-update- error. </del>  An endpoint has received more data in CRYPTO frames than it can buffer.  An endpoint has reached the confidentiality or integrity limit for the AEAD algorithm used by the given connection.

Reviewer comments:
I guess technically we could have let both of these stand and used the same error code for both conditions, but that seems unnecessary. Moving the AEAD limit seems easier.
The transport draft-30 introduced AEADLIMITREACHED(0xe) error code. Meanwhile, the TLS draft also has KEYUPDATEERROR error code (0xe), and they collide with each other. I believe they are transport error code, not application error code.
It would probably be a good idea to list the KEYUPDATEERROR in the error code table in the transport document.
Ugh, that's unfortunate. I think that we need to renumber the newer one (and yeah, put them all in the same document so it doesn't happen again).
I believe we should fix the fact that we have two errors with the same code, however I think it would be best to just use 0xE for all these scenarios. At this point in the process, we're working on deploying h3-29 and having a breaking wire change like this would be very unfortunate. Additionally, I cannot think of any action an implementation would take that would be different between KEYUPDATEERROR and AEADLIMITREACHED. Any chance we could just rename AEADLIMITREACHED to KEYUPDATEERROR and call it a day?
I think it's useful to distinguish what happened for logging and diagnostic purposes. I also don't understand why this creates a significant implementation inconvenience. On the sending side, presumably you're just sending the wrong code for a while and it's a bug, and on the receiving side, given that you have to handle unknown error codes anyway (because they can be IANA Registered), what's the problem if you receive an unknown error code in this likely quite uncommon case?
I agree with NAME There is a separate question of whether -31 will be a new version or not, but let's not get ahead of ourselves.
I am trying to write a test for the generation of the key update error code. This is a bit hard, since by default the implementation will rotate keys after sending more than packets, and thus the condition is not seen. One could test that the peer has sent more than packets without rotating the keys, but then there is some fuzziness to what the limit is. For example, for AES GCM, should that be "received 2^25 packets" or "2^25 + 1"? The error is also a bit silly. It requires tracking how many packets were decrypted with a given key, and then disconnecting with a specific error if the limit is exceeded. But the node that tracks the limit could also unilaterally trigger a key rotation if the receive count is getting close enough. Of course, the non-standard peer could refuse to update its own key, and never rotate the key phase. Is that the condition for KEYUPDATEERROR?
NAME this issue is merely changing the error code for an error that already exists. I read your comment as a question about testing this, but you could be asking about when this error code ought to be sent. My reading is that the sender is required to close the connection when it sends too many packets, and the receiver is required to close the connection when too many packets fail authentication, and I think the text is clear on precisely when both of these ought to happen. A receiver is not required to, but could do what you're suggesting, and honestly, the precise value of "2^25 + 1" or "2^25" wouldn't matter IMO, since the receiver can only know a lower bound on the number of packets sent with the same key (since packet loss, etc). But if the receiver were to close with this error, doing it at the point that there is no ability for the sender to update the keys makes sense. The simplest thing to do would be to check if "2^25 + 1" packets have been received with the same key.
NAME the sender is NOT required to close the connection when it sends too many packets. That's not what the TLS limits say. The requirement is to use key rotation, move to the next epoch, and start using a new encryption key. Reading the fine print, I believe the KEYUPDATEERROR error will happen if the node starts a key rotation but the peer keeps using the old key for too long, for example if the peer continues using the old key but acknowledges packets sent with the new key. The AEADLIMITREACHED error will happen if the peer transmits too many packets for the epoch. This is different from the integrity limit, which does require closing the connection if too many decryption failures are observed.
NAME -- yes, I didn't read carefully; you're right. So, as I suggested earlier IMO the best you can do at the receiver is check for 2^25 + 1, even though it is a lower bound. It does require tracking the number of packets as you say though.
I can't wait to see the first error report in which some poor dude tries to transmit more than 50GB over a QUIC connection and hits a bug in the implementation of key update...
NAME There's another condition where KEYUPDATEERROR might occur: If you acknowledge a packet in key phase N+1 using key phase N. It's just a MAY in the specification though (I don't know why, this should be trivial to implement): NAME That's why we recently added a key update test to the interop runner. Unfortunately, it looks like a number of implementations (even those that already boasted about rolling out QUIC into production) treat key updates as some kind of optional feature, which it isn't. This is bad, as this now prevents others from rolling out QUIC implementations that initiate a key update early in the connection to exercise the mechanism.
NAME it would be non-trivial for neqo to implement that MAY. The information about what keys are used is quite well separated from the code that manages acknowledgments.
NAME That's the same in quic-go. There's another way to determine this condition though: As you need to keep track of the largest acknowledged PN anyway, you can check when you receive an ACK for a packet sent in the current key phase that you unprotected at least one packet in the current key phase. If that's not the case, the ACK for the current key phase must have been sent in the previous key phase, and you can throw an error.
NAME you and I were thinking of the same error condition, which I described as "for example if the peer continues using the old key but acknowledges packets sent with the new key". And yes, I was also going to test that by implementing the "last acknowledged" check.
NAME I just implemented this check in quic-go, and it was literally less than 10 LOC. Going to roll that out in my interop runner image soon, so we'll see if people are responding to key updates correctly.
It's looking to me like I'm alone in preferring to merge the two codes, so I just wanted to say that I don't feel too strongly here. If there's WG consensus to merge then I'm OK with that.
Ugh. Thanks for resolving this.

Revised text:
10.  <ins> This document registers the quic_transport_parameters extension found in quic_parameters in the TLS ExtensionType Values Registry TLS- REGISTRIES. </ins>  <ins> The Recommended column is to be marked Yes. The TLS 1.3 Column is to include CH and EE. </ins> An endpoint has received more data in CRYPTO frames than it can buffer. <ins> An endpoint detected errors in performing key updates; see Section 6 of QUIC-TLS. </ins> An endpoint has reached the confidentiality or integrity limit for the AEAD algorithm used by the given connection.