-
Notifications
You must be signed in to change notification settings - Fork 695
Add NIP-XX: Time Capsules specification #2045
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
This NIP defines time-locked capsules: encrypted Nostr events that become readable only at/after a target timestamp or when a threshold of designated witnesses publish unlock shares. It includes specifications for event kinds, unlock modes, protocol flow, client behavior, security considerations, and examples.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very cool! Just some minor adjustments.
I don't see what this has to do with timestamps, it's just a thing that gets decrypted whenever the parties involved decide to decrypt it, no? The criteria could be any. |
@fiatjaf That is a fare observation, in the current draft the focus on time-based unlocks "client enforcement". I am planning to extend this to drand timelock encryption just need some time to implement and validate it |
0111269
to
1e5bf32
Compare
I have modified the nip to be more precise and focused on time capsule , I've removed threshold modes because it have a bug in deployment that witnesses can betray others and decrypt messages offline, I am trying to find a better approach so I can update the nip with it or create a new dedicated nip for multi parties decryption. |
@fiatjaf, would you conduct a review on the latest version? You feedback is highly appreciated |
This NIP defines time-locked capsules: encrypted Nostr events that become readable only at/after a target timestamp or when a threshold of designated witnesses publish unlock shares. It includes specifications for event kinds, unlock modes, protocol flow, client behavior, security considerations, and examples.