diff options
Diffstat (limited to 'pipermail/pycrypto/2009q1/000066.html')
-rw-r--r-- | pipermail/pycrypto/2009q1/000066.html | 135 |
1 files changed, 135 insertions, 0 deletions
diff --git a/pipermail/pycrypto/2009q1/000066.html b/pipermail/pycrypto/2009q1/000066.html new file mode 100644 index 0000000..5dfa741 --- /dev/null +++ b/pipermail/pycrypto/2009q1/000066.html @@ -0,0 +1,135 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> + <HEAD> + <TITLE> [pycrypto] PyCrypto AND Crypt_RSA integration + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:pycrypto%40lists.dlitz.net?Subject=%5Bpycrypto%5D%20PyCrypto%20AND%20Crypt_RSA%20integration&In-Reply-To=3c5f192d0902090436r3e9c905n2edd78019033118%40mail.gmail.com"> + <META NAME="robots" CONTENT="index,nofollow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="000065.html"> + <LINK REL="Next" HREF="000067.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[pycrypto] PyCrypto AND Crypt_RSA integration</H1> + <B>Sergey Chernov</B> + <A HREF="mailto:pycrypto%40lists.dlitz.net?Subject=%5Bpycrypto%5D%20PyCrypto%20AND%20Crypt_RSA%20integration&In-Reply-To=3c5f192d0902090436r3e9c905n2edd78019033118%40mail.gmail.com" + TITLE="[pycrypto] PyCrypto AND Crypt_RSA integration">real.sergeych at gmail.com + </A><BR> + <I>Mon Feb 9 07:07:53 CST 2009</I> + <P><UL> + <LI>Previous message: <A HREF="000065.html">[pycrypto] PyCrypto AND Crypt_RSA integration +</A></li> + <LI>Next message: <A HREF="000067.html">[pycrypto] PyCrypto AND Crypt_RSA integration +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#66">[ date ]</a> + <a href="thread.html#66">[ thread ]</a> + <a href="subject.html#66">[ subject ]</a> + <a href="author.html#66">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>Some time ago I wrote RSA implementation inspired by pycripto, but +with some improvements, strictly conforming to RSAES-OAEP standard, +with proper padding and (ey generation speedup. It is practically +ready to public tests and I use it in one project. I wrote +correspondig part for php that works in the project, but it is not yet +well tested and is so far in pure php. That means not too fast, by +without server-side key generation it is fast enough for my needs. If +you are interested I can send you this staff. I intend to make it +public under LGPL. + + + + +09.02.2009, в 15:36, Mauricio Arozi <<A HREF="http://lists.dlitz.net/cgi-bin/mailman/listinfo/pycrypto">mauricioarozi at gmail.com</A>> +написал(а): + +><i> Am I helpless? +</I>><i> +</I>><i> On Sat, Feb 7, 2009 at 2:37 AM, Mauricio Arozi <<A HREF="http://lists.dlitz.net/cgi-bin/mailman/listinfo/pycrypto">mauricioarozi at gmail.com</A> +</I>><i> > wrote: +</I>><i> 'I'm trying to import/export keys from/to Crypt_RSA, using PyCrypto. ' +</I>><i> and +</I>><i> 'I've made some examples to find out why it's not working' +</I>><i> +</I>><i> I want to import/export keys directly from/to Crypt_RSA and +</I>><i> PyCrypto." I'm not able to use the same keys, so I can't verify +</I>><i> signatures, or encrypt/decrypt stuff from php to python and vice- +</I>><i> versa. I want to know how to do it, actually I only need a way to go +</I>><i> with php, I don't depend on Crypt_RSA, it was already there only. +</I>><i> +</I>><i> So in simple words, I only need to be able to encrypt/decrypt sign +</I>><i> and verify signs on php and python, simultaneously, if possible, +</I>><i> using RSA algo. +</I>><i> +</I>><i> On Fri, Feb 6, 2009 at 10:56 PM, Mads Kiilerich <<A HREF="http://lists.dlitz.net/cgi-bin/mailman/listinfo/pycrypto">mads at kiilerich.com</A>> +</I>><i> wrote: +</I>><i> Mauricio Arozi wrote, On 02/06/2009 07:53 PM: +</I>><i> Hello, +</I>><i> I'm trying to import/export keys from/to Crypt_RSA <<A HREF="http://pear.php.net/package/Crypt_RSA">http://pear.php.net/package/Crypt_RSA</A> +</I>><i> >, using PyCrypto <<A HREF="http://www.dlitz.net/software/pycrypto/">http://www.dlitz.net/software/pycrypto/</A>>. My +</I>><i> problem is that while using PyCrypto to generate both public and +</I>><i> private keys, the e(exponent?) is always the same. +</I>><i> +</I>><i> According to this site: <A HREF="http://pajhome.org.uk/crypt/rsa/rsa.html,">http://pajhome.org.uk/crypt/rsa/rsa.html,</A> +</I>><i> and yet others, the e(exponent?) is used for the public key, and d +</I>><i> for the private key. +</I>><i> +</I>><i> Yes, many implementations and applications of RSA uses a fixed +</I>><i> exponent - very often 65537 (F4). Usually that is a good decision +</I>><i> and no problem - perhaps except for interoperability. +</I>><i> +</I>><i> And yes, interoperability is often very hard when implementing +</I>><i> crypto stuff. IMHO an important criteria when selecting a crypto +</I>><i> library is having examples / proof of how it interoperates with +</I>><i> other implementations. +</I>><i> +</I>><i> It is not clear to me exactly what you are asking for, so I can't +</I>><i> answer that directly - I hope someone else can do that. +</I>><i> +</I>><i> /Mads +</I>><i> +</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</A> +</I>><i> +</I>><i> +</I>><i> +</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</A> +</I>-------------- next part -------------- +An HTML attachment was scrubbed... +URL: <A HREF="http://lists.dlitz.net/pipermail/pycrypto/attachments/20090209/1d2de4d5/attachment.htm">http://lists.dlitz.net/pipermail/pycrypto/attachments/20090209/1d2de4d5/attachment.htm</A> +</PRE> + + + + + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000065.html">[pycrypto] PyCrypto AND Crypt_RSA integration +</A></li> + <LI>Next message: <A HREF="000067.html">[pycrypto] PyCrypto AND Crypt_RSA integration +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#66">[ date ]</a> + <a href="thread.html#66">[ thread ]</a> + <a href="subject.html#66">[ subject ]</a> + <a href="author.html#66">[ 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> |