From: Steven Baltakatei Sandoval Date: Sat, 4 Jul 2020 00:32:15 +0000 (+0000) Subject: chore(bkgpslog):Confirm age can encrypt to ssh pubkey string X-Git-Url: https://zdv2.bktei.com/gitweb/EVA-2020-02.git/commitdiff_plain/be7d63ee8c19b5109c5f25deb3c1ed8dc05ace41?ds=inline;hp=-c chore(bkgpslog):Confirm age can encrypt to ssh pubkey string Ssh pubkey strings have a space in them which was breaking appendFileTar() function. 'eval' was used to fix how appendFileTar() and appendArgTar() execute command strings. --- be7d63ee8c19b5109c5f25deb3c1ed8dc05ace41 diff --git a/exec/bkgpslog b/exec/bkgpslog index 63acc84..9dba7bc 100755 --- a/exec/bkgpslog +++ b/exec/bkgpslog @@ -14,7 +14,7 @@ DIR_TMP_DEFAULT="/dev/shm"; # Default parent of working directory SCRIPT_TIME_START=$(date +%Y%m%dT%H%M%S.%N); PATH="$HOME/.local/bin:$PATH"; # Add "$(systemd-path user-binaries)" path in case apps saved there SCRIPT_HOSTNAME=$(hostname); # Save hostname of system running this script. -SCRIPT_VERSION="0.3.7"; # Define version of script. +SCRIPT_VERSION="0.3.8"; # Define version of script. SCRIPT_NAME="bkgpslog"; # Define basename of script file. SCRIPT_URL="https://gitlab.com/baltakatei/ninfacyzga-01"; # Define wesite hosting this script. AGE_VERSION="1.0.0-beta2"; # Define version of age (encryption program)