Skip to content

Commit

Permalink
SD Connect compatibility added to a-put and a-get
Browse files Browse the repository at this point in the history
  • Loading branch information
Kimmo Mattila committed Nov 28, 2024
1 parent 7a81d73 commit a6a5ba4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion a-get
Original file line number Diff line number Diff line change
Expand Up @@ -591,7 +591,6 @@ else
locked_path=$(dirname "$object_name")
echo "Copying encrypted data"
rclone copyto -P "${storage_server}:$object_name" "./${locked_file}"
ls
echo "Decrypting $locked-file"
echo " sd-lock-util unlock --container "${locked_path}" --no-content-download --no-preserve-original --path "${locked_file}" "
sd-lock-util unlock --container "${locked_path}" --no-content-download --no-preserve-original --path "${locked_file}"
Expand Down
1 change: 1 addition & 0 deletions a-put
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,7 @@ do
echo ""
echo "sd-lock-util is not available!"
echo "Please install sd-lock-util if you want to use SD Connect based encryption."
echo " https://github.com/CSCfi/sd-lock-util/"
exit 1
fi
sdc=1
Expand Down

0 comments on commit a6a5ba4

Please sign in to comment.