aboutsummaryrefslogtreecommitdiff
path: root/tests/matrix/dir_test.go
diff options
context:
space:
mode:
authorrfjakob2026-01-24 20:12:18 +0100
committerGitHub2026-01-24 20:12:18 +0100
commit5185e92ec80a9998ae00cb799dfdfbb93247dfaf (patch)
tree8e8fcb71c85857016c76aa3c4625f0c3d2f18583 /tests/matrix/dir_test.go
parent6013d56f0c09100190107613ce8c5c4c929216dd (diff)
macos: normalize unicode file names in forward mode (#992)HEADmaster
Summary: Store as NFC, read as NFD. This commit resolves https://github.com/rfjakob/gocryptfs/issues/850 by addressing Unicode normalization mismatches on macOS between NFC (used by CLI tools) and NFD (used by GUI apps). The solution is inspired by Cryptomator's approach ( https://github.com/cryptomator/cryptomator/issues/264 ). Forward mode on MacOS now enforces NFC for storage but presents NFD as recommended by https://developer.apple.com/library/archive/qa/qa1173/_index.html and https://github.com/macfuse/macfuse/wiki/File-Names-(Unicode-Normalization-Forms) . See https://github.com/rfjakob/gocryptfs/pull/949 for more info. This commit does nothing for reverse mode as it is not clear if anything can be done. Reverse mode can not influence how the file names are stored, hence mapping normalized names back to what is actually on disk seems difficult.
Diffstat (limited to 'tests/matrix/dir_test.go')
0 files changed, 0 insertions, 0 deletions