Skip to content

Specification Message Body: Inconsistency size encrypted content in regular frame  #82

@WouterSchols

Description

@WouterSchols

The specification aws-encryption-sdk-specification/data-format/message-body.md section Framed Data subsection Regular Frame contains the following requirement:

Encrypted Content

The encrypted data for each frame, as returned by the encryption algorithm.
The length of the encrypted content of a Regular Frame MUST be equal to the Frame Length.

This requirement states that the size of the encrypted content in one frame must equal to Frame Length. However Frame Length is defined as the amount of plain text which we want to encrypt in one regular frame. The size of the content which we want to encrypt does not have to be equal to the size of the encrypted content. Because of this the requirement is inconsistent.

Solutions would be adding a requirement to the encryption algorithm that the size of the plain text is equal to the encrypted content or we removing this requirement. Note that there should be some upper limit on the size of the encrypted content to prevent frames from getting too big.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions