Just asking because my current implementation looks cumbersome, so maybe there is a better way to implement this but letās start from beginning.
So Iām using nextcloud on a free tier provider offered from the nextcloud signup page, and my system is running win 10.
Iāve set up the NextCloud Client and it works perfectly as intended, so I have the nextcloud folder Iāve designated correctly mounted at:
C:\Users\<winUserName>\Nextcloud\<nextcloud user name>\<nextcloud provider>\<my mounted remote folder>\
I wanted to add an encryption layer using gocryptfs, actually cppcryptfs because thatās what is only available on windows.
So I created a normal folder <crypted folder>
under <my mounted remote folder>
and there Iāve created a cppcrypt volume using the cppcryptfs gui:
This also worked nicely, I also later mounted the cppcryptfs folder as a localX:\<cppcryptfs drive>
and this too works nicely. So no real issue here.
The cumbersomeā¦ redundant part is that I now have mounted in my system both:
- in clear
<my mounted remote folder>
, with its encrypted subfolder<crypted folder>
storing the cppcryptfs volume - the cppcrypt volume decrypted and mounted as independant drive
X:\<cppcryptfs drive>
What I would like is to avoid mounting the clear folder (1.) and only mount the cppcryptfs drive, so Iām wondering if anyone is aware if this is possible and if so then could he be also kind enough to explain me how
The software used in the whole process are:
- the NexCloud official win client
- cppcryptfs (https://github.com/bailey27/cppcryptfs)
- dokany (https://github.com/dokan-dev/dokany, requirement for cppcryptfs)
To give you some perspective it should be similar to using Cryptomator, alas Iāve never used this yet, and Iām using the encrypted folder to store credentials.
Thanks for reading.
EDIT: I think it was probably possible using DokanCloudFS, listed from Dokany web page and always on github, see viciousviper/DokanCloudFS
(sorry not sure I can link, I might have reached the cap of links per post as 0 trust tier user)