Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   Python (http://www.velocityreviews.com/forums/f43-python.html)
-   -   Library for pop over ssl? (http://www.velocityreviews.com/forums/t319622-library-for-pop-over-ssl.html)

Marco Herrn 07-13-2003 03:08 PM

Library for pop over ssl?
 
Hi, I know of poplib, which does what I need except that it doesn't
support SSL encryption. imaplib has SSL-support. But I want it with
pop3. Is there a library available that does this or do I have to
implement it myself?

Bye
Marco
--
Marco Herrn herrn@gmx.net
(GnuPG/PGP-signed and crypted mail preferred)
Key ID: 0x94620736


Jp Calderone 07-13-2003 07:38 PM

Re: Library for pop over ssl?
 
On Sun, Jul 13, 2003 at 03:08:53PM +0000, Marco Herrn wrote:
> Hi, I know of poplib, which does what I need except that it doesn't
> support SSL encryption. imaplib has SSL-support. But I want it with
> pop3. Is there a library available that does this or do I have to
> implement it myself?


http://www.twistedmatrix.com/

Jp

--
http://catandgirl.com/view.cgi?44


JanC 07-16-2003 02:02 AM

Re: Library for pop over ssl?
 
Marco Herrn <herrn@gmx.net> schreef:

> Hi, I know of poplib, which does what I need except that it doesn't
> support SSL encryption. imaplib has SSL-support. But I want it with
> pop3. Is there a library available that does this or do I have to
> implement it myself?


You can always use stunnel to SSL-ize a "normal" protocol...
<http://www.stunnel.org/>

--
JanC

"Be strict when sending and tolerant when receiving."
RFC 1958 - Architectural Principles of the Internet - section 3.9

Skip Montanaro 07-16-2003 02:56 AM

Re: Library for pop over ssl?
 

>> Hi, I know of poplib, which does what I need except that it doesn't
>> support SSL encryption. imaplib has SSL-support. But I want it with
>> pop3. Is there a library available that does this or do I have to
>> implement it myself?


JanC> You can always use stunnel to SSL-ize a "normal" protocol...
JanC> <http://www.stunnel.org/>

Doesn't stunnel only work for servers?

Skip


JanC 07-16-2003 03:13 AM

Re: Library for pop over ssl?
 
Skip Montanaro <skip@pobox.com> schreef:

> >> Hi, I know of poplib, which does what I need except that it
> >> doesn't support SSL encryption. imaplib has SSL-support. But I
> >> want it with pop3. Is there a library available that does this
> >> or do I have to implement it myself?

>
> JanC> You can always use stunnel to SSL-ize a "normal" protocol...
> JanC> <http://www.stunnel.org/>
>
> Doesn't stunnel only work for servers?


It works for both servers & clients.
I use it with Xnews (my newsreader) to access secure NNTP servers.

--
JanC

"Be strict when sending and tolerant when receiving."
RFC 1958 - Architectural Principles of the Internet - section 3.9

Donn Cave 07-16-2003 04:18 AM

Re: Library for pop over ssl?
 
Quoth JanC <usenet_spam@janc.invalid>:
| Marco Herrn <herrn@gmx.net> schreef:
|> Hi, I know of poplib, which does what I need except that it doesn't
|> support SSL encryption. imaplib has SSL-support. But I want it with
|> pop3. Is there a library available that does this or do I have to
|> implement it myself?
|
| You can always use stunnel to SSL-ize a "normal" protocol...
| <http://www.stunnel.org/>

You can also SSL-ize a protocol in Python. I'm surprised to read
that imaplib has SSL support, because I don't see it in the library
module searching by 'ssl' or 'SSL'. I've had to do it the Python way,
so to speak: subclass IMAP4, implement a fileobject-like object, etc.
This should be feasible for POP3 as well - a quick look suggests that
it might be enough to copy its __init__ and rewrite it. The fileobject
emulation is to get pop3.file.readline et al. to call sslobject.read.

Donn Cave, donn@drizzle.com




All times are GMT. The time now is 07:57 AM.

Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.


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