Commit Graph

8 Commits

Author SHA1 Message Date
Jeff Emmett 8e51ba923a feat: add rNotes and rTrips to r-Ecosystem app icons
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-14 19:05:25 -07:00
Jeff Emmett 426e05d631 feat: add missing r* tool origins to EncryptID CORS
Add rnotes.online, rfunds.online, rtrips.online, rnetwork.online to
allowedOrigins for cross-r* authentication support.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-13 13:30:33 -07:00
Jeff Emmett e5af01119b feat: upgrade EncryptID server to PostgreSQL
Replace in-memory Maps with persistent PostgreSQL storage:
- Add db.ts with typed query functions for users, credentials, challenges
- Add schema.sql with users/credentials/challenges tables
- Update server.ts to use async DB queries
- Add postgres service to docker-compose
- Health endpoint now reports database connectivity
- Auto-cleanup of expired challenges every 10 minutes

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-13 07:34:13 -07:00
Jeff Emmett 8e10f5cb03 fix: Add abort mechanism for conditional UI to prevent pending request errors
- Add global AbortController for conditional UI requests
- Call abortConditionalUI() at start of registerPasskey and authenticatePasskey
- Export abortConditionalUI from index for manual use if needed

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-05 19:14:56 +00:00
Jeff Emmett 20a51e7dce fix: Explicitly import UI components in demo to ensure registration
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-05 16:58:45 +00:00
Jeff Emmett c18b84b7c9 fix: Build client-side JS bundle for demo page
- Add bun build step to create browser-compatible JS from TypeScript
- Update demo.html to import from /dist/index.js
- Update server to serve /dist/* for bundled modules

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-05 16:57:34 +00:00
Jeff Emmett e0b30e52ef fix: Add route for /demo.html page
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-05 16:54:14 +00:00
Jeff Emmett 72192007e6 feat: Add EncryptID unified identity system
Implements the EncryptID identity system for the r-ecosystem:

- WebAuthn/Passkey authentication with PRF extension for key derivation
- Client-side cryptographic key derivation (AES-256, ECDSA P-256, Ed25519)
- Social recovery system with guardians (no seed phrases!)
- Session management with authentication levels
- Cross-app SSO via Related Origin Requests
- Web components: login button and guardian setup panel
- Hono server for authentication endpoints
- Docker deployment configuration

Domain: encryptid.jeffemmett.com
RP ID: jeffemmett.com (for cross-subdomain passkey usage)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-05 16:48:19 +00:00