Skip to content

fix(secrets): mint passwords and keys from letters and digits - #1168

Merged
catinspace-au merged 1 commit into
mainfrom
fix/secret-lengths-32-64
Nov 14, 2026
Merged

catinspace-au merged 1 commit into
mainfrom
fix/secret-lengths-32-64

Conversation

@catinspace-au

Copy link
Copy Markdown
Contributor

The ClickHouse service, org and group passwords and the SCIM provisioning password are 32 letters and digits. The CLI's throwaway JWT key is 64 letters and digits. They were minted with token_urlsafe, whose - and _ get rewritten by shells, .env files and URL-form DSNs.

Only mint_value in dfe_engine/secrets.py mints them. Session epochs and bearer tokens stay as they are.

The ClickHouse service, org and group passwords and the SCIM provisioning password are 32 letters and digits. The CLI's throwaway JWT key is 64 letters and digits. They were minted with token_urlsafe, whose - and _ get rewritten by shells, .env files and URL-form DSNs.

Only mint_value in dfe_engine/secrets.py mints them. Session epochs and bearer tokens stay as they are.
@catinspace-au
catinspace-au merged commit 4180ddf into main Nov 14, 2026
19 checks passed
@catinspace-au
catinspace-au deleted the fix/secret-lengths-32-64 branch November 14, 2026 23:36
@github-actions

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant