Skip to content

Restore workshop key preload (link just works again)#106

Merged
jheller1212 merged 1 commit into
mainfrom
feat/restore-workshop-key-preload
Jun 24, 2026
Merged

Restore workshop key preload (link just works again)#106
jheller1212 merged 1 commit into
mainfrom
feat/restore-workshop-key-preload

Conversation

@jheller1212

Copy link
Copy Markdown
Owner

Reinstates the participant key-preload that commit #57 removed.

  • Edge fn workshop-config get action decrypts the workshop key and returns it (alongside the existing hasKey).
  • App.tsx loadWorkshop injects that key into the joining participant's vault.

Security note: this returns the organizer's key to participant browsers (the exact trade #57 closed). Use only with a dedicated, spend-capped workshop key that is revoked after the session. Long-term fix is a server-side proxy (tracked separately).

Build ✓ · eslint ✓ · requires edge-function redeploy to take effect.

#57 disabled the workshop key delivery to close a key-exposure concern,
which also removed the 'link just works' onboarding. Reinstate it for
workshop use: the 'get' action decrypts and returns the key, and the
participant's vault is preloaded on join. Intended to be used with a
dedicated, spend-capped workshop key that is revoked after the session.
@netlify

netlify Bot commented Jun 24, 2026

Copy link
Copy Markdown

Deploy Preview for ai2aichat ready!

Name Link
🔨 Latest commit fd9b94b
🔍 Latest deploy log https://app.netlify.com/projects/ai2aichat/deploys/6a3c1fcc27ccd400081fce38
😎 Deploy Preview https://deploy-preview-106--ai2aichat.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 95
Accessibility: 97
Best Practices: 100
SEO: 100
PWA: 80
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

@jheller1212
jheller1212 merged commit bedf18b into main Jun 24, 2026
4 of 5 checks passed
@jheller1212
jheller1212 deleted the feat/restore-workshop-key-preload branch June 24, 2026 18:20
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