The codebase that powers boop.cat boop.cat
11
fork

Configure Feed

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

logging

+6
+6
backend-go/handlers/atproto.go
··· 511 511 512 512 func getPrivateKey() (*ecdsa.PrivateKey, error) { 513 513 keyPEM := os.Getenv("ATPROTO_PRIVATE_KEY_1") 514 + fmt.Printf("DEBUG key len=%d first30=%q\n", len(keyPEM), func() string { 515 + if len(keyPEM) > 30 { 516 + return keyPEM[:30] 517 + } 518 + return keyPEM 519 + }()) 514 520 keyPEM = strings.ReplaceAll(keyPEM, `\n`, "\n") 515 521 block, _ := pem.Decode([]byte(keyPEM)) 516 522 if block == nil {