From jquinn at cs.oberlin.edu Tue May 6 16:30:17 2008 From: jquinn at cs.oberlin.edu (Jameson "Chema" Quinn) Date: Tue, 6 May 2008 08:30:17 -0600 Subject: [pyOpenSSL] Signature with authenticated attributes? Message-ID: Is it possible to use pyopenssl to create an ssl signature with authenticated attributes, as defined in rfc2315section 9.2, using pyopenssl? If not, does anyone know of any tool that can do this? I am making a signing service for the Sugar environment. One assumption of Sugar is that non-trusted applications can run, so the service needs to include in the signature a hash of the application that requested the signature. I need to use SSL-type signatures, and would prefer to use them as defined in rfc2315 rather than invent a proprietary temporary intermediate format of data-plus-requesting-app for signing. Thanks, Jameson -------------- next part -------------- An HTML attachment was scrubbed... URL: From rastejante at gmail.com Wed May 28 19:58:56 2008 From: rastejante at gmail.com (rastejante) Date: Wed, 28 May 2008 18:58:56 +0100 Subject: [pyOpenSSL] connection timeout Message-ID: Hi list, How can a set a timeout on the SSL connection? I already try it with settimeout() from socket object, but get OpenSSL.SSL.WantReadError. I also try it using the context set_timeout(), but seems to make no effect either. Tks in advance. From exarkun at divmod.com Wed May 28 22:52:22 2008 From: exarkun at divmod.com (Jean-Paul Calderone) Date: Wed, 28 May 2008 16:52:22 -0400 Subject: [pyOpenSSL] connection timeout In-Reply-To: Message-ID: <20080528205222.4714.1459802226.divmod.quotient.3095@ohm> On Wed, 28 May 2008 18:58:56 +0100, rastejante wrote: >Hi list, > >How can a set a timeout on the SSL connection? >I already try it with settimeout() from socket object, but get >OpenSSL.SSL.WantReadError. Isn't this what you wanted to happen? Jean-Paul