-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
error unarchiving chunk: input type must be an io.ReaderAt and io.Seeker because of zip format constraints #2378
Comments
@ahrav according to
script code #!/bin/sh
~/sdk/go1.21.0/bin/go build || exit 125 # an exit code of 125 asks "git bisect"
# to "skip" the current commit
# run the application and check that it produces good output
./trufflehog filesystem /tmp/0.3.1.0.zip --only-verified 2>&1 | grep -q "input type must be an io.ReaderAt and io.Seeker because of zip format constraints"
if [ $? -eq 0 ]; then
exit 1
else
exit 0
fi |
I still run to this issue with different versions using github scanner |
Hey @matazr could you provide the error you are getting along with the scanner version you are using? |
This was fixed by the handler refactor. |
Please review the Community Note before submitting
TruffleHog Version
Trace Output
Expected Behavior
It should be possible to scan nested zip files.
Actual Behavior
Scanning zip files inside of other archives appears to fail.
Steps to Reproduce
Scan a zip or other archive that contains other zip files.
Environment
N/A
Additional Context
https://github.com/mholt/archiver/blob/81f9e06b11ad6ba424f8311c0bc18ceb01f2b67a/zip.go#L182
References
N/A
The text was updated successfully, but these errors were encountered: