On Sun, Dec 12, 2010 at 12:12 PM, S Mathias <smathias1...@yahoo.com> wrote:
> i can use "natively" openssl for anonymous chat: > > # Chat: > # server side: > openssl req -x509 -nodes -days 365 -newkey rsa:8192 -keyout mycert.pem -out > mycert.pem > > # server side - generate a self-signed cert. > openssl s_server -accept 52310 -cert mycert.pem > > # client side - "127.0.0.1" is the IP of the server > openssl s_client -connect 127.0.0.1:52310 > > > 1) but how can i set it to require username/password? it would be a great > chat tool > 2) how can i transfer files with openssl? [again: with username/password?] > > I believe OpenSSL has SRP tucked away in HEAD. Look at Thomas Wu's code in the ticketing system. If you move to SRP, you will no longer require a certificate. And the chat will no longer be 'anonymous'. Jeff