mirror of
https://github.com/freedomofpress/dangerzone.git
synced 2025-05-19 19:50:33 +02:00
Compare commits
2 commits
592329f8cf
...
4c67eea390
Author | SHA1 | Date | |
---|---|---|---|
4c67eea390 | |||
![]() |
69b332c112 |
1 changed files with 2 additions and 2 deletions
|
@ -42,7 +42,7 @@ def upgrade(image: str, pubkey: str) -> None:
|
||||||
|
|
||||||
@main.command()
|
@main.command()
|
||||||
@click.argument("image_filename")
|
@click.argument("image_filename")
|
||||||
@click.option("--pubkey", default=PUBKEY_DEFAULT_LOCATION)
|
@click.option("--pubkey", default=signatures.DEFAULT_PUBKEY_LOCATION)
|
||||||
def load_archive(image_filename: str, pubkey: str) -> None:
|
def load_archive(image_filename: str, pubkey: str) -> None:
|
||||||
"""Upgrade the local image to the one in the archive."""
|
"""Upgrade the local image to the one in the archive."""
|
||||||
try:
|
try:
|
||||||
|
@ -68,7 +68,7 @@ def prepare_archive(image: str, output: str) -> None:
|
||||||
|
|
||||||
@main.command()
|
@main.command()
|
||||||
@click.argument("image", default=DEFAULT_IMAGE_NAME)
|
@click.argument("image", default=DEFAULT_IMAGE_NAME)
|
||||||
@click.option("--pubkey", default=PUBKEY_DEFAULT_LOCATION)
|
@click.option("--pubkey", default=signatures.DEFAULT_PUBKEY_LOCATION)
|
||||||
def verify_local(image: str, pubkey: str) -> None:
|
def verify_local(image: str, pubkey: str) -> None:
|
||||||
"""
|
"""
|
||||||
Verify the local image signature against a public key and the stored signatures.
|
Verify the local image signature against a public key and the stored signatures.
|
||||||
|
|
Loading…
Reference in a new issue