From ea1319b20f88356f82c8421a4e150523485f6f3e Mon Sep 17 00:00:00 2001 From: oddlama Date: Sun, 12 Jan 2025 21:02:59 +0100 Subject: [PATCH] fix: allow paperless import of signed documents --- hosts/sire/guests/paperless.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hosts/sire/guests/paperless.nix b/hosts/sire/guests/paperless.nix index 6292984..f4b562c 100644 --- a/hosts/sire/guests/paperless.nix +++ b/hosts/sire/guests/paperless.nix @@ -150,6 +150,8 @@ in # Ghostscript is entirely bug-free. PAPERLESS_OCR_USER_ARGS = builtins.toJSON { continue_on_soft_render_error = true; + # The original will always be kept, so just invalidate it. Otherwise the import will fail. + invalidate_digital_signatures = true; }; # virtiofsd doesn't send inotify events (not sure if generally, or because we