Features
- LiveSync "independent ID derivation" is now supported (#47). Vaults created with LiveSync 1.0.33+ and path obfuscation derive obfuscated document IDs from a saved key instead of the passphrase, so
read_noteandget_note_metadata— and writes — returned "Note not found" for every path. SetCOUCHDB_ID_DERIVATION_KEYto your LiveSync recovery code (sls-id-v1:..., from LiveSync's "Show current recovery code") and reads and writes resolve. Older passphrase-derived vaults are unaffected and need nothing set. Reported by @xXAngorXx. - Added
COUCHDB_CASE_SENSITIVEto match LiveSync's "Handle filenames as case-sensitive" setting. It defaults tofalse(the LiveSync default); set it totrueonly if your vault uses that option.
Fixes
- When a vault's obfuscated document IDs don't match the configured derivation scheme, the server now fails fast at startup with a message naming the setting to fix (
COUCHDB_ID_DERIVATION_KEYorCOUCHDB_CASE_SENSITIVE), instead of silently returning "Note not found" for every note.
Dependencies
- Bump
livesync-commonlibto 0.1.34 (adds configurable ID derivation) andoctagonal-wheelsto 0.1.54 (the keyed-ID crypto the new scheme needs).
Upgrade note
- If your vault was created with LiveSync 1.0.33+ with path obfuscation, set
COUCHDB_ID_DERIVATION_KEYto your recovery code — otherwise the server now refuses to start (with a clear message) rather than silently failing reads. If your vault uses LiveSync's non-default "Handle filenames as case-sensitive" option, setCOUCHDB_CASE_SENSITIVE=true. Vaults on the older passphrase-derived scheme need no changes.