[issue8998] add crypto routines to stdlib

2010-10-14 Thread geremy condra
geremy condra added the comment: > Besides there are already patches available which do add the > ciphers and hashs to pyOpenSSL, so the development could be > sped up by using those as references. I don't think that's the case. I admit that development on this has been v

[issue9003] urllib.request and http.client should allow certificate checking

2010-10-09 Thread geremy condra
geremy condra added the comment: Any chance on folding the HTTPSServer class into http.server? Geremy Condra -- ___ Python tracker <http://bugs.python.org/issue9

[issue1589] New SSL module doesn't seem to verify hostname against commonName in certificate

2010-09-29 Thread geremy condra
geremy condra added the comment: On Wed, Sep 29, 2010 at 11:34 AM, Antoine Pitrou wrote: > > Antoine Pitrou added the comment: > >> Here is a letter that I just received, in my role as a developer of >> Tahoe-LAFS, from a concerned coder who doesn't know much about

[issue9922] subprocess.getstatusoutput and bytes

2010-09-22 Thread geremy condra
New submission from geremy condra : It looks like subprocess.getstatusoutput on 3.2a1 tries to coerce to UTF-8, which fails when dealing with bytes. This demonstrates the behavior nearly all the time for me on Ubuntu 10.04: >>> import subprocess >>> subprocess.getstatus

[issue8998] add crypto routines to stdlib

2010-09-21 Thread geremy condra
geremy condra added the comment: >>> The pyOpenSSL port to Python3 is closing in on completion. Jean-Paul >>> is planning for an alpha release next month. >> >> Do you know if he's looking for help with that? There's been some talk of >> a porting s

[issue8998] add crypto routines to stdlib

2010-09-21 Thread geremy condra
geremy condra added the comment: On Tue, Sep 21, 2010 at 11:29 AM, Marc-Andre Lemburg wrote: > > Marc-Andre Lemburg added the comment: > > geremy condra wrote: >> >>>>> I'll ask Jean-Paul and AB Strakt if they are up to contributing >>>>&g

[issue8998] add crypto routines to stdlib

2010-09-21 Thread geremy condra
geremy condra added the comment: On Tue, Sep 21, 2010 at 10:33 AM, Marc-Andre Lemburg wrote: > > Marc-Andre Lemburg added the comment: > > geremy condra wrote: >> >> geremy condra added the comment: >> >> On Tue, Sep 21, 2010 at 4:04 AM, Marc-Andre L

[issue8998] add crypto routines to stdlib

2010-09-21 Thread geremy condra
geremy condra added the comment: On Tue, Sep 21, 2010 at 4:04 AM, Marc-Andre Lemburg wrote: > > Marc-Andre Lemburg added the comment: > > Antoine Pitrou wrote: >> >> Antoine Pitrou added the comment: >> >>> pyOpenSSL is stable, in production use and

[issue8998] add crypto routines to stdlib

2010-09-20 Thread geremy condra
geremy condra added the comment: On Mon, Sep 20, 2010 at 3:44 PM, lorph wrote: > > lorph added the comment: > >> Do you think that if OpenSSL provided its own implementation of strlen(), >> every text that mentions strlen() needs to acknowledge OpenSSL? Do you >>

[issue8998] add crypto routines to stdlib

2010-09-18 Thread geremy condra
geremy condra added the comment: On Fri, Sep 17, 2010 at 8:55 PM, Gregory P. Smith wrote: > > Gregory P. Smith added the comment: > > libtomcrypt is a _great_ library.  That is what hashlib uses for the hash > algorithms when OpenSSL is not available. > > But the _prim

[issue8998] add crypto routines to stdlib

2010-08-26 Thread geremy condra
geremy condra added the comment: On Thu, Aug 26, 2010 at 3:49 PM, Éric Araujo wrote: > > Éric Araujo added the comment: > > Geremy, could you kindly give a status update? Thanks The block and stream cipher parts of the library (RC4, AES, and DES) are functionally complete. I&#

[issue853507] socket.recv() raises MemoryError exception (WindowsXP ONLY)

2010-08-18 Thread geremy condra
geremy condra added the comment: I can sporadically reproduce this on Linux as well, repeatedly passing values larger than 2**20 to recv. Doesn't seem to happen with regularity, but I have better than 11Gb of unused RAM on hand. Is there a good reason for this? -- nosy: +deb

[issue9285] A decorator for cProfile and profile modules

