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