summaryrefslogtreecommitdiff
path: root/pipermail/pycrypto/attachments/20141201/82202087/attachment.html
diff options
context:
space:
mode:
Diffstat (limited to 'pipermail/pycrypto/attachments/20141201/82202087/attachment.html')
-rw-r--r--pipermail/pycrypto/attachments/20141201/82202087/attachment.html42
1 files changed, 42 insertions, 0 deletions
diff --git a/pipermail/pycrypto/attachments/20141201/82202087/attachment.html b/pipermail/pycrypto/attachments/20141201/82202087/attachment.html
new file mode 100644
index 0000000..118ebc7
--- /dev/null
+++ b/pipermail/pycrypto/attachments/20141201/82202087/attachment.html
@@ -0,0 +1,42 @@
+<tt>
+&lt;html&gt;<br>
+&nbsp;&nbsp;&lt;head&gt;<br>
+<br>
+&nbsp;&nbsp;&nbsp;&nbsp;&lt;meta&nbsp;http-equiv=&quot;content-type&quot;&nbsp;content=&quot;text/html;&nbsp;charset=utf-8&quot;&gt;<br>
+&nbsp;&nbsp;&lt;/head&gt;<br>
+&nbsp;&nbsp;&lt;body&nbsp;bgcolor=&quot;#FFFFFF&quot;&nbsp;text=&quot;#000000&quot;&gt;<br>
+&nbsp;&nbsp;&nbsp;&nbsp;&lt;tt&gt;Hello&nbsp;All:&lt;/tt&gt;&lt;tt&gt;&lt;br&gt;<br>
+&nbsp;&nbsp;&nbsp;&nbsp;&lt;/tt&gt;&lt;tt&gt;&lt;br&gt;<br>
+&nbsp;&nbsp;&nbsp;&nbsp;&lt;/tt&gt;&lt;tt&gt;&lt;br&gt;<br>
+&nbsp;&nbsp;&nbsp;&nbsp;&lt;/tt&gt;&lt;tt&gt;I&nbsp;found&nbsp;a&nbsp;&lt;/tt&gt;&lt;tt&gt;strange&nbsp;bug&nbsp;in&nbsp;size()&nbsp;function&nbsp;that<br>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;a&nbsp;wrong&nbsp;key&nbsp;size&nbsp;after&nbsp;creating&nbsp;or&nbsp;importing&nbsp;an&nbsp;RSA&nbsp;key.<br>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The&nbsp;return&nbsp;value&nbsp;for&nbsp;the&nbsp;size&nbsp;funciont&nbsp;seems&nbsp;to&nbsp;be&nbsp;keysize-1.&lt;br&gt;<br>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;br&gt;<br>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Here&nbsp;a&nbsp;demo&nbsp;of&nbsp;the&nbsp;bug:&lt;br&gt;<br>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;br&gt;<br>
+&nbsp;&nbsp;&nbsp;&nbsp;&lt;/tt&gt;&lt;tt&gt;&lt;br&gt;<br>
+&nbsp;&nbsp;&nbsp;&nbsp;&lt;/tt&gt;&lt;tt&gt;&lt;font&nbsp;color=&quot;#000099&quot;&gt;luisgf@NCC1701B:~$&nbsp;python3&lt;br&gt;<br>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Python&nbsp;3.4.0&nbsp;(default,&nbsp;Apr&nbsp;11&nbsp;2014,&nbsp;13:05:11)&nbsp;&lt;br&gt;<br>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[GCC&nbsp;4.8.2]&nbsp;on&nbsp;linux&lt;br&gt;<br>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Type&nbsp;&quot;help&quot;,&nbsp;&quot;copyright&quot;,&nbsp;&quot;credits&quot;&nbsp;or&nbsp;&quot;license&quot;&nbsp;for&nbsp;more<br>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;information.&lt;br&gt;<br>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt;&gt;&gt;&nbsp;from&nbsp;Crypto.PublicKey&nbsp;import&nbsp;RSA&lt;br&gt;<br>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt;&gt;&gt;&nbsp;key&nbsp;=&nbsp;RSA.generate(2048)&lt;br&gt;<br>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt;&gt;&gt;&nbsp;key.size()&lt;br&gt;<br>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2047&lt;br&gt;<br>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt;&gt;&gt;&nbsp;&lt;/font&gt;&lt;br&gt;<br>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;br&gt;<br>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;br&gt;<br>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Regards.&lt;br&gt;<br>
+&nbsp;&nbsp;&nbsp;&nbsp;&lt;/tt&gt;<br>
+&nbsp;&nbsp;&nbsp;&nbsp;&lt;pre&nbsp;class=&quot;moz-signature&quot;&nbsp;cols=&quot;72&quot;&gt;--&nbsp;<br>
+<br>
+--<br>
+Luis&nbsp;González&nbsp;Fernández<br>
+&lt;a&nbsp;class=&quot;moz-txt-link-freetext&quot;&nbsp;href=&quot;https://www.luisgf.es&quot;&gt;https://www.luisgf.es&lt;/a&gt;<br>
+PGP&nbsp;ID:&nbsp;C918B80F&nbsp;(DD6F&nbsp;BFC1&nbsp;FC14&nbsp;4C81&nbsp;34F8&nbsp;EA1E&nbsp;6BCB&nbsp;C27F&nbsp;C918&nbsp;B80F)<br>
+Twitter:&nbsp;@luisgf_2001&nbsp;/&nbsp;Jabber:&nbsp;&lt;a&nbsp;class=&quot;moz-txt-link-abbreviated&quot;&nbsp;href=&quot;mailto:luisgf@mijabber.es&quot;&gt;luisgf@mijabber.es&lt;/a&gt;&lt;/pre&gt;<br>
+&nbsp;&nbsp;&lt;/body&gt;<br>
+&lt;/html&gt;<br>
+
+</tt>