Skip to content
Snippets Groups Projects
Commit eb995cb6 authored by efer's avatar efer
Browse files

replace openssl pwgen

parent 56179154
No related branches found
No related tags found
No related merge requests found
...@@ -316,7 +316,7 @@ echo -e "[cleanup]" $G_"OK"$_N ...@@ -316,7 +316,7 @@ echo -e "[cleanup]" $G_"OK"$_N
echo -e "\nWriting rclone files..." echo -e "\nWriting rclone files..."
RCLONE_DIR="$H/.config/rclone" RCLONE_DIR="$H/.config/rclone"
pwg() { pwg() {
openssl rand -base64 16 | rclone obscure - head /dev/urandom | LC_ALL=C tr -dc A-Za-z0-9+=/ | head -c 16 | rclone obscure - | rclone obscure -
} }
rcloneconf() { rcloneconf() {
P1=$(pwg) P1=$(pwg)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment