ATlast — you'll never need to find your favorites on another platform again. Find your favs in the ATmosphere.
atproto
17
fork

Configure Feed

Select the types of activity you want to include in your feed.

at 88177fe1ed66fa623b061600a25b14711f748c06 21 lines 690 B view raw
1import { randomBytes } from "crypto"; 2 3/** 4 * Generate encryption key for token storage 5 * Run once: npx tsx scripts/generate-encryption-key.ts 6 */ 7 8const key = randomBytes(32).toString("hex"); 9 10console.log("\n🔐 TOKEN ENCRYPTION KEY GENERATED\n"); 11console.log("Add this to your .env file and Netlify environment variables:\n"); 12console.log(`TOKEN_ENCRYPTION_KEY=${key}\n`); 13console.log("⚠️ IMPORTANT:"); 14console.log("1. Keep this key secret and secure"); 15console.log("2. Never commit this to git"); 16console.log( 17 "3. Use the same key across all environments to decrypt existing tokens", 18); 19console.log( 20 "4. If you lose this key, all encrypted tokens will be unrecoverable\n", 21);