2010-07-17 Thread geremy condra
Changes by geremy condra : -- nosy: +debatem1 ___ Python tracker <http://bugs.python.org/issue9285> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue8998] add crypto routines to stdlib

2010-06-29 Thread geremy condra
geremy condra added the comment: On Tue, Jun 29, 2010 at 2:25 PM, Marc-Andre Lemburg wrote: > > Marc-Andre Lemburg added the comment: > > Antoine Pitrou wrote: >> >> Antoine Pitrou added the comment: >> >>> If we are to require OpenSSL or some other

[issue9119] Python download page needs to mention crypto code in Windows installer

2010-06-29 Thread geremy condra
Changes by geremy condra : -- nosy: +debatem1 ___ Python tracker <http://bugs.python.org/issue9119> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue8998] add crypto routines to stdlib

2010-06-19 Thread geremy condra
geremy condra added the comment: On Sat, Jun 19, 2010 at 7:52 AM, Antoine Pitrou wrote: > > Antoine Pitrou added the comment: > > Le samedi 19 juin 2010 à 00:55 +0000, geremy condra a écrit : >> geremy condra added the comment: >> >> On Fri, Jun 18, 2010 at 6:05

[issue8998] add crypto routines to stdlib

2010-06-18 Thread geremy condra
geremy condra added the comment: On Fri, Jun 18, 2010 at 6:05 AM, Antoine Pitrou wrote: > > Antoine Pitrou added the comment: > >> Great, I'm thinking more-or-less the API proposed in PEP 272- the >> exception I'm thinking of is that 'strings' should b

[issue8998] add crypto routines to stdlib

2010-06-18 Thread geremy condra
geremy condra added the comment: On Fri, Jun 18, 2010 at 5:37 AM, Antoine Pitrou wrote: > > Antoine Pitrou added the comment: > >> I would suggest that we focus on defining and building a >> lower-level interface along the lines of the PEP noted earlier, >> inte

[issue8998] add crypto routines to stdlib

2010-06-18 Thread geremy condra
geremy condra added the comment: On Fri, Jun 18, 2010 at 4:53 AM, Antoine Pitrou wrote: > > Antoine Pitrou added the comment: > >> Well, like I say, I'm willing to contribute what time and ability >> allow. Are you thinking of adding a comprehensive wrapper to the

[issue8998] add crypto routines to stdlib

2010-06-18 Thread geremy condra
geremy condra added the comment: On Fri, Jun 18, 2010 at 3:28 AM, Antoine Pitrou wrote: > > Antoine Pitrou added the comment: > >> > I'd point out that the "ssl" module itself seems to have evolved from a >> > trivial wrapper API (in the 2.5 docs

[issue8998] add crypto routines to stdlib

2010-06-18 Thread geremy condra
geremy condra added the comment: On Fri, Jun 18, 2010 at 3:09 AM, Antoine Pitrou wrote: > > Antoine Pitrou added the comment: > > Le vendredi 18 juin 2010 à 06:46 +0000, geremy condra a écrit : >> geremy condra added the comment: >> >> On Fri, Jun 18, 2010 a

[issue8998] add crypto routines to stdlib

2010-06-17 Thread geremy condra
geremy condra added the comment: On Fri, Jun 18, 2010 at 2:39 AM, Daniel Urban wrote: > > Daniel Urban added the comment: > >>  * When I have thought about Python crypto in the stdlib, I've considered >> modeling it after hashlib, so you would get ciphe

[issue8998] add crypto routines to stdlib

2010-06-17 Thread geremy condra
geremy condra added the comment: On Fri, Jun 18, 2010 at 2:19 AM, Martin v. Löwis wrote: > > Martin v. Löwis added the comment: > >>>   * I'd prefer if the crypto API didn't become OpenSSL specific (like the >>> SSL one is), which would theoreti

[issue8998] add crypto routines to stdlib

2010-06-17 Thread geremy condra
geremy condra added the comment: On Thu, Jun 17, 2010 at 8:01 PM, Heikki Toivonen wrote: > > Heikki Toivonen added the comment: > > More or less random opinions on things presented before: > >  * I prefer having secure defaults to over documentation, because, well, &

[issue1589] New SSL module doesn't seem to verify hostname against commonName in certificate

2010-06-15 Thread geremy condra
Changes by geremy condra : -- nosy: +debatem1 ___ Python tracker <http://bugs.python.org/issue1589> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue9003] urllib about https behavior

2010-06-15 Thread geremy condra
New submission from geremy condra : urllib currently blindly accepts bad certificates when passed an https address. This behavior, clearly not desirable for many users, is also not documented. I propose one of two changes: 1) add mechanisms for enforcing correct behavior to urllib, or 2

