Update the identifier tag d for user's app data event #120

Open
opened 2024-07-17 10:00:18 +00:00 by s · 1 comment
Owner

Currently we are using sha256 hash of 938 + user's pubkey for user's the identifier tag d of user's app data event. Rather we should sign the event with 938 + user's pubkey and create_at = 0 or start of UNIX timestamp if 0 is not allowed and use the signature of that event as an identifier.

Currently we are using sha256 hash of `938 + user's pubkey` for user's the identifier tag `d` of user's app data event. Rather we should sign the event with `938 + user's pubkey` and create_at = 0 or start of UNIX timestamp if 0 is not allowed and use the signature of that event as an identifier.
s changed title from Update filter for getting user's appData to Update the identifier `d` for user's app data event 2024-07-22 08:19:02 +00:00
s changed title from Update the identifier `d` for user's app data event to Update the identifier tag `d` for user's app data event 2024-07-22 08:19:16 +00:00
Author
Owner

This approach wouldn't work as we would get different signatures every time we sign an event.

This approach wouldn't work as we would get different signatures every time we sign an event.
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: sigit/sigit.io#120
No description provided.