How dafuq do you accidentally upload your nsec to GitHub?

Reply to this note

Please Login to reply.

Discussion

What, you never had more than one beer? 🤣😂

If you’re building a Nostr bot you have to add it as an environment variable, but that isn’t supposed be included in your code.

Shit happens! 🤷🏻‍♂️

I know this was not you who made this slip-up.

In defense of the less tech-informed, when I first joined #nostr I had little understanding of why an nsec was so “key” to guard aggressively. Npubs are right there on our profile, and it takes a minute for the slow ones at the back, who were not weaned on Comp Sci/security, to grasp the idea behind key-pairs.

nostr:nevent1qqsx97vdnt6epjqa36g43c7zuk6c6e7qs4qqetuuhalh7cgultzpv7gpzemhxue69uhhyetvv9ujuurjd9kkzmpwdejhget6us5

Easy! I can show you if you send me yours.

Why would you even want mine?

So you can gave a larger anonset.

git add nsec

git commit -m 'feat: allow random impersonation'

git push