[issue8998] add crypto routines to stdlib

2010-06-15 Thread geremy condra
geremy condra added the comment: On Tue, Jun 15, 2010 at 9:49 AM, Antoine Pitrou wrote: > > Antoine Pitrou added the comment: > > Le mardi 15 juin 2010 à 14:49 +0000, geremy condra a écrit : >> The goals of the library are simplicity and ease of use. I've >> freq

[issue8998] add crypto routines to stdlib

2010-06-15 Thread geremy condra
geremy condra added the comment: On Tue, Jun 15, 2010 at 9:21 AM, Antoine Pitrou wrote: > > Antoine Pitrou added the comment: > > I've taken a quick look at the source tree (there doesn't seem to be any > separate docs) and here is my opinion: > - the evp.py API

[issue8998] add crypto routines to stdlib

2010-06-14 Thread geremy condra
geremy condra added the comment: On Mon, Jun 14, 2010 at 6:51 PM, Antoine Pitrou wrote: > > Antoine Pitrou added the comment: > > Le lundi 14 juin 2010 à 22:48 +0000, geremy condra a écrit : >> >> I have no idea, and as I said earlier in the mailing list, I'm >

[issue8998] add crypto routines to stdlib

2010-06-14 Thread geremy condra
geremy condra added the comment: On Mon, Jun 14, 2010 at 3:37 PM, Martin v. Löwis wrote: > > Martin v. Löwis added the comment: > >> Evpy and M2Crypto have very different goals. M2Crypto seeks to be a >> complete wrapper for OpenSSL, which we don't, and also uses S

[issue8998] add encryption/decryption/signature/verification routines to stdlib

2010-06-14 Thread geremy condra
geremy condra added the comment: On Mon, Jun 14, 2010 at 3:09 PM, Martin v. Löwis wrote: > > Martin v. Löwis added the comment: > > Assuming you are willing to contribute evpy (and have the rights to do so, > i.e. all of the code is truly yours): what's the user acceptan

[issue8998] add encryption/decryption/signature/verification routines to stdlib

2010-06-14 Thread geremy condra
geremy condra added the comment: apologies, forgot the link: [0] http://gitorious.org/evpy -- ___ Python tracker <http://bugs.python.org/issue8998> ___ ___ Pytho

[issue8998] add encryption/decryption/signature/verification routines to stdlib

2010-06-14 Thread geremy condra
New submission from geremy condra : Python's hashlib and ssl modules currently leverage OpenSSL to provide developers with access to cryptographic hash and TLS routines, but encryption/decryption and signature/verification support are still missing. I propose the addition of an easy-t

[issue8986] math.erfc OverflowError

2010-06-13 Thread geremy condra
geremy condra added the comment: On Sun, Jun 13, 2010 at 5:47 AM, Mark Dickinson wrote: > > Mark Dickinson added the comment: > > Geremy, can you verify that the attached patch fixes the problem?  If so, > I'll add tests and commit. I've only tested it from 2**16

[issue8986] math.erfc OverflowError

2010-06-13 Thread geremy condra
geremy condra added the comment: On Sun, Jun 13, 2010 at 5:14 AM, Mark Dickinson wrote: > > Mark Dickinson added the comment: > > Thanks for the report.  What platform are you on?  I'm not seeing this > behaviour on OS X: I'm on Ubuntu 10.04 64-bit. Geremy Con

[issue8986] math.erfc OverflowError

2010-06-12 Thread geremy condra
New submission from geremy condra : In Python3.2, calling math.erfc with a value in [-27.2, -30) raises an OverflowError: math range error. This is inconsistent with the erfc function from scipy (scipy.special.erfc) as well as with the C99 function by the same name, both of which return 2. I

[issue6897] imaplib fails during login

2009-09-12 Thread geremy condra
New submission from geremy condra : Getting the following issue- this code: #! /usr/bin/env python3 import getpass, imaplib M = imaplib.IMAP4_SSL("imap.gmail.com") M.login(, ) M.select() typ, data = M.search(None, 'ALL') for num in data[0].split(): typ, data = M

[issue5560] help() no longer reports module docstrings

2009-03-24 Thread geremy condra
New submission from geremy condra : In 2.x, help(module) reported the docstrings from name when invoked. In 3.0, it simply reports the location of that module. pydoc3.0 invoked at the commandline behaves identically. -- components: Library (Lib) messages: 84143 nosy: debatem1 severity