"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files
Go azure-blobazure-blob-storageazure-filesbackblaze-b2cloud-storagedropboxencryptionftpfuse-filesystemgogolanggoogle-cloud-storagegoogle-driveonedriveopenstack-swiftrclones3sftpsyncwebdav
b2: Fix encrypted uploads #644
Nick Craig-Wood140a3d0aef3c
diff --git a/crypt/crypt.go b/crypt/crypt.goindex 7365b3e85..d457a91f3 100644--- a/crypt/crypt.go+++ b/crypt/crypt.go@@ -343,6 +343,12 @@ func (o *ObjectInfo) Size() int64 {return o.f.cipher.EncryptedSize(o.ObjectInfo.Size())}+// Hash returns the selected checksum of the file+// If no checksum is available it returns ""+func (o *ObjectInfo) Hash(hash fs.HashType) (string, error) {+ return "", nil+}+// ListOpts wraps a listopts decrypting the directory listing and// replacing the Objectstype ListOpts struct {