Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tools/osbuild-mpp: hash mpp-embed urls from stream
Currently if one uses `mpp-embed` with URLs, osbuild-mpp still wants to download the full file just so it can hash it. Make this more efficient by hashing from the stream instead, which `hashlib` natively supports. This also makes osbuild-mpp work with large artifacts in environments that may not have enough space to temporarily save the data.
- Loading branch information