java-manta icon indicating copy to clipboard operation
java-manta copied to clipboard

Range Requests Into And Beyond MAC Are Not Taken Into Account

Open uxcn opened this issue 8 years ago • 2 comments

Users can currently make range requests past the end of the actual ciphertext, which results in the mac being treated as ciphertext.

uxcn avatar May 23 '17 13:05 uxcn

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

tjcelaya avatar May 24 '17 22:05 tjcelaya

@uxcn Apologies I hadn't seen your comment on the code example, I'll test out your suggestion this afternoon.

tjcelaya avatar Jun 04 '17 23:06 tjcelaya