I am currently on TrueNAS-12.0-U8. When I deployed my encrypted Google Drive with rsync I used the directory_name_encryption parameter. This parameter is not selectible in the the cloud sync task configuration and doesn't appear in cloud_sync.py
How do I manually add 'directory_name_encryption = true' to the config so I can hopefully see the encrypted files in my encrypted google drive.
Code:
if self.cloud_sync["encryption"]:
self.tmp_file.write("[encrypted]\n")
self.tmp_file.write("type = crypt\n")
self.tmp_file.write(f"remote = {remote_path}\n")
self.tmp_file.write("filename_encryption = {}\n".format(
"standard" if self.cloud_sync["filename_encryption"] else "off"))
self.tmp_file.write("password = {}\n".format(
rclone_encrypt_password(self.cloud_sync["encryption_password"])))
if self.cloud_sync["encryption_salt"]:
self.tmp_file.write("password2 = {}\n".format(
rclone_encrypt_password(self.cloud_sync["encryption_salt"])))
remote_path = "encrypted:/"How do I manually add 'directory_name_encryption = true' to the config so I can hopefully see the encrypted files in my encrypted google drive.
Last edited: