java-manta
java-manta copied to clipboard
Range Requests Into And Beyond MAC Are Not Taken Into Account
Users can currently make range requests past the end of the actual ciphertext, which results in the mac being treated as ciphertext.
I decided to write a simple main method to avoid the complexity of the test suite to verify this issue. Feel free to fork and modify it to fit the situation you're describing and me know if you have any questions, I tried to be as explicit as possible:
https://gist.github.com/tjcelaya/203735c84db3554e4c1796ff67427311
@uxcn Apologies I hadn't seen your comment on the code example, I'll test out your suggestion this afternoon.