Urban-Programmer / s3fs-fuse

FUSE-based file system backed by Amazon S3
GNU General Public License v2.0
0 stars 0 forks source link

S3FS Encryption - Implementation #5

Closed Urban-Programmer closed 1 year ago

Urban-Programmer commented 1 year ago

Whenever, I try to encrypt the file uploaded to the S3Bucket and stays unencrypted

Urban-Programmer commented 1 year ago

While troubleshooting, tried making a simple function that should create a file everytime another file is placed in the bucket. However it seems it only works when the mount command is over.

Urban-Programmer commented 1 year ago

fusermount -u ~/OperatingSystems/Github-Fuse/mount

--> Unmount

Urban-Programmer commented 1 year ago

Receiving error that:

unsigned char buffer[4096]; size_t bytes_read; while ((bytes_read = fread(buffer, 1, sizeof(buffer), source_file)) > 0) { fwrite(buffer, 1, bytes_read, destination_file); }

Urban-Programmer commented 1 year ago

Replaced code with C++, and wrote each byte