Hi, developing my own ebuilds, I regularly notice, that "ebuild digest" calculates the digest of broken files. This is because, sometimes, a downloads gets aborted, I press Strg+C or something else happends so that the downloaded file is cut off at the end. "ebuilds digest" of course doesn't notice that simply because it cannot since the necessary information is not there yet. That's why I would like to suggest, that "ebuild digest" downloads the files to a temporary file first, that's renamed to the real filename only if the download was successful. For example: - download to xyz.tar.gz.tmp - rename to cyz.tar.gz only if download was successful Reproducible: Always Steps to Reproduce: 1. do a "ebuild digest" 2. abort the download 3. do the ebuild digest again 4. it will compute the checksums using the partial file