Scripts: Add AES256 Encrypt and Compress.

This commit is contained in:
parouby committed 2024-09-21 13:55:22 +02:00
1 parent e801a1f6eb
commit f695a159b4
4 files changed
+22

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
#! /bin/sh
filename=${1%.*}
password=$(zenity --password --title "Decrypt $filename")
openssl enc -aes-256-cbc -nosalt -d -a \
-in $1 -out $filename \
-pass pass:$password
+7
View File
@@ -0,0 +1,7 @@
#! /bin/sh
password=$(zenity --password --title "Encrypt $filename")
openssl enc -aes-256-cbc -nosalt -a \
-in $1 -out $1.enc \
-pass pass:$password
+6
View File
@@ -0,0 +1,6 @@
#! /bin/sh
tar -cvJf - $1 | \
tee $1.tar.xz | \
zenity --title="Compress $1 (tar.xz)" \
--progress --auto-close
View File
Whitespace-only changes.