Skip to content

Conversation

KarimHassan
Copy link

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.

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.
@KarimHassan KarimHassan requested a review from kehiy August 30, 2025 13:44
Copy link
Collaborator

@vitorpamplona vitorpamplona left a 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.

@fiatjaf
Copy link
Member

fiatjaf commented Aug 30, 2025

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.

@KarimHassan
Copy link
Author

@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

@KarimHassan
Copy link
Author

KarimHassan commented Sep 12, 2025

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.

@KarimHassan
Copy link
Author

KarimHassan commented Sep 15, 2025

@fiatjaf, would you conduct a review on the latest version? You feedback is highly appreciated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants