You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: CORS origin safety, Supabase key warning, full API key hash
Default CORS origin to false when unconfigured to prevent wildcard+credentials.
Add console warning for Supabase key in plaintext env vars.
Use full 64-char SHA-256 hash for API key comparison instead of truncated 8-char.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
logger.warn('[nostr-auth] WARNING: Server private key loaded from Supabase without encryption. Set SERVER_PRIVATE_KEY env var or use a secrets manager for production.');
152
158
}
153
159
}catch(error){
154
160
logger.warn('Failed to load server keys from Supabase:',error);
logger.warn('[nostr-auth] WARNING: Server private key will be stored in Supabase without encryption. Consider using a secrets manager for production.');
0 commit comments