From ca0e9a9e963e0b745a9e6bc219a89b930e27c63d Mon Sep 17 00:00:00 2001 From: Chris Arderne Date: Tue, 23 May 2023 13:47:28 +0100 Subject: [PATCH] add warning message when no-use-docker fails --- sigexport/main.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sigexport/main.py b/sigexport/main.py index 71955f0..9bc6684 100755 --- a/sigexport/main.py +++ b/sigexport/main.py @@ -481,7 +481,7 @@ def main( ), verbose: bool = Option(False, "--verbose", "-v"), use_docker: bool = Option( - False, help="Use Docker container for SQLCipher extraction" + True, help="Use Docker container for SQLCipher extraction" ), docker_image: str = Option(None, help="Docker image to use"), print_data: bool = Option( @@ -519,6 +519,7 @@ def main( try: from pysqlcipher3 import dbapi2 as _ # type: ignore[import] # noqa except Exception: + secho("You set 'no-use-docker' but `pysqlcipher3` not installed properly, falling back to Docker") use_docker = True if use_docker: