summaryrefslogtreecommitdiff
path: root/pipermail/pycrypto/2014q1/000754.html
diff options
context:
space:
mode:
Diffstat (limited to 'pipermail/pycrypto/2014q1/000754.html')
-rw-r--r--pipermail/pycrypto/2014q1/000754.html175
1 files changed, 175 insertions, 0 deletions
diff --git a/pipermail/pycrypto/2014q1/000754.html b/pipermail/pycrypto/2014q1/000754.html
new file mode 100644
index 0000000..341a366
--- /dev/null
+++ b/pipermail/pycrypto/2014q1/000754.html
@@ -0,0 +1,175 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<HTML>
+ <HEAD>
+ <TITLE> [pycrypto] Docs/code mis-match - not specifying IV fails
+ </TITLE>
+ <LINK REL="Index" HREF="index.html" >
+ <LINK REL="made" HREF="mailto:pycrypto%40lists.dlitz.net?Subject=Re%3A%20%5Bpycrypto%5D%20Docs/code%20mis-match%20-%20not%20specifying%20IV%20fails&In-Reply-To=%3CCAEncD4eAVgEGXPdxCxzHiLS0khkK%2B8oNMfnLpn%2BcegNyM6AjWA%40mail.gmail.com%3E">
+ <META NAME="robots" CONTENT="index,nofollow">
+ <style type="text/css">
+ pre {
+ white-space: pre-wrap; /* css-2.1, curent FF, Opera, Safari */
+ }
+ </style>
+ <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
+ <LINK REL="Previous" HREF="000753.html">
+ <LINK REL="Next" HREF="000755.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[pycrypto] Docs/code mis-match - not specifying IV fails</H1>
+ <B>Dave Pawson</B>
+ <A HREF="mailto:pycrypto%40lists.dlitz.net?Subject=Re%3A%20%5Bpycrypto%5D%20Docs/code%20mis-match%20-%20not%20specifying%20IV%20fails&In-Reply-To=%3CCAEncD4eAVgEGXPdxCxzHiLS0khkK%2B8oNMfnLpn%2BcegNyM6AjWA%40mail.gmail.com%3E"
+ TITLE="[pycrypto] Docs/code mis-match - not specifying IV fails">dave.pawson at gmail.com
+ </A><BR>
+ <I>Wed Jan 8 02:00:55 PST 2014</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="000753.html">[pycrypto] Docs/code mis-match - not specifying IV fails
+</A></li>
+ <LI>Next message: <A HREF="000755.html">[pycrypto] windows + linux line endings issue
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#754">[ date ]</a>
+ <a href="thread.html#754">[ thread ]</a>
+ <a href="subject.html#754">[ subject ]</a>
+ <a href="author.html#754">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>What does not make sense is that this group seems to accept this
+discrepency between
+docs and code.
+
+Does anyone know if the docs maintainer has any interest these days?
+
+regards
+
+On 8 January 2014 09:32, Hugh Macdonald &lt;<A HREF="http://lists.dlitz.net/cgi-bin/mailman/listinfo/pycrypto">hugh.macdonald at nvizible.com</A>&gt; wrote:
+&gt;<i> Hi Charley,
+</I>&gt;<i>
+</I>&gt;<i> Thanks for clarifying that - that makes sense to me.
+</I>&gt;<i>
+</I>&gt;<i>
+</I>&gt;<i> Cheers
+</I>&gt;<i>
+</I>&gt;<i> Hugh
+</I>&gt;<i>
+</I>&gt;<i>
+</I>&gt;<i> On 8 January 2014 00:59, Charley Nibley &lt;<A HREF="http://lists.dlitz.net/cgi-bin/mailman/listinfo/pycrypto">cnibley at gmail.com</A>&gt; wrote:
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> Hi Hugh,
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> This behavior you are seeing is expected. It changed with a fix to
+</I>&gt;&gt;<i> prevent an empty string IV passed to the function. IV is always mandatory
+</I>&gt;&gt;<i> even if at some point in a previous build it was being passed as all zeros.
+</I>&gt;&gt;<i> I believe the doc just needs updating.
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> See line 173:
+</I>&gt;&gt;<i> <A HREF="https://github.com/dlitz/pycrypto/commit/411f60f58cea79f7e93476ba0c069b80a2a4c1a0">https://github.com/dlitz/pycrypto/commit/411f60f58cea79f7e93476ba0c069b80a2a4c1a0</A>
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> And see the comments here: <A HREF="https://bugs.launchpad.net/pycrypto/+bug/997464">https://bugs.launchpad.net/pycrypto/+bug/997464</A>
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> Charley Nibley
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> On Tue, Jan 7, 2014 at 9:43 AM, Hugh Macdonald
+</I>&gt;&gt;<i> &lt;<A HREF="http://lists.dlitz.net/cgi-bin/mailman/listinfo/pycrypto">hugh.macdonald at nvizible.com</A>&gt; wrote:
+</I>&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;<i> Hi,
+</I>&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;<i> I've just been trying to figure out why some code of mine broke after an
+</I>&gt;&gt;&gt;<i> update from 2.0.1 to 2.6.1, and found that I hadn't been passing an IV into
+</I>&gt;&gt;&gt;<i> AES.new() (using MODE_CFB).
+</I>&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;<i> Previously, it was happy with this, and, according to the docs here
+</I>&gt;&gt;&gt;<i> (<A HREF="https://www.dlitz.net/software/pycrypto/api/current/">https://www.dlitz.net/software/pycrypto/api/current/</A>), &quot;It is optional and
+</I>&gt;&gt;&gt;<i> when not present it will be given a default value of all zeroes.&quot;
+</I>&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;<i> Looking at the code that throws the exception
+</I>&gt;&gt;&gt;<i> (<A HREF="https://github.com/dlitz/pycrypto/blob/master/src/block_template.c,">https://github.com/dlitz/pycrypto/blob/master/src/block_template.c,</A> line
+</I>&gt;&gt;&gt;<i> 163), it doesn't allow for doing what the docs suggest it will.
+</I>&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;<i> I'm not sure whether I've either misunderstood something or which of the
+</I>&gt;&gt;&gt;<i> two is wrong, but I thought I'd at least flag it for discussion...
+</I>&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;<i> Hugh
+</I>&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;<i> D I S C L A I M E R : This email and any files transmitted with it are
+</I>&gt;&gt;&gt;<i> intended solely for the intended addressee, and may contain confidential
+</I>&gt;&gt;&gt;<i> information or material protected by law, copyright or other legislation.
+</I>&gt;&gt;&gt;<i> If you have received this message in error, please return it to the sender
+</I>&gt;&gt;&gt;<i> or notify the sender by calling +44 (0)20 3167 3860, and immediately and
+</I>&gt;&gt;&gt;<i> permanently delete it. You should not copy it or use it for any purpose, nor
+</I>&gt;&gt;&gt;<i> disclose its contents to any other person. Only the intended recipient may
+</I>&gt;&gt;&gt;<i> place any reliance upon it. Nvizible Limited accepts no responsibility or
+</I>&gt;&gt;&gt;<i> liability for emails sent by its employees or personnel which are not sent
+</I>&gt;&gt;&gt;<i> in the course of its business or that of its clients.
+</I>&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;<i> Nvizible Limited, 8/9 Carlisle Street, London W1D 3BP . Registered in
+</I>&gt;&gt;&gt;<i> England &amp; Wales with Company Number: 6900121
+</I>&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;<i> _______________________________________________
+</I>&gt;&gt;&gt;<i> pycrypto mailing list
+</I>&gt;&gt;&gt;<i> <A HREF="http://lists.dlitz.net/cgi-bin/mailman/listinfo/pycrypto">pycrypto at lists.dlitz.net</A>
+</I>&gt;&gt;&gt;<i> <A HREF="http://lists.dlitz.net/cgi-bin/mailman/listinfo/pycrypto">http://lists.dlitz.net/cgi-bin/mailman/listinfo/pycrypto</A>
+</I>&gt;&gt;&gt;<i>
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> _______________________________________________
+</I>&gt;&gt;<i> pycrypto mailing list
+</I>&gt;&gt;<i> <A HREF="http://lists.dlitz.net/cgi-bin/mailman/listinfo/pycrypto">pycrypto at lists.dlitz.net</A>
+</I>&gt;&gt;<i> <A HREF="http://lists.dlitz.net/cgi-bin/mailman/listinfo/pycrypto">http://lists.dlitz.net/cgi-bin/mailman/listinfo/pycrypto</A>
+</I>&gt;&gt;<i>
+</I>&gt;<i>
+</I>&gt;<i>
+</I>&gt;<i> D I S C L A I M E R : This email and any files transmitted with it are
+</I>&gt;<i> intended solely for the intended addressee, and may contain confidential
+</I>&gt;<i> information or material protected by law, copyright or other legislation.
+</I>&gt;<i> If you have received this message in error, please return it to the sender
+</I>&gt;<i> or notify the sender by calling +44 (0)20 3167 3860, and immediately and
+</I>&gt;<i> permanently delete it. You should not copy it or use it for any purpose, nor
+</I>&gt;<i> disclose its contents to any other person. Only the intended recipient may
+</I>&gt;<i> place any reliance upon it. Nvizible Limited accepts no responsibility or
+</I>&gt;<i> liability for emails sent by its employees or personnel which are not sent
+</I>&gt;<i> in the course of its business or that of its clients.
+</I>&gt;<i>
+</I>&gt;<i> Nvizible Limited, 8/9 Carlisle Street, London W1D 3BP . Registered in
+</I>&gt;<i> England &amp; Wales with Company Number: 6900121
+</I>&gt;<i>
+</I>&gt;<i> _______________________________________________
+</I>&gt;<i> pycrypto mailing list
+</I>&gt;<i> <A HREF="http://lists.dlitz.net/cgi-bin/mailman/listinfo/pycrypto">pycrypto at lists.dlitz.net</A>
+</I>&gt;<i> <A HREF="http://lists.dlitz.net/cgi-bin/mailman/listinfo/pycrypto">http://lists.dlitz.net/cgi-bin/mailman/listinfo/pycrypto</A>
+</I>&gt;<i>
+</I>
+
+
+--
+Dave Pawson
+XSLT XSL-FO FAQ.
+Docbook FAQ.
+<A HREF="http://www.dpawson.co.uk">http://www.dpawson.co.uk</A>
+</PRE>
+
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI>Previous message: <A HREF="000753.html">[pycrypto] Docs/code mis-match - not specifying IV fails
+</A></li>
+ <LI>Next message: <A HREF="000755.html">[pycrypto] windows + linux line endings issue
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#754">[ date ]</a>
+ <a href="thread.html#754">[ thread ]</a>
+ <a href="subject.html#754">[ subject ]</a>
+ <a href="author.html#754">[ author ]</a>
+ </LI>
+ </UL>
+
+<hr>
+<a href="http://lists.dlitz.net/cgi-bin/mailman/listinfo/pycrypto">More information about the pycrypto
+mailing list</a><br>
+</body></html>