From e2621b5435796431de152f0660904fd48c505a33 Mon Sep 17 00:00:00 2001 From: thetechprepper Date: Fri, 27 Mar 2026 11:56:26 -0700 Subject: [PATCH] crypto - Added Paranoia File & Text Encryption. Thanks JJS! --- REGRESSION.md | 5 +++-- scripts/install-pfte.sh | 27 +++++++++++++++++++++++++++ scripts/install.sh | 3 ++- tests/test-pfte.sh | 7 +++++++ 4 files changed, 39 insertions(+), 3 deletions(-) create mode 100755 scripts/install-pfte.sh create mode 100755 tests/test-pfte.sh diff --git a/REGRESSION.md b/REGRESSION.md index f5f9342..1e67848 100644 --- a/REGRESSION.md +++ b/REGRESSION.md @@ -1,7 +1,7 @@ # ETC Regression Tests -- **Build**: ETC R6 Build 10 -- **Date**: 19 March 2026 +- **Build**: ETC R6 Build 12 +- **Date**: 27 March 2026 ## Desktop/Launcher Icons @@ -109,6 +109,7 @@ ## Security * [ ] gpa +* [ ] Paranoia File & Text Encryption ## fldigi/flmsg/flamp diff --git a/scripts/install-pfte.sh b/scripts/install-pfte.sh new file mode 100755 index 0000000..e26464f --- /dev/null +++ b/scripts/install-pfte.sh @@ -0,0 +1,27 @@ +#!/bin/bash +# Author : Gaston Gonzalez +# Date : 27 March 2026 +# Purpose : Install Paranoia File & Text Encryption + +set -e +trap 'last_command=$current_command; current_command=$BASH_COMMAND' DEBUG +trap 'et-log "\"${last_command}\" command failed with exit code $?."' ERR + +. ./env.sh +. ../overlay/opt/emcomm-tools/bin/et-common + +APP=pfte +VERSION=15.0.8-1 +DOWNLOAD_FILE="${APP}_${VERSION}_amd64.deb" + +et-log "Installing ${APP} ${VERSION}..." + +if [[ ! -e ${ET_DIST_DIR}/${DOWNLOAD_FILE} ]]; then + + URL="https://paranoiaworks.mobi/download/files/${DOWNLOAD_FILE}" + + download_with_retries ${URL} ${DOWNLOAD_FILE} + mv ${DOWNLOAD_FILE} ${ET_DIST_DIR} +fi + +DEBIAN_FRONTEND=noninteractive dpkg -i "${ET_DIST_DIR}/${DOWNLOAD_FILE}" diff --git a/scripts/install.sh b/scripts/install.sh index ebaeebd..8d852ad 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -2,7 +2,7 @@ # # Author : Gaston Gonzalez # Date : 16 March 2024 -# Updated : 22 March 2026 +# Updated : 27 March 2026 # Purpose : Main installer for EmComm Tools Community (ETC) . ./env.sh @@ -102,6 +102,7 @@ exitIfNotRoot # Install security tools ./install-gpa.sh +./install-pfte.sh # Install ISO tools ./install-ventoy.sh diff --git a/tests/test-pfte.sh b/tests/test-pfte.sh new file mode 100755 index 0000000..a619b56 --- /dev/null +++ b/tests/test-pfte.sh @@ -0,0 +1,7 @@ +#!/bin/bash +# Author : Gaston Gonzalez +# Date : 27 March 2026 +# Purpose : Test Paranoia File & Text Encryption installation + +OUT=$(ls /opt/pfte/bin) +exit $?