-
Notifications
You must be signed in to change notification settings - Fork 70
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
[MLS Spec change] Make padding arbitrary-size and all-zero (#650) #913
Comments
Okay, so we have two changes here ... struct {
select (MLSCiphertext.content_type) {
case application:
opaque application_data<V>;
case proposal:
Proposal proposal;
case commit:
Commit commit;
}
MLSMessageAuth auth;
- opaque padding<V>;
+ opaque padding[length_of_padding];
} MLSCiphertextContent; ... and the added requirement that the padding is all-zero ...
|
First question: Where does Okay ...
So there is no length field anymore but the Hm... not sure if this is better than before. Implicit lengths may collide with |
I've opened a draft PR #1074. Can you have a look if this looks sane? Specifically, how does this |
I'm leaning towards thinking that this was a good spec change. Making the length implicit forces us to consume all decrypted bytes. With an explicit length it could happen that someone encodes trailing data. Not sure about the consequences but doesn't seem great. |
Link to the exact changes
mlswg/mls-protocol#650
Description of the changes
The text was updated successfully, but these errors were encountered: