Comments (12)
cppcryptfs 1.4.0.10 has been released https://github.com/bailey27/cppcryptfs/releases/tag/1.4.0.10
It allows mounting filesystems to empty NTFS folders in forward (normal) mode.
from cppcryptfs.
I want to point out that currently the empty folder mount point must be added in the UI (by right-clicking on the list of drive letters on the mount tab and doing "Add Mount Point") before it can be used, even if you are mounting using the command line.
In other words, I noticed that mounting using the command line fails unless that mount point has already been added in the UI.
I'll fix this soon.
from cppcryptfs.
The restriction on using an empty NTFS directory as a mount point in reverse mode has been removed in cppcryptfs 1.4.0.19
https://github.com/bailey27/cppcryptfs/releases
from cppcryptfs.
It would be possible to support using an empty folder as a mount point. Dokany supports this.
I think it would require mostly user interface changes.
from cppcryptfs.
It's working.
There is one limitation though. I currently can't allow mounting reverse-mode filesystems to an empty folder. They have to be mounted to a drive letter. Only forward (normal) mode filesystems can be mounted to a an empty folder.
The reason is that when you mount a filesystem to an empty folder, the filenames get converted to all uppercase most of the time. I've debugged this some, and it appears that it is being done upstream of Dokany. I don't know why this happens.
Reverse mode does not work in case-insensitive mode because the file names would all be lost if whatever was archiving the encrypted files didn't preserve the case of the file names. If the case of the encrypted file names is changed, then they'll base64 decode to gibberish instead of to the encrypted filename data.
Is this limitation a problem for you?
I plan to make a new release in the next couple of days anyway, but I'd like to know if you or anyone else is unhappy with this limitation. I could continue debugging and see if there is a solution.
from cppcryptfs.
The reason is that when you mount a filesystem to an empty folder, the filenames get converted to all uppercase most of the time.
I found a description of this problem:
winfsp/winfsp#36 (comment)
This is problem on Windows. It is difficult to solve this problem.
Direct mode - this is more than enough. I think few people use the reversible mode.
Many thanks!
PS Sorry for my English.
from cppcryptfs.
All work, thanks! I install Dokan Library 1.1.0.2000 (x64).
OLD BAD REPORT:
OS: Windows 7 x64.
Cmd "ver": Microsoft Windows [Version 6.1.7601]
Dokan: 1.0.3.1000 - incorrect version!
CryptFS version: 1.4.0.10
Crash immediately when mounting - because i using incorrect Dokan version!
Folder "D:\heXor\Crypted" contain 2 file: gocryptfs.conf, gocryptfs.diriv.
Cmd "dir":
D:\heXor>dir
Том в устройстве D не имеет метки.
Серийный номер тома: 0453-A3F4
Содержимое папки D:\heXor
13.02.2018 09:27 <DIR> .
13.02.2018 09:27 <DIR> ..
13.02.2018 09:27 <JUNCTION> Crypt [\??\Volume{d6cc17c5-1736-4085-bce7-964f1e9f5de9}\]
13.02.2018 09:25 <DIR> Crypted
...
D:\heXor\Crypted>dir
Том в устройстве D не имеет метки.
Серийный номер тома: 0453-A3F4
Содержимое папки D:\heXor\Crypted
13.02.2018 09:25 <DIR> .
13.02.2018 09:25 <DIR> ..
13.02.2018 09:24 409 gocryptfs.conf
13.02.2018 09:24 16 gocryptfs.diriv
2 файлов 425 байт
2 папок 429 880 901 632 байт свободно
from cppcryptfs.
Thanks for reporting this.
The Windows dynamic linker complains with an error dialog if you run old cppcryptfs (1.4.0.7 or before) with new dokany (1.10.x) and refuses to let it run, but it doesn't complain if you run new cppcryptfs with old dokany (1.0.x), and cppcryptfs crashes like you saw.
I'll put a in check for the Dokany version to make sure it's 1.10 or greater.
from cppcryptfs.
The 1.4.0.11 has been released. It doesn't require the mount point folder to be pre-configured in the ui if you're mounting from the command line.
It also checks the Dokany version to make sure it's compatible.
from cppcryptfs.
If find a solution to mounting a reverse volume to an empty folder that would be great. See referenced issue with gocryptfs. Thanks for your work on cppcryptfs. First looked at when more than just binary and Dokany driver was required.
from cppcryptfs.
The reason for not supporting mounting reverse mode filesystems to an empty folder is purely a Windows issue. It isn't related to AES-SIV mode.
from cppcryptfs.
Huge proponent of keeping code simple but originally thought a better option/ solution might be a "Syncthing" command line option on gocryptfs side to add a ".stfolder" to a read-only reverse volume. Hence the reference but have since changed mind.
from cppcryptfs.
Related Issues (20)
- Unauthorized Internet connection HOT 2
- Copy file to google drive thrown exception
- Gocryptfs with scryptn >16 is not compatible HOT 3
- Add note to encrypt pagefile on Windows HOT 1
- Question: is CppCryptFs (& GoCryptfs) capable for holding mountable Virtual Drives & containers (.vmdk, .vhd, .vhdx, .img etc) HOT 1
- absolutely cant use !!!!
- Moving from DIRIV to DETERMINISTIC
- Add extension to encrypted file. HOT 4
- Unable to open pipe. lastErr = 2 The system cannot find the file specified. Is cppcryptfs running?
- any tool to get back the filename from an encrypted file+filename, provided i got the .diriv file on hand? HOT 1
- Popup "Dokany version 2.1.0.1000 has not been tested"- no problems so far, option to disable popup
- Unmount on close? HOT 1
- ERROR C:\git\cppcryptfs\x64\Release\cppcryptfs.exe The system cannot find the files specifed
- Taskbar tray icon disappears on Windows Explorer crash
- Feature Request for Reverse Mode: Content-Defined Chunking
- Connect with a Key Management System (KMS)
- [Request] Integration with Windows Hello.
- Dokany 2.2.0.1000 has been released HOT 1
- Support for multiple languages HOT 1
- [FR, LLMs] Would an AutoHotkey Script Enhance --list Functionality?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cppcryptfs.