From: adam connor
Subject: Non-Commercial Lisp Https (or SSL) Libraries?
Date: 
Message-ID: <5ac3jv8ch2gm0aop9huctm4dd10vtb3cpj@4ax.com>
Are there any good, commonly used https libraries in Lisp? Are any of
them non-commercial?

It would be even better if they worked natively in Emacs...

Thanks in advance; hope it isn't a dumb question.

From: Thomas F. Burdick
Subject: Re: Non-Commercial Lisp Https (or SSL) Libraries?
Date: 
Message-ID: <xcvvftac4yt.fsf@famine.OCF.Berkeley.EDU>
adam connor <··········@mail.com> writes:

> Are there any good, commonly used https libraries in Lisp? Are any of
> them non-commercial?
> 
> It would be even better if they worked natively in Emacs...
> 
> Thanks in advance; hope it isn't a dumb question.

This is a great time to use Apache.  Use a normal Lisp web server, and
sit behind an Apache proxy (on the same machine): voil�, instant https
connection.

This would even work with the Emacs web server (which, BTW, was
written primarily as a joke -- seriously consider using a real lisp,
like CMUCL or CLISP or Allegro or ...)

-- 
           /|_     .-----------------------.                        
         ,'  .\  / | No to Imperialist war |                        
     ,--'    _,'   | Wage class war!       |                        
    /       /      `-----------------------'                        
   (   -.  |                               
   |     ) |                               
  (`-.  '--.)                              
   `. )----'                               
From: Daniel Barlow
Subject: Re: Non-Commercial Lisp Https (or SSL) Libraries?
Date: 
Message-ID: <87he4t5gtm.fsf@noetbook.telent.net>
···@famine.OCF.Berkeley.EDU (Thomas F. Burdick) writes:

> adam connor <··········@mail.com> writes:
>
>> Are there any good, commonly used https libraries in Lisp? Are any of
>> them non-commercial?

> This is a great time to use Apache.  Use a normal Lisp web server, and
> sit behind an Apache proxy (on the same machine): voil�, instant https
> connection.

That certainly works for me (using SBCL and Araneida, though the same
principle applies to allegroserve or mod_lisp or whatever else)

It may be worth pointing out that it doesn't completely let you off
the hook for ssl sockets, though: you might want to write a client, or
an SSLized something-else-server (IMAP, telnet, news, etc).  

In these circumstances you could perhaps kludge something up with
stunnel; Common Lisp programmers would probably consider this a bit
tacky, but I suspect it would fit in quite well with the emacs
'network connections are processes' thing.  That said, the only time I
really involve myself in emacs is to work out what ilisp is doing, so
please don't assume my idea of elisp style is typical.


-dan

-- 

   http://www.cliki.net/ - Link farm for free CL-on-Unix resources 
From: adam connor
Subject: Re: Non-Commercial Lisp Https (or SSL) Libraries?
Date: 
Message-ID: <pdp5jvscg0b8mc5uubc78945lnrj0squlr@4ax.com>
Daniel Barlow <···@telent.net> said:

>···@famine.OCF.Berkeley.EDU (Thomas F. Burdick) writes:
>
>> adam connor <··········@mail.com> writes:
>>
>>> Are there any good, commonly used https libraries in Lisp? Are any of
>>> them non-commercial?
>
>> This is a great time to use Apache.  Use a normal Lisp web server, and
>> sit behind an Apache proxy (on the same machine): voil�, instant https
>> connection.
>
>That certainly works for me (using SBCL and Araneida, though the same
>principle applies to allegroserve or mod_lisp or whatever else)
>
>It may be worth pointing out that it doesn't completely let you off
>the hook for ssl sockets, though: you might want to write a client, or
>an SSLized something-else-server (IMAP, telnet, news, etc).  

Yes, unfortunately that is the case. I need to make an HTTPS
connection from an editor, as a client, and it has to work in Windows
to boot.

Thanks for the advice, though.
From: Brian Palmer
Subject: Re: Non-Commercial Lisp Https (or SSL) Libraries?
Date: 
Message-ID: <0wh7k5ohdwf.fsf@rescomp.Stanford.EDU>
adam connor <··········@mail.com> writes:
 
> Yes, unfortunately that is the case. I need to make an HTTPS
> connection from an editor, as a client, and it has to work in Windows
> to boot.

Note that xemacs has some support for dynamically loadable libraries,
so it's possible that you could leverage the openssl libraries. 

-- 
If you want divine justice, die.
                  -- Nick Seldon 
From: Aleksandr Skobelev
Subject: Re: Non-Commercial Lisp Https (or SSL) Libraries?
Date: 
Message-ID: <87isp8noxr.fsf@list.ru>
Brian Palmer <·······@rescomp.Stanford.EDU> writes:

> adam connor <··········@mail.com> writes:
>  
>> Yes, unfortunately that is the case. I need to make an HTTPS
>> connection from an editor, as a client, and it has to work in Windows
>> to boot.
>
> Note that xemacs has some support for dynamically loadable libraries,
> so it's possible that you could leverage the openssl libraries. 

Well, it might be much simplier to use CURL library in this case.
From: adam connor
Subject: Re: Non-Commercial Lisp Https (or SSL) Libraries?
Date: 
Message-ID: <i5q7jvsuq5sv339uks6gu34m4mqbsto41l@4ax.com>
Aleksandr Skobelev <···········@list.ru> said:

>Brian Palmer <·······@rescomp.Stanford.EDU> writes:
>
>> adam connor <··········@mail.com> writes:
>>  
>>> Yes, unfortunately that is the case. I need to make an HTTPS
>>> connection from an editor, as a client, and it has to work in Windows
>>> to boot.
>>
>> Note that xemacs has some support for dynamically loadable libraries,
>> so it's possible that you could leverage the openssl libraries. 
>
>Well, it might be much simplier to use CURL library in this case.

Based on research so far it looks much simpler to use jEdit and Java
(sigh). Lisp is neat but the library situation is not so great.

Thanks all.
From: Matthew Danish
Subject: Re: Non-Commercial Lisp Https (or SSL) Libraries?
Date: 
Message-ID: <20030808084507.GK17568@lain.mapcar.org>
On Wed, Aug 06, 2003 at 08:56:40PM -0500, adam connor wrote:
> Are there any good, commonly used https libraries in Lisp? Are any of
> them non-commercial?

Maybe you can do something with CL-SSL: http://www.dataheaven.de/

> It would be even better if they worked natively in Emacs...

Better to ask in an Emacs newsgroup, then.  Emacs Lisp is its own
separate language.

-- 
; Matthew Danish <·······@andrew.cmu.edu>
; OpenPGP public key: C24B6010 on keyring.debian.org
; Signed or encrypted mail welcome.
; "There is no dark side of the moon really; matter of fact, it's all dark."