Bill Janssen <[EMAIL PROTECTED]> added the comment:
As you point out, the other classes should be fixed. The old client-side
protocol was never very well thought out, IMHO. Continuing to propagate it
would be a mistake.
Bill
On Wed, Mar 19, 2008 at 12:22 PM, Giampaolo Rodola' <[EMAIL PROTECTED]>
wrote:
>
> Giampaolo Rodola' <[EMAIL PROTECTED]> added the comment:
> > Another thing to look at is what the useful arguments are to pass in
> > for TLS usage over FTP. If, for example, the client needs to validate
> > the server's certificate or identity, provision should be made for a
> > file of cacerts to be passed to the FTP_TLS instance. Passing in a
> > keyfile and certfile is usually only necessary when the client uses
> > them to identify itself to the server.
>
> I drew from the SSL classes defined in httplib, imaplib, poplib, smtplib
> and urllib modules which accept a keyfile and a certfile in the class
> constructor so I thought it was the "right way". Is there a reason why
> the FTP protocol should behave differently as you have described?
>
Added file: http://bugs.python.org/file9775/unnamed
__________________________________
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue2054>
__________________________________
As you point out, the other classes should be fixed. The old client-side
protocol was never very well thought out, IMHO. Continuing to propagate
it would be a mistake.<div><br></div><div>Bill<br><br><div class="gmail_quote">
On Wed, Mar 19, 2008 at 12:22 PM, Giampaolo Rodola' <<a
href="mailto:[EMAIL PROTECTED]">[EMAIL PROTECTED]</a>> wrote:<br><blockquote
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc
solid;padding-left:1ex;">
<br>
Giampaolo Rodola' <<a href="mailto:[EMAIL PROTECTED]">[EMAIL
PROTECTED]</a>> added the comment:<br>
<div class="Ih2E3d">> Another thing to look at is what the useful arguments
are to pass in<br></div><div class="Ih2E3d">
> for TLS usage over FTP. If, for example, the client needs to
validate<br>
> the server's certificate or identity, provision should be made for
a<br>
> file of cacerts to be passed to the FTP_TLS instance. Passing in
a<br>
> keyfile and certfile is usually only necessary when the client uses<br>
> them to identify itself to the server.<br>
<br>
</div>I drew from the SSL classes defined in httplib, imaplib, poplib,
smtplib<br>
and urllib modules which accept a keyfile and a certfile in the class<br>
constructor so I thought it was the "right way". Is there a reason
why<br>
the FTP protocol should behave differently as you have
described?<br></blockquote></div><br></div>
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com