Public-key based authentication of clients

2019-06-06 Thread Jeremy Friesner
Hi All, I have a simple C++ client/server application, in which the clients use OpenSSL's PSK (Pre-Shared-Key) mechanism to log in to the server via TLS -- i.e. the client GUI prompts the user to enter a username and password, and when the client connects, it calls SSL_set_psk_client_callback()

Re: Strange OpenSSL error when my server accepts a new OpenSSL connection while existing ones are active

2013-10-09 Thread Jeremy Friesner
On Oct 9, 2013, at 10:59 PM, Viktor Dukhovni wrote: > A better solution is to not call SSL_pending() until the SSL > handshake completes. For now you should keep track of whether > SSL_accept() has completed for a given session, and refrain from > SSL_pending() until then. Agreed, but my code n

Re: Strange OpenSSL error when my server accepts a new OpenSSL connection while existing ones are active

2013-10-09 Thread Jeremy Friesner
Hi Viktor, On Oct 9, 2013, at 9:16 PM, Viktor Dukhovni wrote: > On Wed, Oct 09, 2013 at 07:54:34PM -0700, Jeremy Friesner wrote: > >> If you're interested in trying to reproduce the fault yourself, >> let me know and I can upload the code I'm testing with. &g

Re: Strange OpenSSL error when my server accepts a new OpenSSL connection while existing ones are active

2013-10-09 Thread Jeremy Friesner
Hi Elaine, No browser, just a client and server program I wrote myself (in C++) that I'm trying to upgrade to support SSL. (They both previously worked over vanilla TCP connections only, but I'm adding SSL transport as an option) For this test, both the client and server are running on my Mac