From 0df4cabe4fa20be403c1aed9e344656ed0219cdc Mon Sep 17 00:00:00 2001 From: Lea Date: Mon, 7 Jul 2025 18:21:40 +0200 Subject: [PATCH] More fixes in the enc/dec functions --- daisy.source | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daisy.source b/daisy.source index 77fe353..535e9ba 100755 --- a/daisy.source +++ b/daisy.source @@ -313,7 +313,7 @@ function daisy_enc_multi() function daisy_dec() { data=$(cat ${1:-/dev/stdin} | grep -v "#" ) - echo -e "$data" | cut -d "=" -f 2 | cut -b 2- | head -c -1 | base64 -d + echo -e "$data" | cut -d "=" -f 2- | cut -b 2- | head -c -1 | base64 -d } # Will only take a file and directory, sources it to find all encoded data