Files
damus/nostrdb
William Casarin fa2d240ddf nostrdb: nostrdb: calculate id in ndb_note_verify
Rogue relays could in theory attack nostrdb by replaying ids and
signatures from other notes. This fixes this weakness by calculating the
id again in ndb_note_verify.

There is no known relays exploiting this, but lets get ahead of it
before we switch to the outbox model in damus iOS/notedeck

Signed-off-by: William Casarin <jb55@jb55.com>
2025-09-24 14:06:03 -07:00
..
2025-08-11 16:40:01 -07:00
2025-08-11 16:40:01 -07:00
2025-08-11 16:40:01 -07:00
2025-08-11 16:40:01 -07:00
2025-08-11 16:40:01 -07:00
2024-06-21 12:00:44 -07:00
2025-08-11 16:40:01 -07:00