TMTP a Internet protocol combining elements of email and the web
Seems like a poorly thought out protocol.<p><pre><code>  1. Inconsistences like the value for &quot;op&quot; being sometimes integer but then sometimes string. Why is this an integer anyways? We are already in inefficient JSON land and a lot of the rest is strings.
  2. No mentioning of ordering or guarantees in the draft spec. Bad recommendation to use time for sequential message ids.
  3. Says E2EE not in it right now but planned. Says E2EE not default because sites want to scan and archive messages but then the page says email is bad because it doesn&#x27;t have E2EE and nodes can scan messages?
  4. The usage of the word &quot;node&quot; is confusing and inconsistent. Sometimes it&#x27;s described as a device, sometimes it&#x27;s a password. &quot;nodeid&quot;, &quot;node&quot;, &quot;newnode&quot;...
  5. Seems like one can spoof the alias for each message? What&#x27;s the reason for this? The page specifically mentions phishing being an issue with email but wouldn&#x27;t this help phishers? There is no way that I can see if a message came from the site itself or a random user on it.
</code></pre>
Then a quick look at the code. First noticed the unusual (for Go) coding convention like &quot;tFoo&quot; structs, &quot;eErrFoo&quot; errors. Calling a mutex &quot;door&quot;, weird &quot;&#x2F;&#x2F;:&quot; comments.
I haven&#x27;t tested it but I&#x27;m fairly sure the convoluted way of storing user info in flat files has path traversal issues. Seems like there&#x27;s a cache for alias -&gt; uid but anyone can pick any alias so they would collide?<p>Just from a cursory glance. Also doesn&#x27;t seem like it has moved much in a couple years.