<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"><channel><title>Matasano Chargen - Latest Comments in Halvar Flake and Nate Lawson on Alternative Padding Schemes</title><link>http://matasanochargen.disqus.com/</link><description></description><language>en</language><lastBuildDate>Sat, 16 Sep 2006 03:02:15 -0000</lastBuildDate><item><title>Re: Halvar Flake and Nate Lawson on Alternative Padding Schemes</title><link>http://www.matasano.com/log/495/halvar-flake-and-nate-lawson-on-alternative-padding-schemes/#comment-2320525</link><description>I agree with everything you said, except the reference to Rabin's system as "low exponent RSA", which is wrong both from a technical and historical perspective.&lt;br&gt;&lt;br&gt;The details we already mentioned, plus a paper or two, affirm this assertion.  If e=2 were to RSA as e=3 is, there'd be nothing to debate.&lt;br&gt;&lt;br&gt;Even Ferguson and Schneier, in that footnote you cited, allude to these differences (although arguably too mildly).&lt;br&gt;&lt;br&gt;I just thought that, seeing as how the series started by explaining how the little details matter, it's important not to gloss over the difference between RSA and Rabin.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Adam Morrison</dc:creator><pubDate>Sat, 16 Sep 2006 03:02:15 -0000</pubDate></item><item><title>Re: Halvar Flake and Nate Lawson on Alternative Padding Schemes</title><link>http://www.matasano.com/log/495/halvar-flake-and-nate-lawson-on-alternative-padding-schemes/#comment-2320524</link><description>I agree with everything you said, except the reference to Rabin's system as "low exponent RSA", which is wrong both from a technical and historical perspective.&lt;br&gt;&lt;br&gt;The details we already mentioned, plus a paper or two, affirm this assertion.  If e=2 were to RSA as e=3 is, there'd be nothing to debate.&lt;br&gt;&lt;br&gt;Even Ferguson and Schneier, in that footnote you cited, allude to these differences (lthough arguably too mildly).&lt;br&gt;&lt;br&gt;I just thought that, seeing as how the series started by explaining how the little details matter, it's important not to gloss over the difference between RSA and Rabin.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Adam Morrison</dc:creator><pubDate>Sat, 16 Sep 2006 03:01:47 -0000</pubDate></item><item><title>Re: Halvar Flake and Nate Lawson on Alternative Padding Schemes</title><link>http://www.matasano.com/log/495/halvar-flake-and-nate-lawson-on-alternative-padding-schemes/#comment-2320523</link><description>1a. Rabin uses a small exponent (e=2)&lt;br&gt;1b. RSA can use e=3&lt;br&gt;2a. Rabin security is based on the difficulty of factoring N (p*q)&lt;br&gt;2b. RSA, ditto&lt;br&gt;3a. Rabin requires special formatting and redundancy checking of the result (i.e. that M is a quadratic residue mod N)&lt;br&gt;3b. RSA requires special formatting and redundancy checking of the result (i.e. PKCS)&lt;br&gt;&lt;br&gt;In refuting the argument that small exponents in RSA are the cause of the problem (not an implementation flaw), it's perfectly legitimate to include Rabin as a counter example.&lt;br&gt;&lt;br&gt;The lesson remains: proper redundancy checking is vital to security in public key crypto, no matter what the public exponent.  I hope you can agree.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Nate</dc:creator><pubDate>Thu, 14 Sep 2006 15:02:24 -0000</pubDate></item><item><title>Re: Halvar Flake and Nate Lawson on Alternative Padding Schemes</title><link>http://www.matasano.com/log/495/halvar-flake-and-nate-lawson-on-alternative-padding-schemes/#comment-2320522</link><description>I think we can all easily reach a consensus that Rabin keys are "NOT" PKCS#1 v2.0 or above.&lt;br&gt;&lt;br&gt;Is there any way to have a conversation that doesn't involve us delving into the definitions of what "variant" means, or questioning the legitimacy of various sources (even I can cite credible sources that say e=2 is RSA --- for instance, Ferguson and Schneier, p 231, discussing how to choose the public exponent for RSA)? &lt;br&gt;&lt;br&gt;I'm also going to call you on comparing a blog post to an implementation of RSA. &lt;br&gt;&lt;br&gt;You seem sharp. What are your technical critiques on the posts so far?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Thomas Ptacek</dc:creator><pubDate>Thu, 14 Sep 2006 14:37:54 -0000</pubDate></item><item><title>Re: Halvar Flake and Nate Lawson on Alternative Padding Schemes</title><link>http://www.matasano.com/log/495/halvar-flake-and-nate-lawson-on-alternative-padding-schemes/#comment-2320521</link><description>Yeah, Rabin is a &lt;b&gt;variant&lt;/b&gt; of RSA; it's &lt;b&gt;not&lt;/b&gt; RSA.&lt;br&gt;&lt;br&gt;It's not RSA, because the signing algorithm is totally different.&lt;br&gt;&lt;br&gt;It's not RSA, because PKCS#1 says so [PKCS#1 v2.1, sec 3.1].&lt;br&gt;&lt;br&gt;It's not RSA, because if you try using e=2 in any decent RSA implementation, you won't get past the key generation phase, and things will break horribly even if you do.&lt;br&gt;&lt;br&gt;You just spent an &lt;a href="http://www.matasano.com/log/487/rsa-signature-forgery-explained-with-nate-lawson-part-ii/" rel="nofollow"&gt;entire blog post&lt;/a&gt; explaining how cryptography is hard to get right, and how the minute details of the implementation matter.  Isn't it also important to know which algorithm is being used?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Adam Morrison</dc:creator><pubDate>Thu, 14 Sep 2006 14:19:32 -0000</pubDate></item><item><title>Re: Halvar Flake and Nate Lawson on Alternative Padding Schemes</title><link>http://www.matasano.com/log/495/halvar-flake-and-nate-lawson-on-alternative-padding-schemes/#comment-2320520</link><description>And here...&lt;br&gt;&lt;br&gt;&lt;a href="http://www.lcs.mit.edu/publications/pubs/pdf/MIT-LCS-TR-212.pdf" rel="nofollow"&gt;http://www.lcs.mit.edu/publications/pubs/pdf/MI...&lt;/a&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">sargon</dc:creator><pubDate>Thu, 14 Sep 2006 13:56:31 -0000</pubDate></item><item><title>Re: Halvar Flake and Nate Lawson on Alternative Padding Schemes</title><link>http://www.matasano.com/log/495/halvar-flake-and-nate-lawson-on-alternative-padding-schemes/#comment-2320519</link><description>No.  e=2 is Rabin, a variant of RSA.&lt;br&gt;&lt;a href="http://www.x5.net/faqs/crypto/q37.html" rel="nofollow"&gt;http://www.x5.net/faqs/crypto/q37.html&lt;/a&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Nate</dc:creator><pubDate>Thu, 14 Sep 2006 10:29:42 -0000</pubDate></item><item><title>Re: Halvar Flake and Nate Lawson on Alternative Padding Schemes</title><link>http://www.matasano.com/log/495/halvar-flake-and-nate-lawson-on-alternative-padding-schemes/#comment-2320518</link><description>e=2 is not a valid RSA exponent, since it's not coprime to (p-1)(q-1).</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Adam Morrison</dc:creator><pubDate>Thu, 14 Sep 2006 01:58:49 -0000</pubDate></item></channel></rss>