betterNAS/apps/control-plane/cmd
Harivansh Rathi 1bb065ade0 Shorten mount credential username token to fix macOS WebDAV mount
macOS WebDAVFS truncates HTTP Basic Auth passwords at 255 bytes. The
mount credential password (base64 payload + HMAC signature) was 260
bytes because the full username token (32 random bytes / 43 base64url
chars) is embedded in the signed payload.

Reduce the username token from 32 bytes to 24 bytes (32 base64url
chars), bringing the total password to ~246 chars with margin for
longer node IDs and mount paths.
2026-04-01 17:24:47 -04:00
..
control-plane Shorten mount credential username token to fix macOS WebDAV mount 2026-04-01 17:24:47 -04:00