mirror of
https://github.com/freedomofpress/dangerzone.git
synced 2025-04-29 18:22:37 +02:00
Add the ability to download diffoci for multiple platforms
The hash list provided on the Github releases page is now bundled in the `reproduce-image.py` script, and the proper hashes are checked after download.
This commit is contained in:
parent
3a6d73dcb8
commit
ee3689b32a
3 changed files with 12 additions and 1 deletions
|
@ -126,6 +126,10 @@ class ImageNotPresentException(Exception):
|
|||
pass
|
||||
|
||||
|
||||
class MultipleImagesFoundException(Exception):
|
||||
pass
|
||||
|
||||
|
||||
class ImageInstallationException(Exception):
|
||||
pass
|
||||
|
||||
|
|
|
@ -1,3 +1,10 @@
|
|||
import logging
|
||||
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
from .signatures import (
|
||||
DEFAULT_PUBKEY_LOCATION,
|
||||
is_update_available,
|
||||
upgrade_container_image,
|
||||
verify_local_image,
|
||||
)
|
||||
|
|
|
@ -8,7 +8,7 @@ from pathlib import Path
|
|||
try:
|
||||
import platformdirs
|
||||
except ImportError:
|
||||
import appdirs as platformdirs
|
||||
import appdirs as platformdirs # type: ignore[no-redef]
|
||||
|
||||
|
||||
def get_config_dir() -> Path:
|
||||
|
|
Loading…
Reference in a new issue