|
@@ -480,6 +480,16 @@ joins; see 5c), which does not fit in 10 s. The container is now run with
|
|
|
comparison.
|
|
comparison.
|
|
|
- TTL is not retro-applied: rows written before a default TTL existed keep no
|
|
- TTL is not retro-applied: rows written before a default TTL existed keep no
|
|
|
expiry.
|
|
expiry.
|
|
|
|
|
+- **⚠ The collection-level `encrypted` flag encrypts NOTHING (found 2026-10-09).**
|
|
|
|
|
+ `CollectionOptions::encrypted` is stored, persisted and reported by
|
|
|
|
|
+ getCollectionInfo, and no code path reads it: every write encrypts only the
|
|
|
|
|
+ fields whose path matches the built-in patterns. Confirmed by experiment on
|
|
|
|
|
+ 2.16.0 (collection created with encrypted=true, a top-level `key` value found
|
|
|
|
|
+ in plaintext in the data directory, a nested `password` encrypted). True
|
|
|
|
|
+ since the initial extraction. smartbotic-vectorapi relied on it for
|
|
|
|
|
+ `vectorapi_keys` / `vectorapi_settings` / `vectorapi_secrets`, all plaintext at
|
|
|
|
|
+ rest. Also: createCollection on an EXISTING collection ignores its options, so
|
|
|
|
|
+ the flag can read false on a collection that was created implicitly first.
|
|
|
- **Top-level sensitive fields are not encrypted (found 2026-10-09).** The
|
|
- **Top-level sensitive fields are not encrypted (found 2026-10-09).** The
|
|
|
built-in patterns (`*.password`, `*.api_key`, `*.token`, ...) become regexes
|
|
built-in patterns (`*.password`, `*.api_key`, `*.token`, ...) become regexes
|
|
|
that need a dot before the name, so only NESTED fields match; a top-level
|
|
that need a dot before the name, so only NESTED fields match; a top-level
|