What is Nostr?
rob / Rob
npub1emq…a3jz
2025-01-16 17:04:49
in reply to nevent1q…0nsh

rob on Nostr: Your new Nostr_Event class looks like it follows NIP-98, but: a) haven't actually ...

Your new Nostr_Event class looks like it follows NIP-98, but:

a) haven't actually used it (it's not called anywhere in the code) and

b) your class doesn't implement the signature check, so it's simple to send a fake one.

You can't really avoid the cryptography in the back end. Without a signature check, you can't be sure the event isn't faked.
Author Public Key
npub1emq0gngdvntdn4apepxrxr65vln49nytqe0hyr58fg9768z5zmfqcwa3jz