add hygiene: deleting announcement and key sharing events after they are no longer necessary.

This commit is contained in:
fiatjaf
2025-12-24 06:38:23 -03:00
parent e98d1150e9
commit b22711d050

1
4e.md
View File

@@ -72,6 +72,7 @@ There are probably other advantages to not tying the user's identity to the keys
```
11. Immediately **Tortilla** wakes up and sees the `kind:4455` that has just been published by **Cope**, decrypts the content using `ecdh(t, C)` and now **Tortilla** also knows the secret key `e`. **Tortilla** can now decrypt and encrypt the same things **Cope** could before.
12. After ensuring it has its copy of `a` and it matches the `A` published in the `kind:10044`, **Tortilla** proceeds to delete its own `kind:4454` and the corresponding `kind:4455` received from relays.
### The protocol flow again, now in a colorful infographic