Repository navigation
featg: hash session ids where they are written out, and version smss edits - #3350
Merged
Merged
Conversation
…edits
Session ids
- Add SessionIds.hash: an HMAC-SHA256 keyed by the RDF_Map setting
LOG_HASH_SALT, or a plain SHA-256 when the setting is not there.
Placeholders such as UNKNOWN pass through unchanged.
- Use it for the insight cache folder, agent room insight ids, the
natural language search R tables, user tracking login and logout,
the inference log messages, the audit trail session hash and the
OpenShell lease registry.
- The log context holds the hash, so the audit trail takes it as
already hashed, and InsightHandle and the automation run read the
session only from ThreadStore.
- Auth-only share tokens store no session value.
- The headless Chrome utilities log cookie names only.
Smss edits
- Add SmssEditCopy. It reads an smss with its secret store values,
conceals them, and hashes the file bytes plus the secrets sorted by
key as smssHash.
- The engine, project, database and admin smss read reactors return
{ smss, smssHash } and gain reactor definitions.
- SmssEditCopy.requireCurrent refuses a save with no hash and throws
the new ContentChangedException (SMSS_CHANGED) for a stale one.
- Docs: a session ids section in authentication_and_authorization,
and the smss editing flow in secret_settings.
Contributor
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
themaherkhalil
deleted the
feat/hashed-session-ids-and-smss-edit-check
branch
November 19, 2026 13:57
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Session ids
Smss edits