-
Notifications
You must be signed in to change notification settings - Fork 0
chore: white-label for RitualChain #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -81,12 +81,12 @@ export function flushMagicLinkRateLimit(): void { | |
| // calls avoid a shell pipeline (no shell-interpolation risk). | ||
| const scan = execFileSync( | ||
| 'docker', | ||
| ['exec', 'quackback-dragonfly', 'redis-cli', '--scan', '--pattern', 'signin:magiclink:*'], | ||
| ['exec', 'ritualchain-dragonfly', 'redis-cli', '--scan', '--pattern', 'signin:magiclink:*'], | ||
| { encoding: 'utf-8' } | ||
| ) | ||
| const keys = scan.split('\n').map((k) => k.trim()).filter(Boolean) | ||
| for (const key of keys) { | ||
| execFileSync('docker', ['exec', 'quackback-dragonfly', 'redis-cli', 'del', key], { | ||
| execFileSync('docker', ['exec', 'ritualchain-dragonfly', 'redis-cli', 'del', key], { | ||
| stdio: 'pipe', | ||
| }) | ||
| } | ||
|
|
@@ -111,7 +111,7 @@ export interface SeedIdpConfig { | |
| */ | ||
| function invalidateAuthCaches(): void { | ||
| for (const key of ['settings:tenant', 'platform-cred:configured-types']) { | ||
| execFileSync('docker', ['exec', 'quackback-dragonfly', 'redis-cli', 'del', key], { | ||
| execFileSync('docker', ['exec', 'ritualchain-dragonfly', 'redis-cli', 'del', key], { | ||
| stdio: 'pipe', | ||
| }) | ||
| } | ||
|
|
@@ -145,7 +145,7 @@ export function setPortalVisibility(visibility: 'private' | 'public'): void { | |
| runScript('../scripts/set-portal-visibility.ts', [visibility]) | ||
| // The portal-access decision is cached under 'settings:tenant'. Drop it so | ||
| // the dev server evaluates the new visibility on the next request. | ||
| execFileSync('docker', ['exec', 'quackback-dragonfly', 'redis-cli', 'del', 'settings:tenant'], { | ||
| execFileSync('docker', ['exec', 'ritualchain-dragonfly', 'redis-cli', 'del', 'settings:tenant'], { | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. E2E Redis container name mismatchMedium Severity E2e helpers run Reviewed by Cursor Bugbot for commit c2d80a2. Configure here. |
||
| stdio: 'pipe', | ||
| }) | ||
| } | ||
|
|
||


There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Encryption HKDF labels changed
High Severity
Integration credential encryption now derives keys with
ritualchainHKDF salt and info strings. Ciphertext written under the previousquackbacklabels cannot be decrypted after upgrade, breaking SSO and integration secrets until credentials are re-entered.Reviewed by Cursor Bugbot for commit c2d80a2. Configure here.