dangerzone/tests
Etienne Perot f03bc71855
Sandbox all Dangerzone document processing within gVisor.
This wraps the existing container image inside a gVisor-based sandbox.

gVisor is an open-source OCI-compliant container runtime.
It is a userspace reimplementation of the Linux kernel in a
memory-safe language.

It works by creating a sandboxed environment in which regular Linux
applications run, but their system calls are intercepted by gVisor.
gVisor then redirects these system calls and reinterprets them in
its own kernel. This means the host Linux kernel is isolated
from the sandboxed application, thereby providing protection against
Linux container escape attacks.

It also uses `seccomp-bpf` to provide a secondary layer of defense
against container escapes. Even if its userspace kernel gets
compromised, attackers would have to additionally have a Linux
container escape vector, and that exploit would have to fit within
the restricted `seccomp-bpf` rules that gVisor adds on itself.

Fixes #126
Fixes #224
Fixes #225
Fixes #228
2024-06-12 13:40:04 +03:00
..
gui tests: use qt_updater fixture rather than updater 2024-06-05 17:13:31 +02:00
isolation_provider chore: remove fixture imports in the tests 2024-06-05 15:56:09 +02:00
test_docs Adds file formats: epub svg bmp pnm bpm ppm 2024-01-31 19:58:48 +00:00
test_docs_compressed Add page limit of 10000 2023-09-28 11:01:14 +01:00
test_docs_external Add test files for hwp/hwpx (base64 encoded) 2023-08-01 14:37:14 +01:00
test_docs_large@0068ffcb67 Replace armor guards that indicate isolated output 2023-08-22 16:11:41 +01:00
__init__.py chore: remove fixture imports in the tests 2024-06-05 15:56:09 +02:00
conftest.py chore: remove fixture imports in the tests 2024-06-05 15:56:09 +02:00
test_cli.py chore: remove fixture imports in the tests 2024-06-05 15:56:09 +02:00
test_document.py chore: remove fixture imports in the tests 2024-06-05 15:56:09 +02:00
test_large_set.py chore: remove fixture imports in the tests 2024-06-05 15:56:09 +02:00
test_ocr.py Sandbox all Dangerzone document processing within gVisor. 2024-06-12 13:40:04 +03:00
test_settings.py chore(imports): remove useless imports 2024-06-05 14:19:30 +02:00
test_util.py chore: remove fixture imports in the tests 2024-06-05 15:56:09 +02:00