Skip Menu |
 

This queue is for tickets about the IO-Socket-SSL CPAN distribution.

Report information
The Basics
Id: 67799
Status: resolved
Priority: 0/
Queue: IO-Socket-SSL

People
Owner: Nobody in particular
Requestors: james [...] riverstyx.net
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



From james [...] riverstyx.net Wed Apr 27 15: 23:07 2011
MIME-Version: 1.0
X-Spam-Status: No, score=-6.899 tagged_above=-99.9 required=10 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, SPF_FAIL=0.001] autolearn=ham
X-Mailer: Evolution 2.28.3
X-Spam-Flag: NO
Message-ID: <1303932177.2094.30.camel [...] james-desktop>
content-type: text/plain; charset="utf-8"
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
X-Virus-Scanned: Debian amavisd-new at sentrypayments.com
X-Spam-Score: -6.899
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id 6B90E61E006 for <cpan-bug+IO-Socket-SSL [...] hipster.bestpractical.com>; Wed, 27 Apr 2011 15:23:07 -0400 (EDT)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CPwhtrBA+on9 for <cpan-bug+IO-Socket-SSL [...] hipster.bestpractical.com>; Wed, 27 Apr 2011 15:23:05 -0400 (EDT)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id 481C3240200 for <bug-IO-Socket-SSL [...] rt.cpan.org>; Wed, 27 Apr 2011 15:23:04 -0400 (EDT)
Received: (qmail 8288 invoked by uid 103); 27 Apr 2011 19:23:04 -0000
Received: from x16.dev (10.0.100.26) by x1.dev with QMQP; 27 Apr 2011 19:23:04 -0000
Received: from mail.sentrypayments.com (HELO mail.sentrypayments.com) (64.40.98.106) by 16.mx.develooper.com (qpsmtpd/0.80/v0.80-19-gf52d165) with ESMTP; Wed, 27 Apr 2011 12:23:02 -0700
Received: from localhost (localhost [127.0.0.1]) by mail.sentrypayments.com (Postfix) with ESMTP id 7A27CCFF0B for <bug-IO-Socket-SSL [...] rt.cpan.org>; Wed, 27 Apr 2011 12:22:59 -0700 (PDT)
Received: from mail.sentrypayments.com ([64.40.98.106]) by localhost (mail.sentrypayments.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wd5Gjo2GwhTr for <bug-IO-Socket-SSL [...] rt.cpan.org>; Wed, 27 Apr 2011 12:22:57 -0700 (PDT)
Received: from [172.16.200.29] (unknown [204.244.97.66]) by mail.sentrypayments.com (Postfix) with ESMTPSA id 921FACFEFE for <bug-IO-Socket-SSL [...] rt.cpan.org>; Wed, 27 Apr 2011 12:22:57 -0700 (PDT)
Delivered-To: cpan-bug+IO-Socket-SSL [...] hipster.bestpractical.com
Subject: Add support for setting SSL-CTX-Options
Return-Path: <james [...] riverstyx.net>
X-RT-Mail-Extension: io-socket-ssl
X-Original-To: cpan-bug+IO-Socket-SSL [...] hipster.bestpractical.com
X-Spam-Check-BY: 16.mx.develooper.com
Date: Wed, 27 Apr 2011 12:22:57 -0700
X-Spam-Level:
To: bug-IO-Socket-SSL [...] rt.cpan.org
Content-Transfer-Encoding: 7bit
From: James Zwiers <james [...] riverstyx.net>
X-RT-Original-Encoding: us-ascii
Content-Length: 800
Download (untitled) / with headers
text/plain 800b
Greetings, This is a request to add a specific feature. When the constructor for IO::Socket::SSL::SSL_Context is called it internally sets a few options into the SSL context. However, there are many others that are also available that are useful (for example, the context options that outright deny certain SSL-modes, SSLv2 for example). I wanted to ask if it was possible to make it such that the arguments hash that is ultimately passed into IO::Socket::SSL::SSL_Context->new could also contain a value that can be passed into Net::SSLeay::CTX_set_options. I don't have a specific patch in mind for this, I'm working around it in another way right now. It just struck me as something that would be useful, and not overly challenging to add. Thanks, James Zwiers Developer Riverstyx Internet
MIME-Version: 1.0
In-Reply-To: <1303932177.2094.30.camel [...] james-desktop>
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
References: <1303932177.2094.30.camel [...] james-desktop>
Content-Type: text/plain; charset="UTF-8"
Message-ID: <rt-3.8.HEAD-18807-1305037165-1851.67799-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 474
Download (untitled) / with headers
text/plain 474b
Show quoted text
> I wanted to ask if it was possible to make it such that the arguments > hash that is ultimately passed into IO::Socket::SSL::SSL_Context->new > could also contain a value that can be passed into > Net::SSLeay::CTX_set_options.
Hi, I've just added to 1.42 an option SSL_create_ctx_callback. Using this option you can do anything with the context after it got created and the default options were set. See documentation for an example. Hope this helps, Regards, Steffen


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.