dangerzone/dangerzone
deeplow 7daeccdfea
Prevent PDF from overwriting num_pages in Qubes
This should only affect the alpha version of Qubes OS (in containers
it only allows the attacker to control the timeout). In short, an
attacker could have PDF metadata that would show before "Pages:" in
the `pdfinfo` command output and this would essentially override the
number of pages measured in the server. This could enable the attacker
to shorten the number of pages of a document for example.

Fixes #565
2023-10-02 12:18:12 +01:00
..
conversion Prevent PDF from overwriting num_pages in Qubes 2023-10-02 12:18:12 +01:00
gui Detect OS color mode and set as property for stylesheets 2023-09-28 17:20:34 +03:00
isolation_provider Qubes: detect qube failing to start (missing RAM) 2023-09-28 11:08:50 +01:00
__init__.py Remove separate dangerzone-container entry point, make CLI work with it, and refactor container code to be more DRY 2021-08-04 16:21:00 -07:00
args.py Update typing hints for Mypy 1.1.1 2023-03-27 15:19:43 +03:00
cli.py Use containers in Qubes until Beta 2023-07-26 14:02:06 +01:00
document.py Sanitize filenames before logging them 2023-08-01 14:43:48 +03:00
errors.py Prevent adding duplicate documents 2022-11-30 12:49:18 +00:00
logic.py Add logic to handle documents removal 2023-07-25 15:00:12 +01:00
settings.py Get default settings without Settings instance 2023-07-24 14:22:26 +03:00
util.py Add non-blocking read utility 2023-09-20 17:14:24 +03:00