Package Details: dangerzone 0.3.1-1

Git Clone URL: https://aur.archlinux.org/dangerzone.git (read-only, click to copy)
Package Base: dangerzone
Description: Take potentially dangerous PDFs, office documents, or images and convert them to a safe PDF
Upstream URL: https://dangerzone.rocks/
Keywords: antimalware blueteam defensive docker document office pdf scrub security
Licenses: MIT
Submitter: GI_Jack
Maintainer: Rojikku
Last Packager: Rojikku
Votes: 8
Popularity: 0.47
First Submitted: 2020-04-29 15:33 (UTC)
Last Updated: 2022-01-12 23:05 (UTC)

Latest Comments

Rojikku commented on 2022-04-04 22:53 (UTC)

@MrAureliusR

Hey. Thanks for pointing out this issue. Technically my fault it wasn't noticed sooner, but unfortunately not something I can fix, it appears. Minor correction, that is a text file, not an image. I spent about 2.5 hours looking into this and trying to fix this for you. I have failed, but at least I know why. https://github.com/firstlookmedia/dangerzone/issues/154 I made an issue with the developer to attempt to resolve this. It explains it further.

Essentially, that text file contains the ID of the container, and without it, dangerzone won't run. They want you to build this container yourself, at time of install. The mechanisms through with pkgbuilds are generally run, and honestly all ways I can run it, appear to cause this build to fail instantly. I have contacted the podman community discord trying to look into this, but wasn't able to find a quick fix.

I have suggested several in that issue, including turning maintainer status over to them.

I can absolutely fix the issue you mentioned, very easily. I just have to touch that file. But this will create a 404 issue when it tries to find the image, and, ultimately, changing where the error happens isn't a solution, so I won't push a change like that. Feel free to like/comment on that issue if you want more developer attention (maybe?), or post a solution if you find one that works with PKGBUILD. I will try to implement it.

MrAureliusR commented on 2022-04-04 20:11 (UTC)

This builds but fails to run due to a missing image:

Settings file doesn't exist, starting with default
Traceback (most recent call last):
  File "/usr/lib/python3.10/site-packages/dangerzone/gui/main_window.py", line 98, in run
    self.global_common.install_container()
  File "/usr/lib/python3.10/site-packages/dangerzone/global_common.py", line 426, in install_container
    if self.is_container_installed():
  File "/usr/lib/python3.10/site-packages/dangerzone/global_common.py", line 461, in is_container_installed
    with open(self.get_resource_path("image-id.txt")) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/share/dangerzone/image-id.txt'

Going to build directly from their github source for now.

forum36 commented on 2021-09-17 17:43 (UTC)

Works or doesnt work? Previous version? Deb version? other alternatives to manage pdf in this way?

Rojikku commented on 2021-06-24 21:14 (UTC)

Released the podman version but I'll be honest I can't get podman to work in general. It works with sudo (Yes I read the wiki).
Sudo dangerzone wasn't working either.
Directions just said "Install podman and run dangerzone" but it's not that simple. Most of the changes made seem like user specific ones, so see https://wiki.archlinux.org/title/Podman

GI_Jack commented on 2020-07-13 23:14 (UTC)

Yeah, docker containers for this? lolno. Dropping this.