-
Notifications
You must be signed in to change notification settings - Fork 121
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
Remove frame-size block-length restriction #42
Comments
See issue aws-encryption-sdk-python#30 |
Base64 encoded ciphertext using a 15 byte block-size. This has been confirmed as decryptable via the aws-encryption-sdk-cli which using the python implementation internally.
|
While we may need to support non-stream ciphers at some point, currently our only bulk cipher is AES-GCM which has no block size restrictions. Thus, we can (and should) remove the restriction that our frame-sizes be a multiple of 16.
https://github.com/awslabs/aws-encryption-sdk-java/blob/master/src/main/java/com/amazonaws/encryptionsdk/AwsCrypto.java#L140
This change should be completely backwards compatible as this restriction is only enforced on the encrypt path and not the decrypt path. As part of this change, backwards compatibility will be manually tested.
Additionally, this task will also be completed in aws-encryption-sdk-python
The text was updated successfully, but these errors were encountered: