aboutsummaryrefslogtreecommitdiff
path: root/version.go
diff options
context:
space:
mode:
authorJakob Unterwurzacher2026-01-23 21:32:49 +0100
committerJakob Unterwurzacher2026-01-24 20:00:43 +0100
commit041e977dfc5c84ef5b38199c9b91c1586c59df90 (patch)
tree74b924a0bf1f5298a403ffb4480cf378453a7c5e /version.go
parentc9cf6f1f8a5b90c9cb70ed19f8c8426dc2655c9d (diff)
macos: normalize unicode file names in forward modenfc_v2
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 'version.go')
0 files changed, 0 insertions, 0 deletions