Replying to Avatar Ron Stoner

The β€œdevelop” branch of nostr-irc now protects you from accidentally posting your nsec private key. I’ll be merging to master once I have some other features updated. All it took was:

```

if re.search(r'nsec[a-z0-9]{32,64}$', user_input):

messages.addstr("\n *** Error: Potential exposure of nsec private key. Message denied.\n\n”)

```

Magic! 🎩πŸͺ„

Avatar
iefan πŸ•ŠοΈ 2y ago

Ok πŸ˜…πŸ˜‚

Reply to this note

Please Login to reply.

Discussion

Avatar
Ron Stoner 2y ago

I did it for you #[2] πŸ˜‚

Avatar
iefan πŸ•ŠοΈ 2y ago

πŸ˜‚πŸ˜‚πŸ˜‚

Thread collapsed
Avatar
iefan πŸ•ŠοΈ 2y ago

It's great tho

Thread collapsed
Thread collapsed