<br><div class="gmail_quote">On Feb 13, 2008 5:21 PM, Noam Raphael &lt;<a href="mailto:noamraph@gmail.com">noamraph@gmail.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
2008/2/13, Jean-Paul Calderone &lt;<a href="mailto:exarkun@divmod.com">exarkun@divmod.com</a>&gt;:<br><div class="Ih2E3d">&gt; When you invented a new crypto protocol, the default is that you have<br>&gt; lost. &nbsp;Sorry, that&#39;s just how it goes. &nbsp;I already see one weakness in<br>
&gt; your code, as compared to SSL. &nbsp;I&#39;m sure there are more. &nbsp;Google Gutmann<br>&gt; sound wave therapy if you need further convincing.<br>&gt;<br>&gt; Even if you don&#39;t use Twisted, use SSL.<br>&gt;<br></div>Well, you are probably right.<br>
Just wondering: can you tell me what&#39;s the weakness you found? (I<br>might learn some cryptology from this...)<br><br>Another, not really related, question: Do you know if someone used the<br>new coroutine-generators in python2.5 as a way to write servers? It<br>
seems to me like something that can make writing servers much easier,<br>since a function is much more natural than a state machine (that&#39;s the<br>reason I wrote this protocol without twisted).<br></blockquote><div><br>
Coroutine-generators?&nbsp; Python 2.5 doesn&#39;t have such a thing.<br><br></div></div>-- <br>\\\\\/\&quot;/\\\\\\\\\\\<br>\\\\/ // //\/\\\\\\\<br>\\\/ &nbsp;\\// /\ \/\\\\<br>\\/ /\/ / /\/ /\ \\\<br>\/ / /\/ /\ &nbsp;/\\\ \\<br>/ /\\\ &nbsp;/\\\ \\\\\/\<br>
\/\\\\\/\\\\\/\\\\\\<br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; d.p.s