mirror of
https://github.com/miurahr/aqtinstall.git
synced 2025-12-17 20:54:38 +03:00
Use sha256 hashes only from trusted mirrors
To keep this commit small, `hashurl` was removed from QtPackage, and `get_hash` constructs the hash url based on the url of the 7z archive to download. I think that in the future, QtArchive and QtPackage could be refactored to construct this url more appropriately. However, this would be a complicated change that doesn't belong in this commit.
This commit is contained in:
@@ -47,6 +47,10 @@ class ArchiveChecksumError(ArchiveDownloadError):
|
||||
pass
|
||||
|
||||
|
||||
class ChecksumDownloadFailure(ArchiveDownloadError):
|
||||
pass
|
||||
|
||||
|
||||
class ArchiveConnectionError(AqtException):
|
||||
pass
|
||||
|
||||
|
||||
Reference in New Issue
Block a user