Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Enhancement] File preview using dangerzone (sandboxing for preview) #633

Open
AkechiShiro opened this issue Jul 4, 2024 · 0 comments
Open

Comments

@AkechiShiro
Copy link

AkechiShiro commented Jul 4, 2024

Hi @Rafiot,

Following your workshop I attended at PassTheSalt 2024, I'm opening this issue to track the improvement of using https://github.com/freedomofpress/dangerzone instead of LibreOffice to open documents and create previews.

To quote dangerzone's README :

Some features

  • Sandboxes don't have network access, so if a malicious document can compromise one, it can't phone home
  • Sandboxes use gVisor, an application kernel written in Go, that implements a substantial portion of the Linux system call interface.
  • Dangerzone can optionally OCR the safe PDFs it creates, so it will have a text layer again
  • Dangerzone compresses the safe PDF to reduce file size

Dangerzone can convert these types of document into safe PDFs:

  • PDF (.pdf)
  • Microsoft Word (.docx, .doc)
  • Microsoft Excel (.xlsx, .xls)
  • Microsoft PowerPoint (.pptx, .ppt)
  • ODF Text (.odt)
  • ODF Spreadsheet (.ods)
  • ODF Presentation (.odp)
  • ODF Graphics (.odg)
  • Hancom HWP (Hangul Word Processor) (.hwp, .hwpx)
  • EPUB (.epub)
  • Jpeg (.jpg, .jpeg)
  • GIF (.gif)
  • PNG (.png)
  • SVG (.svg)
  • other image formats (.bmp, .pnm, .pbm, .ppm)
@AkechiShiro AkechiShiro changed the title [Suggestion] File preview using dangerzone (sandboxing for preview) [IDEA] File preview using dangerzone (sandboxing for preview) Jul 4, 2024
@AkechiShiro AkechiShiro changed the title [IDEA] File preview using dangerzone (sandboxing for preview) [Enhancement] File preview using dangerzone (sandboxing for preview) Jul 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant