Skip to content

Commit

Permalink
Updates input keys to explicitly name the ciphersuite
Browse files Browse the repository at this point in the history
  • Loading branch information
tuddman authored May 2, 2024
2 parents f1e8269 + ba6e13f commit 9be1dcf
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions proto/mls/message_contents/content.proto
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,15 @@ message MessageHistoryReply {
string request_id = 1;
// Where the messages can be retrieved from
string url = 2;
// AES Key used to encrypt the message-bundle
string encryption_key = 3;
// Generated input 'secret' for the AES Key used to encrypt the message-bundle
MessageHistoryKeyType encryption_key = 3;
// Generated input 'secret' for the HMAC Key used to sign the bundle_hash
MessageHistoryKeyType signing_key = 4;
// HMAC Signature of the message-bundle
bytes bundle_hash = 4;
// HMAC Key used to sign the bundle_hash
string bundle_signing_key = 5;
bytes bundle_hash = 5;
}

// Key used to encrypt or sign the message-bundle
message MessageHistoryKeyType {
oneof key { bytes chacha20_poly1305 = 1; }
}

0 comments on commit 9be1dcf

Please sign in to comment.