Feb 24 2019
I guess it is solved already.
Feb 19 2019
Feb 14 2019
The main and probably the only good thing that I have written in code of Andreas is function process_event(). It reads an «event» (a concept similar to Envelope), checks its signatures and decides whether it has enough valid signatures to store the message from it. If it isn't (for example, the signature of the post's author is missing), the «event» remains unprocessed, and no posts are being stored into the system.
Feb 13 2019
Feb 6 2019
Feb 2 2019
Before continuing this task, I need to do T59: Render Envelope to string.
Jan 28 2019
The header will look the same, but I'll move the resulting field from Message to Envelope, since priciples of signing and verifying should be universal for messages, profiles, etc.
Jan 27 2019
Jan 20 2019
I think this syntax is better.
One header contains all hashes for one person.
Jan 19 2019
Also, let's talk about future. There is a chance that I will add some feature for making aliases for people. For example, you define, that you refer to person with a certain hash as to Max, and then you can link to Max in both body and headers. It doesn't matter if reader doesn't know this Max of if reader knows only another Max: in context of your envelope, «Max» always refers to whoever you meant. (See T54.) Headers which can use such aliases are Written-By and similar ones, but also... Signature. If something is signed by Max, we need first to find out who the hell Max is.
There are two options how a signed envelope could look like.