You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The pubkey value should be a string, not an object. The pubkey property is intended to be hex because the hex key does not require any decoding. Therefor, an object with the ability to set additional keys is unnecessary, out of spec and breaks validation.
From NIP-11
An administrative contact may be listed with a pubkey, in the same format as Nostr events (32-byte hex for a secp256k1 public key)."
The text was updated successfully, but these errors were encountered:
@dskvr Hey Sand, you are right. This is an accidental implementation bug that I have noticed a long time ago but since nobody is using my relay instance or implementation, I did not bother. I can make a quick fix
The
pubkey
value should be a string, not an object. Thepubkey
property is intended to behex
because the hex key does not require any decoding. Therefor, an object with the ability to set additional keys is unnecessary, out of spec and breaks validation.From NIP-11
The text was updated successfully, but these errors were encountered: