nips icon indicating copy to clipboard operation
nips copied to clipboard

NIP-11 pubkey prefix allowed

Open mikedilger opened this issue 2 years ago • 3 comments

I notice in my gossip logs a lot of invalid NIP-11s. Digging in, it turns out people are putting significant prefixes of their pubkey, not the entire pubkey (possibly for plausable deniability?).

This PR changes NIP-11 to provide for that.

mikedilger avatar Feb 03 '23 08:02 mikedilger

Actually I would much prefer if people didn't cut bytes in half, listing an odd number of hex digits because I can't hex decode them into bytes. But it looks like that is what everybody is doing (many relays). sigh

mikedilger avatar Feb 03 '23 09:02 mikedilger

I don't think this should be supported at all. If someone is doing this it is better to ask them to fix it.

fiatjaf avatar Feb 03 '23 13:02 fiatjaf

ok I had better make sure it's not my bug first.

mikedilger avatar Feb 04 '23 01:02 mikedilger