summaryrefslogtreecommitdiff
path: root/pipermail/pycrypto/2013q3/000698.html
blob: b5ed52d20276a87e8bd41d2d60adc29678c9974b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
 <HEAD>
   <TITLE> [pycrypto] RSA exportKey() changes set in stone for 2.7?
   </TITLE>
   <LINK REL="Index" HREF="index.html" >
   <LINK REL="made" HREF="mailto:pycrypto%40lists.dlitz.net?Subject=Re%3A%20%5Bpycrypto%5D%20RSA%20exportKey%28%29%20changes%20set%20in%20stone%20for%202.7%3F&In-Reply-To=%3CCAGwD-jZFHWmOqw0U5XzemnF%2BERZxwoE%2BSgqkGxx_1JxJAoty6A%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="000697.html">
   <LINK REL="Next"  HREF="000689.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[pycrypto] RSA exportKey() changes set in stone for 2.7?</H1>
    <B>Kurt Vogel</B> 
    <A HREF="mailto:pycrypto%40lists.dlitz.net?Subject=Re%3A%20%5Bpycrypto%5D%20RSA%20exportKey%28%29%20changes%20set%20in%20stone%20for%202.7%3F&In-Reply-To=%3CCAGwD-jZFHWmOqw0U5XzemnF%2BERZxwoE%2BSgqkGxx_1JxJAoty6A%40mail.gmail.com%3E"
       TITLE="[pycrypto] RSA exportKey() changes set in stone for 2.7?">kvogel at mdcom.com
       </A><BR>
    <I>Mon Sep 30 22:28:20 PDT 2013</I>
    <P><UL>
        <LI>Previous message: <A HREF="000697.html">[pycrypto] RSA exportKey() changes set in stone for 2.7?
</A></li>
        <LI>Next message: <A HREF="000689.html">[pycrypto] Crypto question
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#698">[ date ]</a>
              <a href="thread.html#698">[ thread ]</a>
              <a href="subject.html#698">[ subject ]</a>
              <a href="author.html#698">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>Hi Dwayne,

Thanks, that is what I was assuming.  If we move import/export to Crypto.IO
it will break backwards compatibility, no?  Is that important?

Is anyone working on this issue?  If backwards compatibility is important I
say keep what we have there now (2.6) and have a deprecation comment and/or
stderr output?

Also does Pycrypto have deprecation/error transition plan?  To ease
transition some packages first do a deprecation warning, second major
release it becomes an error/exception, then third major release the code is
completely removed.  Would that work with pycrypto users?

Your thoughts?
Thanks!
Kurt




On Sun, Sep 29, 2013 at 6:52 PM, Dwayne Litzenberger &lt;<A HREF="http://lists.dlitz.net/cgi-bin/mailman/listinfo/pycrypto">dlitz at dlitz.net</A>&gt;wrote:

&gt;<i> On Wed, Jul 17, 2013 at 01:33:41AM -0700, Kurt Vogel wrote:
</I>&gt;<i>
</I>&gt;&gt;<i> Hi, quick question for the group and maintainer...
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> I am about ready to deploy a project and wondering how set we are on the
</I>&gt;&gt;<i> format of rsa.exportKey() for next pycrypto?
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> Is it safe to include in our requirements.pip (for now) a reference to
</I>&gt;&gt;<i> <A HREF="https://github.com/dlitz/**pycrypto">https://github.com/dlitz/**pycrypto</A> &lt;<A HREF="https://github.com/dlitz/pycrypto">https://github.com/dlitz/pycrypto</A>&gt;master branch?  And export my keys with
</I>&gt;&gt;<i> the new protection scheme?  And consequently matching importKey().
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> It would be super nice if we could add **kwargs for iteration_count and
</I>&gt;&gt;<i> salt_size to export() but beggars can't be choosers :)  It seems a simple
</I>&gt;&gt;<i> enough change and looks like importKey() reads those fields in, I'd do it
</I>&gt;&gt;<i> myself but would like any thoughts/opinions?
</I>&gt;&gt;<i>
</I>&gt;<i>
</I>&gt;<i> Hi Kurt,
</I>&gt;<i>
</I>&gt;<i> The exportKey API should be considered experimental at this point.  There
</I>&gt;<i> are things about it that don't really make sense (e.g. the `pkcs=1`
</I>&gt;<i> parameter, which doesn't make any sense if you want to expoer in OpenPGP
</I>&gt;<i> format, for example).  Realistically, it should probably be removed from
</I>&gt;<i> Crypto.PublicKey and placed into Crypto.IO, but I'm not sure of exactly
</I>&gt;<i> when that will happen.
</I>&gt;<i>
</I>&gt;<i> Cheers,
</I>&gt;<i> - Dwayne
</I>&gt;<i>
</I>&gt;<i>
</I>&gt;<i> --
</I>&gt;<i> Dwayne C. Litzenberger &lt;<A HREF="http://lists.dlitz.net/cgi-bin/mailman/listinfo/pycrypto">dlitz at dlitz.net</A>&gt;
</I>&gt;<i>  OpenPGP: 19E1 1FE8 B3CF F273 ED17  4A24 928C EC13 39C2 5CF7
</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&lt;http://lists.dlitz.net/cgi-bin/mailman/listinfo/pycrypto">http://lists.dlitz.net/cgi-**bin/mailman/listinfo/pycrypto&lt;http://lists.dlitz.net/cgi-bin/mailman/listinfo/pycrypto</A>&gt;
</I>&gt;<i>
</I>-------------- next part --------------
An HTML attachment was scrubbed...
URL: &lt;<A HREF="http://lists.dlitz.net/pipermail/pycrypto/attachments/20130930/9e1919b9/attachment.html">http://lists.dlitz.net/pipermail/pycrypto/attachments/20130930/9e1919b9/attachment.html</A>&gt;
</PRE>

<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="000697.html">[pycrypto] RSA exportKey() changes set in stone for 2.7?
</A></li>
	<LI>Next message: <A HREF="000689.html">[pycrypto] Crypto question
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#698">[ date ]</a>
              <a href="thread.html#698">[ thread ]</a>
              <a href="subject.html#698">[ subject ]</a>
              <a href="author.html#698">[ 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>