Fwd: [Zope3-Users] SFTP , SSL

Michael Kerrin michael.kerrin at openapp.biz
Thu Jun 22 11:08:50 EDT 2006


Hi,

On Thursday 22 June 2006 09:08, Daniel Meier wrote:
>
> ssl:
> ----
> for ssl you need pyopenssl, as stated.
> then make shure when you call you don't miss the 's':
>
> https://localhost:8443/
>
>
> sftp:
> -----
> for sftp you need pycrypto, as written in the zope.conf.
> for my 3.3 trunk version (which dated beginning of may '06),
> I had to uncomment the things inside these files:
>
> Zope3/src/zope/app/twisted/ftp/__init__.py
> Zope3/src/zope/app/twisted/ftp/configure.zcml
>
> but it seems that it is rather buggy for my part...
>
> questions:
> is there someone who knows the status of sftp implementation?
> I also have troubles with webdav, what is the status there?
SFTP has some serious error handling problems which meant I couldn't include 
it in the main realease but it was decieded to leave the code in there 
zope.app.twisted in order to prompt someone to fix it (me I guess) but that 
hasn't worked out at all, has this happended ages ago.

The good news on this front is that a fair amount of work has gone into 
Twisted in the mean time to improve the SFTP error handling so it should be a 
lot easier to fix the remaing problems with a newer version of Twisted.

I am currently have an ongoing side project to rewrite WebDAV support for 
zope, in order to get around some limitationsin the current implementation. 
This is nearly finsihed, and I will release it once I get the time.

> Am 17.06.2006 um 01:02 schrieb David Pratt:
> > I've had no problems on any platforms but you must be using the
> > twisted server which is default in any case.
> >
> > Regards,
> > David
> >
> > Andreas Reuleaux wrote:
> >> I just read Davids answer - interesting - and I am a bit confused:
> >> So HTTPS seems to be working now, supported and enabled? - Is this
> >> the
> >> official status for SSL now? Or is it just working on Mac OS X, is
> >> pyopenssl officially required - if so, then I think this should be
> >> stated somewhere in the release notes.
> >> I must admit it has been a while that I tried HTTPS (with no
> >> succes at
> >> that time) and the "(disabled for now because of error handling
> >> problems)" that I found in the release notes was just the explanation
> >> I found convincing at that time.
> >> -Andreas
> >>
> >> On Fri, Jun 16, 2006 at 06:53:02PM -0300, David Pratt wrote:
> >>> Hi Mike. Can you confirm you have pyopenssl-0.6 installed and
> >>> proper paths in your config. It should look like this in your
> >>> config if you are using the default files supplied.
> >>>
> >>> <sslserver>
> >>>    type HTTPS
> >>>    address 8443
> >>>    privatekeypath $CONFDIR/server.pem
> >>>    certificatepath $CONFDIR/server.pem
> >>> </sslserver>
> >>>
> >>> Just to let you know I am running on mac and everything is fine
> >>> for me. I am on OSX 10.3.
> >>>
> >>> Regards,
> >>> David
> >>>
> >>> Mike Emerick wrote:
> >>>>  I have been trying to get the SSL server and the SSH server
> >>>> running with Zope 3. When I uncomment ssh server in the
> >>>> zope.conf file I get the following.
> >>>>
> >>>> Traceback (most recent call last):
> >>>>  File "./runzope", line 48, in ?
> >>>>    run()
> >>>>  File "./runzope", line 44, in run
> >>>>    main(["-C", CONFIG_FILE] + sys.argv[1:])
> >>>>  File "/usr/local/Zope-3.2.1/lib/python/zope/app/twisted/
> >>>> main.py", line 74, in main
> >>>>    service = setup(load_options(args))
> >>>>  File "/usr/local/Zope-3.2.1/lib/python/zope/app/twisted/
> >>>> main.py", line 151, in setup
> >>>>    service = server.create(db)
> >>>>  File "/usr/local/Zope-3.2.1/lib/python/zope/app/twisted/
> >>>> server.py", line 204, in create
> >>>>    servertype = zapi.getUtility(IServerType, self.type)
> >>>>  File "/usr/local/Zope-3.2.1/lib/python/zope/component/
> >>>> __init__.py", line 257, in getUtility
> >>>>    raise ComponentLookupError(interface, name)
> >>>> zope.component.interfaces.ComponentLookupError: (<InterfaceClass
> >>>> zope.app.twisted.interfaces.IServerType>, 'SFTP')
> >>>>
> >>>>
> >>>> I have looked every all over for a solution.  I can confirm this
> >>>> on Suse Linux  10 and Mac OS 10.4 and 10.3. Has anyone seen
> >>>> this.   SSL gives a similar error just replace the SFTP with SSL.
> >>>>
> >>>>                                 Thanks,
> >>>>                                         Mike
> >
> > _______________________________________________
> > Zope3-users mailing list
> > Zope3-users at zope.org
> > http://mail.zope.org/mailman/listinfo/zope3-users
>
> Telefon: +41 44 586 68 86
> Skype: perse.engineering
>
>
>
> _______________________________________________
> Zope3-users mailing list
> Zope3-users at zope.org
> http://mail.zope.org/mailman/listinfo/zope3-users

-- 
Michael Kerrin

55 Fitzwilliam Sq.,
Dublin 2.

Tel: 087 688 3894


More information about the Zope3-users mailing list