Install DangerZone on Fedora: safely view dangerous documents as sanitized PDFs

dangerzone icon

DangerZone (Code) is a tool to convert possibly malicious documents into sanitized PDF documents.

It is intended for anyone, especially targeted people like journalists, that may get sent infected documents.

Dangerzone uses containers for a safe, isolated environment, to process the documents. Thus it is inspired by “Convert to TrustedPDF”, which is found in QubesOS.

It uses Podman to do that, which is preinstalled on Fedora, at least on the atomic desktops.

Installation

Install on dnf Fedora

Follow their instructions

If podman is missing:

sudo dnf install -y podman

Install on Fedora Atomic Desktops

  1. Add the repo
curl https://packages.freedom.press/yum-tools-prod/dangerzone/dangerzone.repo | sudo tee /etc/yum.repos.d/dangerzone.repo
  1. Install the software
rpm-ostree install dangerzone

If the program is broken for you too, feel free to help here :smiley:

Your purported link under “Install on dnf Fedora” appears not to work.

1 Like

Fixed, thanks

From documentation at your second link (the github site) it seems that dangerzone relies on the Docker Desktop which appears to be problematic for fedora since docker apparently has problems on fedora and it seems that podman is recommended instead.

I don’t use either and thus won’t test it except on a VM, but it seems a really good idea.

1 Like

Oh interesting! That is strange and makes little sense, might be that they have a docker requirement?

They use containers for isolating the cleansing process. But if that equals to docker, it is indeed a problem

I actually misunderstood what I read.
This from the Code link you posted.

Dangerzone was inspired by Qubes trusted PDF, but it works in non-Qubes operating
 systems. It uses containers as sandboxes instead of virtual machines (using Docker
 for macOS and Windows, and podman on Linux).
1 Like

Oh thats good! Cool that they use Podman on Linux? Dont know other projects doing that