diff options
author | Jakob Unterwurzacher | 2021-10-21 09:37:04 +0200 |
---|---|---|
committer | Jakob Unterwurzacher | 2021-10-21 14:55:30 +0200 |
commit | dc32710045f6f46913ae336b6fb77bf90b6bdb85 (patch) | |
tree | 890dde8bdef6facc61ee9cd3c4d0246225fee6ad /mount.go | |
parent | a652be805e1562948aff4dc232bd1c516ff01d00 (diff) |
nametransform: add longNameMax parameter
Determines when to start hashing long names instead
of hardcoded 255. Will be used to alleviate "name too long"
issues some users see on cloud storage.
https://github.com/rfjakob/gocryptfs/issues/499
Diffstat (limited to 'mount.go')
-rw-r--r-- | mount.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -324,7 +324,7 @@ func initFuseFrontend(args *argContainer) (rootNode fs.InodeEmbedder, wipeKeys f // Init crypto backend cCore := cryptocore.New(masterkey, cryptoBackend, IVBits, args.hkdf) cEnc := contentenc.New(cCore, contentenc.DefaultBS) - nameTransform := nametransform.New(cCore.EMECipher, frontendArgs.LongNames, + nameTransform := nametransform.New(cCore.EMECipher, frontendArgs.LongNames, 0, args.raw64, []string(args.badname), frontendArgs.DeterministicNames) // After the crypto backend is initialized, // we can purge the master key from memory. |