Compare ASCII salt with the key reader's text form #98

Merged
Collaborator

Refuse ASCII salts that match the store key after Python text stripping and lowercasing, while preserving the raw salt for HMAC and the existing collision priority. Document the non-ASCII limit and add regression coverage.

A padded copy of the key used as the salt now causes check, sync, and forget to refuse startup with tokens-equal.

Validation: make check passed with 1533 passed and 60 skipped, up from the pristine baseline of 1520 passed and 60 skipped. The focused tests passed.

Closes #75
Co-Authored-By: gpt-6.1-terra noreply@openai.com

Refuse ASCII salts that match the store key after Python text stripping and lowercasing, while preserving the raw salt for HMAC and the existing collision priority. Document the non-ASCII limit and add regression coverage. A padded copy of the key used as the salt now causes check, sync, and forget to refuse startup with tokens-equal. Validation: make check passed with 1533 passed and 60 skipped, up from the pristine baseline of 1520 passed and 60 skipped. The focused tests passed. Closes #75 Co-Authored-By: gpt-6.1-terra <noreply@openai.com>
Compare ASCII salt with the key reader's text form
All checks were successful
ci/woodpecker/pr/validation Pipeline was successful
fc9a45dff6
Refuse ASCII salts that match the store key after Python text stripping and lowercasing, while preserving the raw salt for HMAC and the existing collision priority. Document the non-ASCII limit and add regression coverage.

A padded copy of the key used as the salt now causes check, sync, and forget to refuse startup with tokens-equal.

Validation: make check passed with 1533 passed and 60 skipped, up from the pristine baseline of 1520 passed and 60 skipped. The focused tests passed.

Closes #75
Co-Authored-By: gpt-6.1-terra <noreply@openai.com>
svc-svd-writer deleted branch feat/svd-dev-messages-mind-mcp-75-startup-secret-check-compar-e128c482 2026-11-16 11:45:05 +00:00
Sign in to join this conversation.
No description provided.