trinodb / aws-proxy

Proxy for S3
Apache License 2.0
7 stars 3 forks source link

Add demo of the broken chunk signature verification #103

Closed vagaerg closed 1 month ago

vagaerg commented 2 months ago

This is based off of #101 and adds a test (currently commented out) to showcase the issue with #102

Randgalt commented 2 months ago

As mentioned offline, wrapping AwsChunkedInputStream in a PushbackInputStream solves this bug

vagaerg commented 1 month ago

This was just a reproducible example and suggestion for a fix for #102 , merged in #105