rclone-js icon indicating copy to clipboard operation
rclone-js copied to clipboard

File encryption/decryption question

Open nicprov opened this issue 2 years ago • 0 comments

Two questions:

  • I can see that both encryption and decryption is available for paths, but only decryption is available for files. Is this something that is planned in the future?
  • The example that you provided here for file decryption is good, but is not relevant to my use case. Specifically, I'm wondering how I would proceed to decrypt the byte object directly instead of fetching a file remotely and using streams (for example, if I just have this: b'RCLONE\x00\x00f\x16;\xbc\x87\xcc\x97(\x16\x18\xfc\xdb:\xf5\x0f\x81v\xf5\xf9\xc8\xd3:\xce\xb2)

nicprov avatar Dec 09 '22 16:12 nicprov