diff --git a/Dockerfile b/Dockerfile index b13ff1a..8c33334 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,10 +7,11 @@ ENV MAX_FILE_UPLOADS=201 ENV PDF_STORAGE_PATH=/data ENV DISABLE_ORGANIZATION=false ENV DEFAULT_LANGUAGE=fr_FR.UTF-8 +ENV PDF_STORAGE_ENCRYPTION=true RUN apt update && \ apt install -y vim locales gettext-base librsvg2-bin pdftk imagemagick potrace ghostscript && \ - docker-php-ext-install gettext && \ + docker-php-ext-install gettext gpg && \ rm -rf /var/lib/apt/lists/* COPY . /usr/local/signaturepdf diff --git a/config/config.ini.tpl b/config/config.ini.tpl index d515b99..9c089d9 100644 --- a/config/config.ini.tpl +++ b/config/config.ini.tpl @@ -9,3 +9,6 @@ DISABLE_ORGANIZATION=${DISABLE_ORGANIZATION} ; Manage demo link pdf : true (by default, show), false (hide), or custom link PDF_DEMO_LINK=${PDF_DEMO_LINK} + +; Encryption activation (default activation if GPG is installed) +PDF_STORAGE_ENCRYPTION=${PDF_STORAGE_ENCRYPTION} diff --git a/locale/application.pot b/locale/application.pot index e0baa27..a0c36c2 100644 --- a/locale/application.pot +++ b/locale/application.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-03-26 22:54+0100\n" +"POT-Creation-Date: 2024-07-30 18:44+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -246,6 +246,9 @@ msgstr "" msgid "This PDF is shared with others to be signed by multiple people" msgstr "" +msgid "This PDF is stored encrypted on the server." +msgstr "" + msgid "Keep the selection active" msgstr "" @@ -365,6 +368,9 @@ msgstr "" msgid "after the last signature." msgstr "" +msgid "The PDF will be stored encrypted on the server" +msgstr "" + #, php-format msgid "%s Start sharing" msgstr "" diff --git a/locale/ar/LC_MESSAGES/application.po b/locale/ar/LC_MESSAGES/application.po index d202e87..b616dd0 100644 --- a/locale/ar/LC_MESSAGES/application.po +++ b/locale/ar/LC_MESSAGES/application.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-02-08 23:02+0100\n" +"POT-Creation-Date: 2024-07-30 18:44+0200\n" "PO-Revision-Date: 2023-11-18 05:03+0000\n" "Last-Translator: ButterflyOfFire \n" "Language-Team: Arabic \n" "Language-Team: German \n" "Language-Team: French \n" "Language-Team: Italian \n" "Language-Team: Kabyle \n" "Language-Team: Occitan \n" "Language-Team: Romanian \n" "Language-Team: Turkish