-
Notifications
You must be signed in to change notification settings - Fork 0
Is it possible to add more documentation to the README about where the different encryptions are triggered in the code? #4
Comments
Hmm, a good but complicated question. . RClone is called to do the config encryption here:
RClone is called to create a mount folder here: secure-store/cmd/secure-store/mount/mount.go Line 114 in 21c9ec2
Once it creates a mount, anything put in to that folder is encrypted and then copied to another folder (the storage folder). When you run the docker command to encrypt your local content, it is basically just creating an RClone mount, copying your files from source/ in to the created mount, then taking the encrypted output and putting it in encrypted/. I think it would be quite complex for most users to be reading about that sort of thing in the docs, I could end up opening up a whole can of worms trying to explain it all. I know that's not ideal. |
Can I assume that all the encryption is done by RClone and not by the Golang code? I ask because there is quite the number of files for encryption in the source code, but those could be for generating the mTLS keys, etc |
Three methods:
There are corresponding decrypt for some of those in the same places. |
Great thanks for the info, will deep dive into those! |
I mean adding references to the code functions that provide the following encryptions referred in the text below:
In case everything is done by
RClone Crypt
is it possible to point to the functions that call it and make some references to that?We find the need for this for understanding better the encryption process before applying to devices in our fleet
Thanks in advance!
The text was updated successfully, but these errors were encountered: