robinrodricks / FluentStorage

A polycloud .NET cloud storage abstraction layer. Provides Blob storage (AWS S3, GCP, FTP, SFTP, Azure Blob/File/Event Hub/Data Lake) and Messaging (AWS SQS, Azure Queue/ServiceBus). Supports .NET 5+ and .NET Standard 2.0+. Pure C#.
MIT License
263 stars 33 forks source link

DiskDirectoryBlobStorage saves Metadata Attribute files unencrypted if encryption is set in the pipeline #40

Open dammitjanet opened 11 months ago

dammitjanet commented 11 months ago

I assume this will be the same for ZipFileBlobStorage and will need a change to include it since it targets the Blob objects and not the content streams.

SinkedBlobStorage which is used when sinks are in use, needs to implement a new interface to cater for the retrieval of Blob objects when the sink is transformed as follows:

Task<IReadOnlyCollection<Blob>> GetBlobsAsync(IEnumerable<string> fullPaths, CancellationToken cancellationToken = default)
Task<IReadOnlyCollection<Blob>> ListAsync(ListOptions options = null, CancellationToken cancellationToken = default)
Task SetBlobsAsync(IEnumerable<Blob> blobs, CancellationToken cancellationToken = default)
robinrodricks commented 10 months ago

Please file a PR for this if you have time. Thanks!