- Oct 12, 2019
-
-
Julien (jvoisin) Voisin authored
-
Julien (jvoisin) Voisin authored
-
Julien (jvoisin) Voisin authored
-
Julien (jvoisin) Voisin authored
Apparently, abstractstaticmethod is deprecated since python3.3.
-
- Oct 05, 2019
-
-
This mounts a new tmpfs on /tmp so any files residing there would be hidden from the sandbox. Many programs store some files in there that might be useful to an attacker. It also drops all capabilities incase it is ever run with extra capabilities for whatever reason.
-
- Sep 21, 2019
-
-
Julien (jvoisin) Voisin authored
On some machines (like mine), `/proc` has to be mounted. Also, since sandboxing with bubblewrap is best effort and assumes that an attacker doesn't have control outside of the file to clean, it's safe to __try__ to enable some bubblewrap features, and to silently fail otherwise.
-
- Sep 01, 2019
-
-
Julien (jvoisin) Voisin authored
-
Julien (jvoisin) Voisin authored
-
Julien (jvoisin) Voisin authored
This is related to the previous commit
-
Julien (jvoisin) Voisin authored
nsids are random identifiers, usually used to ease merging between documents, and can trivially be used for fingerprinting.
-
- Jul 22, 2019
-
-
Julien (jvoisin) Voisin authored
-
Julien (jvoisin) Voisin authored
-
- Jul 20, 2019
-
-
Julien (jvoisin) Voisin authored
-
- Jul 13, 2019
-
-
Julien (jvoisin) Voisin authored
-
Julien (jvoisin) Voisin authored
-
Julien (jvoisin) Voisin authored
-
Julien (jvoisin) Voisin authored
-
- May 15, 2019
-
-
Julien (jvoisin) Voisin authored
This shouldn't make a big difference in the CLI/extension usage, but might improve the performances of long-running instances, or people misusing the API.
-
- May 13, 2019
-
-
Julien (jvoisin) Voisin authored
-
Rework the dependencies definition to include a 'required' flags, which is passed by the check_dependencies helper to the callers, so that they can distinguish between required and optional dependencies. This help in two ways: - The unit test for the dependencies was now failing when an optional one was missing, due to a previous rework. - Mat2's --check-dependencies was referring to "required dependencies" and was misleading for the user as some of them could be optional. Signed-off-by:
Antoine Tenart <antoine.tenart@ack.tf>
-
- May 09, 2019
-
-
Julien (jvoisin) Voisin authored
-
- May 03, 2019
-
-
fuzzy authored
-
- May 01, 2019
-
-
Julien (jvoisin) Voisin authored
-
- Apr 27, 2019
-
-
Julien (jvoisin) Voisin authored
-
Julien (jvoisin) Voisin authored
-
Julien (jvoisin) Voisin authored
-
Julien (jvoisin) Voisin authored
-
- Apr 14, 2019
-
-
Julien (jvoisin) Voisin authored
-
- Mar 30, 2019
-
-
Julien (jvoisin) Voisin authored
Apparently, mypy isn't able (yet?) to deal with variables that are changing their types at runtime. Python is wonderful.
-
- Mar 29, 2019
-
-
atenart authored
The command line checks for command line utilities are done by trying to access the executables and by throwing an exception when not found. This lead to: - The mat2 cmd line --check-dependencies option failing. - The ffmpeg unit tests failing when ffmpeg isn't installed (even though it's an optional dependency). This patch fixes it. Signed-off-by:
Antoine Tenart <antoine.tenart@ack.tf>
-
atenart authored
Invert the keys and values in DEPENDENCIES. It seems more natural to use the key as a key in check_dependencies(), and the value as the value. This also help in preparing for reworking the check_dependencies() helper. Signed-off-by:
Antoine Tenart <antoine.tenart@ack.tf>
-
- Mar 22, 2019
-
-
Julien (jvoisin) Voisin authored
-
Not all id3 types have a text attribute (such as mutagen.id3.APIC or mutagen.id3.UFID). This leads to the get_meta helper to crash when trying to access the text attribute of an object which does not have it. Fixes it by checking the text attribute is available before accessing it. Signed-off-by:
Antoine Tenart <antoine.tenart@ack.tf>
-
- Mar 05, 2019
-
- Mar 01, 2019
-
- Feb 27, 2019
-
-
Julien (jvoisin) Voisin authored
- More tests - More documentation - Minor code cleanup
-
Julien (jvoisin) Voisin authored
-
- Feb 25, 2019
-
-
Julien (jvoisin) Voisin authored
-
- Feb 24, 2019
-
-
Julien (jvoisin) Voisin authored
This should improve epub compatibility, along with other formats as a side-effect
-