aboutsummaryrefslogtreecommitdiff
path: root/go.mod
diff options
context:
space:
mode:
authorJakob Unterwurzacher2026-01-23 21:32:49 +0100
committerJakob Unterwurzacher2026-01-23 21:32:49 +0100
commit1b6e57fda9ca2f656720d935608983fa3d107165 (patch)
treeafa8fedaa2511fbea733f6c76c68ee20a33bf233 /go.mod
parentc9cf6f1f8a5b90c9cb70ed19f8c8426dc2655c9d (diff)
macos: normalize unicode file names: store as NFC, read as NFDnfc_v2
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.
Diffstat (limited to 'go.mod')
-rw-r--r--go.mod1
1 files changed, 1 insertions, 0 deletions
diff --git a/go.mod b/go.mod
index c608e6f..986f329 100644
--- a/go.mod
+++ b/go.mod
@@ -13,4 +13,5 @@ require (
golang.org/x/crypto v0.45.0
golang.org/x/sys v0.38.0
golang.org/x/term v0.37.0
+ golang.org/x/text v0.31.0
)