archiver
archiver copied to clipboard
Easily create & extract archives, and compress & decompress files of various formats
## What would you like to have changed? In addition to `archiver.FileSystem("filename.ext")` there should be a function that takes `io.Reader` or better `io.ReaderAt` and `size`. For example `archiver.NewFsReader(r io.ReaderAt, size...
## What would you like to have changed? Currently when you call Extract on a .zip file the handler method is given `File` objects with `Open` methods which can be...
This PR addresses behavior of `archiver.Tar.Unarchive()` described in CVE-2024-0406, specifically in two cases: **Case 1** When a tar contains two header entries for the same file: 1. the first entry,...
## What version of the package or command are you using? v4.0.0-alpha.8 ## What are you trying to do? I've got a process that archives nested folders on a server....
When extracting a large archive with many ignored errors through syft the errors do not go to the next line which is hard to read. Add trailing new line. (cc...
Use the code as follow to get file information such as file mod tiinme in .rar: f, err := os.Open(realpath) if err != nil { return nil, err } rar...
https://pkg.go.dev/vuln/GO-2024-2698 was published today and makes https://pkg.go.dev/golang.org/x/vuln/cmd/govulncheck fail.
test code: ``` go package main import ( "context" "fmt" "io" "os" "github.com/mholt/archiver/v4" ) func extractArchiverInsideFile(fPath string) ([]string, error) { reader, err := os.Open(fPath) if err != nil { return...
`CVE-2021-29482` of `github.com/ulikunitz/[email protected]` in latest tag `v4.0.0-alpha.8`