Alex Gleason on Nostr: Trying to grok the issue. A relay can send events with the wrong pubkey, but then ...
Trying to grok the issue. A relay can send events with the wrong pubkey, but then signature verification will fail. They can also send wrong events for a filter, but then matchFilters will filter them out. In what scenario is it potentially harmful?
Published at
2023-10-10 18:35:29Event JSON
{
"id": "61048da4295d2bee2fe44267c7d14dacb23616f5d5ca610c71b817b48cc1c257",
"pubkey": "79c2cae114ea28a981e7559b4fe7854a473521a8d22a66bbab9fa248eb820ff6",
"created_at": 1696962929,
"kind": 1,
"tags": [
[
"p",
"97c70a44366a6535c145b333f973ea86dfdc2d7a99da618c40c64705ad98e322",
"wss://relay.mostr.pub"
],
[
"e",
"2c640d5af2046ce69686fe57e43a90386b62db9ab04776afc420aa5c81d92e14",
"wss://relay.mostr.pub",
"reply"
],
[
"proxy",
"https://gleasonator.com/objects/f93f7439-07b5-4238-bcba-80a8af5bb3b4",
"activitypub"
]
],
"content": "Trying to grok the issue. A relay can send events with the wrong pubkey, but then signature verification will fail. They can also send wrong events for a filter, but then matchFilters will filter them out. In what scenario is it potentially harmful?",
"sig": "32237eab88e96a0e4cd6ca1f542e224ff5b6168151586f5731080c49f898195de980b4552928e98c8bc830cf4f632eab3f004bf3cb228fe1da1ec677c41e6590"
}