Comments (5)
Maybe this is related to issue #42 ? Can you test again on the latest commit?
from securefs.
No, 324a92f does not fix the problem. This problem happens when I use Linux (Fedora 26/Ubuntu) and put the encrypted files on a NTFS drive.
from securefs.
I opened the link with a hex editor and the symbolic link on the NTFS drive starts with IntxLNK
followed by the target.
For example:
IntxLNK.V.B.F.S.N.2.D.U.Z.7.V.8.9.4.6.X.K.Q.N.8.R.K.B.Q.8.C.4.H.T.B.W.8.A.2.
Edit: Please take a look at my fork 08993fc. I get the following output with some verbose logging:
# link to 0798257523.txt
path: /0798257523_link.txt
enc_path: Q4MB44WZWA982AVXGUXCYXW2ZD239FYVDNXQBCZQ6Z3FEX3MCTRWATDC
link (buffer): 56C2R9U3DFU6IAVGFQG26FRKJG73ZNT34SDFVTND86HKUKAX
buf->size: 104
link_size: 48
diff: 56
# link to a.txt
path: /58758558091521282495.txt
enc_path: FJ4MD3KWXHKQGBXD5H8GJ3PYFBWDTTRZE7RJQID3SCXITKFUVQSQBHKMN4S6PEW7
link (buffer): VBFSN2DUZ7V8946XKQN8RKBQ8C4HTBW8A2
buf->size: 76
link_size: 34
diff: 42
# link to a.txt
path: /a_link.txt
enc_path: G62WXVIQZ84657ZDEKSJU6QM39JIBDNW634J9GDFMA
link (buffer): VBFSN2DUZ7V8946XKQN8RKBQ8C4HTBW8A2
buf->size: 76
link_size: 34
diff: 42
So the link size is defined by: (buffer_size - 8) / 2
Edit2: I updated my PR.
from securefs.
Why is the issue specific to NTFS?
from securefs.
It seem that my NTFS filesystem (created by windows) using Interix symlinks and UNIX inode's.
from securefs.
Related Issues (20)
- Issue while compiling on raspberry pi 4b or cross-compile HOT 1
- How to deal with long file names HOT 2
- 希望能帮助完成一些工作 HOT 4
- brew install failing on MBP M2 Apple Silicon HOT 2
- Add the option to NOT encrypt filenames HOT 2
- Failing to compile on FreeBSD 13.2 HOT 23
- CryptoppConfig.cmake not found HOT 12
- Use with SFTP HOT 15
- I Forgot the password HOT 3
- followed build instructions, still getting "--vcpkg_root must point to a directory." HOT 3
- Crash. libc++abi: terminating due to uncaught exception... HOT 3
- How to build on Windows? HOT 16
- Destination Path Too Long HOT 5
- Has securefs been proven or analyzed for security? HOT 2
- 有关format 3存储时间戳的作用问题 HOT 2
- Consider not using the string "securefs" in metafiles HOT 3
- Install on Windows HOT 7
- mount in daemon mode like gocryptfs HOT 1
- Perf issue on external usb-c ssd HOT 12
- failed to fully extract large tar file HOT 9
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 securefs.