Skip Menu |
 

This queue is for tickets about the Net-SSLeay CPAN distribution.

Report information
The Basics
Id: 122616
Status: resolved
Priority: 0/
Queue: Net-SSLeay

People
Owner: MIKEM [...] cpan.org
Requestors: matt [...] altus.id.au
Cc:
AdminCc:

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



MIME-Version: 1.0
X-Spam-Status: No, score=-1.12 tagged_above=-99.9 required=10 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, SPF_NEUTRAL=0.779] autolearn=no
X-Mailer: Airmail (442)
X-Cpan.org: This message routed through the cpan.org mail forwarding service. Please use PAUSE pause.perl.org to configure your delivery settings.
X-Spam-Flag: NO
Content-Type: multipart/mixed; boundary="5979dc1c_2a2f3374_882f"
Message-ID: <etPan.5979dc1b.6936af58.882f [...] altus.id.au>
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
X-Spam-Score: -1.12
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id C05082402EF for <cpan-bug+net-ssleay [...] hipster.bestpractical.com>; Thu, 27 Jul 2017 08:32:46 -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 MoR25TPcD5gM for <cpan-bug+net-ssleay [...] hipster.bestpractical.com>; Thu, 27 Jul 2017 08:32:45 -0400 (EDT)
Received: from xx1.develooper.com (xx1.develooper.com [207.171.7.115]) by hipster.bestpractical.com (Postfix) with ESMTPS id 2E0D32400CE for <bug-net-ssleay [...] rt.cpan.org>; Thu, 27 Jul 2017 08:32:43 -0400 (EDT)
Received: from localhost (xx1.develooper.com [127.0.0.1]) by localhost (Postfix) with ESMTP id B0F3011E019 for <bug-net-ssleay [...] rt.cpan.org>; Thu, 27 Jul 2017 05:32:42 -0700 (PDT)
Received: from xx1.develooper.com (xx1.develooper.com [127.0.0.1]) by localhost (Postfix) with SMTP id C82CC11E061 for <bug-net-ssleay [...] rt.cpan.org>; Thu, 27 Jul 2017 05:32:40 -0700 (PDT)
Received: from simulant.altus.id.au (simulant.altus.id.au [139.162.10.103]) by xx1.develooper.com (Postfix) with ESMTP id DB8D811EAFF for <bug-net-ssleay [...] rt.cpan.org>; Thu, 27 Jul 2017 05:32:28 -0700 (PDT)
Received: from lister.altus.id.au.mail (2001-44b8-0241-1400-00e1-9c35-c718-bf6f.static.ipv6.internode.on.net [IPv6:2001:44b8:241:1400:e1:9c35:c718:bf6f]) by simulant.altus.id.au (Postfix) with ESMTPSA id 94F325407F for <bug-net-ssleay [...] rt.cpan.org>; Thu, 27 Jul 2017 21:57:10 +0930 (ACST)
Delivered-To: cpan-bug+net-ssleay [...] hipster.bestpractical.com
Subject: set_psk_client_callback patch
Return-Path: <matt [...] altus.id.au>
X-RT-Mail-Extension: net-ssleay
X-Original-To: cpan-bug+net-ssleay [...] hipster.bestpractical.com
X-PMX-Spam: Gauge=IIIIIIII, Probability=8%, Report=' HTML_70_90 0.1, HTML_NO_HTTP 0.1, BODYTEXTH_SIZE_10000_LESS 0, BODYTEXTP_SIZE_3000_LESS 0, BODYTEXTP_SIZE_400_LESS 0, BODY_SIZE_10000_PLUS 0, NO_CTA_URI_FOUND 0, NO_URI_FOUND 0, NO_URI_HTTPS 0, SPF_PASS 0, __ATTACHMENT_SIZE_0_10K 0, __CT 0, __CTYPE_HAS_BOUNDARY 0, __CTYPE_MULTIPART 0, __CTYPE_MULTIPART_MIXED 0, __HAS_ATTACHMENT 0, __HAS_ATTACHMENT1 0, __HAS_ATTACHMENT2 0, __HAS_FROM 0, __HAS_HTML 0, __HAS_MSGID 0, __HAS_X_MAILER 0, __HTML_TAG_DIV 0, __MIME_HTML 0, __MIME_TEXT_H 0, __MIME_TEXT_H1 0, __MIME_TEXT_H2 0, __MIME_TEXT_P 0, __MIME_TEXT_P1 0, __MIME_TEXT_P2 0, __MIME_VERSION 0, __SANE_MSGID 0, __STYLE_RATWARE_NEG 0, __STYLE_TAG 0, __SUBJ_ALPHA_END 0, __TAG_EXISTS_HTML 0, __TO_MALFORMED_2 0, __TO_NO_NAME 0, __zen.spamhaus.org_ERROR '
Date: Thu, 27 Jul 2017 21:57:07 +0930
X-Spam-Level:
X-Greylist: delayed 312 seconds by postgrey-1.34 at xx1.develooper.com; Thu, 27 Jul 2017 05:32:31 PDT
X-PMX-Version: 5.6.1.2065439, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2017.7.27.122116
To: bug-net-ssleay [...] rt.cpan.org
From: Matthew Altus <matt [...] altus.id.au>
X-RT-Interface: Email
Content-Length: 0
Content-Type: multipart/alternative; boundary="5979dc1c_110cff43_882f"
Content-Length: 0
content-type: text/plain; charset="utf-8"
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
X-RT-Original-Encoding: utf-8
Content-Length: 278
Download (untitled) / with headers
text/plain 278b
Hi, Here’s a patch that implements SSL_CTX_set_psk_client_callback() and SSL_set_psk_client_callback(). I’ve been using it with AnyEvent::MQTT and mosquitto and seems to work well. Tested with openssl 1.1.0e on ArchLinux and 1.0.2l on macOS. Thanks --  Matthew Altus
content-type: text/html; charset="utf-8"
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
X-RT-Original-Encoding: utf-8
Content-Length: 1897
Content-Type: application/octet-stream
Content-Disposition: attachment; filename="Net-SSLeay-1.81-PSK.patch"
Content-Transfer-Encoding: base64
Content-Length: 6967

Message body is not shown because sender requested not to inline it.

MIME-Version: 1.0
X-Cpan.org: This message routed through the cpan.org mail forwarding service. Please use PAUSE pause.perl.org to configure your delivery settings.
X-Spam-Flag: NO
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
content-type: text/plain; charset="utf-8"
X-Source-Sender: 135.35.96.58.static.exetel.com.au (zulu.localnet) [58.96.35.135]:51880
X-RT-Original-Encoding: utf-8
X-Spam-Score: -4.995
X-Source-Cap: bWlrZW07bWlrZW07Z2F0b3I0MTI5Lmhvc3RnYXRvci5jb20=
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id 2631B2401B1 for <cpan-bug+net-ssleay [...] hipster.bestpractical.com>; Mon, 31 Jul 2017 06:37:12 -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 9ERBT8ZV9Few for <cpan-bug+net-ssleay [...] hipster.bestpractical.com>; Mon, 31 Jul 2017 06:37:05 -0400 (EDT)
Received: from xx1.develooper.com (xx1.develooper.com [207.171.7.115]) by hipster.bestpractical.com (Postfix) with ESMTPS id 19A3B24001C for <bug-net-ssleay [...] rt.cpan.org>; Mon, 31 Jul 2017 06:37:05 -0400 (EDT)
Received: from localhost (xx1.develooper.com [127.0.0.1]) by localhost (Postfix) with ESMTP id 074E711EF84 for <bug-net-ssleay [...] rt.cpan.org>; Mon, 31 Jul 2017 03:37:03 -0700 (PDT)
Received: from xx1.develooper.com (xx1.develooper.com [127.0.0.1]) by localhost (Postfix) with SMTP id 1EB6811EF9C for <bug-net-ssleay [...] rt.cpan.org>; Mon, 31 Jul 2017 03:36:56 -0700 (PDT)
Received: from gateway20.websitewelcome.com (gateway20.websitewelcome.com [192.185.66.3]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by xx1.develooper.com (Postfix) with ESMTPS id 5D3BB11EF9E for <bug-net-ssleay [...] rt.cpan.org>; Mon, 31 Jul 2017 03:36:40 -0700 (PDT)
Received: from cm14.websitewelcome.com (cm14.websitewelcome.com [100.42.49.7]) by gateway20.websitewelcome.com (Postfix) with ESMTP id 16CAB400D4323 for <bug-net-ssleay [...] rt.cpan.org>; Mon, 31 Jul 2017 05:36:40 -0500 (CDT)
Received: from gator4129.hostgator.com ([192.185.4.141]) by cmsmtp with SMTP id c83WdADlJyM9yc83Wd0Scu; Mon, 31 Jul 2017 05:36:10 -0500
Received: from 135.35.96.58.static.exetel.com.au ([58.96.35.135]:51880 helo=zulu.localnet) by gator4129.hostgator.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.87) (envelope-from <mikem [...] airspayce.com>) id 1dc83z-003DyF-Ip for bug-Net-SSLeay [...] rt.cpan.org; Mon, 31 Jul 2017 05:36:39 -0500
Delivered-To: cpan-bug+net-ssleay [...] hipster.bestpractical.com
Subject: Re: [rt.cpan.org #122616] set_psk_client_callback patch
Date: Mon, 31 Jul 2017 20:36:37 +1000
X-PMX-Spam: Gauge=IIIIIIII, Probability=8%, Report=' HTML_00_01 0.05, HTML_00_10 0.05, BODYTEXTP_SIZE_3000_LESS 0, BODY_SIZE_1000_1099 0, BODY_SIZE_2000_LESS 0, BODY_SIZE_5000_LESS 0, BODY_SIZE_7000_LESS 0, CT_TEXT_PLAIN_UTF8_CAPS 0, INVALID_MSGID_NO_FQDN 0, IN_REP_TO 0, LEGITIMATE_SIGNS 0, MSG_THREAD 0, REFERENCES 0, SPF_NEUTRAL 0, URI_ENDS_IN_HTML 0, __ANY_URI 0, __BOUNCE_CHALLENGE_SUBJ 0, __BOUNCE_NDR_SUBJ_EXEMPT 0, __CP_URI_IN_BODY 0, __CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __FORWARDED_MSG 0, __FRAUD_ANTIABUSE 0, __HAS_FROM 0, __HAS_MSGID 0, __HTTPS_URI 0, __IN_REP_TO 0, __MIME_TEXT_ONLY 0, __MIME_TEXT_P 0, __MIME_TEXT_P1 0, __MIME_VERSION 0, __MULTIPLE_URI_TEXT 0, __NO_HTML_TAG_RAW 0, __REFERENCES 0, __SANE_MSGID 0, __SUBJ_ALPHA_END 0, __SUBJ_ALPHA_NEGATE 0, __TO_MALFORMED_2 0, __TO_NO_NAME 0, __URI_IN_BODY 0, __URI_NOT_IMG 0, __URI_NS , __URI_WITHOUT_PATH 0, __URI_WITH_PATH 0, __USER_AGENT 0, __blackholes.mail-abuse.org_TIMEOUT , __zen.spamhaus.org_ERROR '
X-Spam-Level:
X-PMX-Version: 5.6.1.2065439, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2017.7.31.102416
X-Bwhitelist: no
To: bug-Net-SSLeay [...] rt.cpan.org
Content-Transfer-Encoding: quoted-printable
X-Source:
X-Source-Args:
In-Reply-To: <rt-4.0.18-24596-1501158769-963.122616-4-0 [...] rt.cpan.org>
X-Spam-Status: No, score=-4.995 tagged_above=-99.9 required=10 tests=[AWL=0.126, BAYES_00=-1.9, FROM_OUR_RT=-4, SPF_NEUTRAL=0.779] autolearn=ham
X-Source-Dir:
X-RT-Interface: API
X-Local-Domain: yes
References: <RT-Ticket-122616 [...] rt.cpan.org> <etPan.5979dc1b.6936af58.882f [...] altus.id.au> <rt-4.0.18-24596-1501158769-963.122616-4-0 [...] rt.cpan.org>
Message-ID: <2256447.daEof2W7yq [...] zulu>
X-Source-Auth: mikem [...] airspayce.com
X-Antiabuse: This header was added to track abuse, please include it with any abuse report
X-Antiabuse: Primary Hostname - gator4129.hostgator.com
X-Antiabuse: Original Domain - rt.cpan.org
X-Antiabuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-Antiabuse: Sender Address Domain - airspayce.com
Organization: AirSpayce Pty Ltd
X-Source-Ip: 58.96.35.135
User-Agent: KMail/5.2.3 (Linux/4.10.0-28-generic; KDE/5.31.0; x86_64; ; )
Return-Path: <mikem [...] airspayce.com>
X-RT-Mail-Extension: net-ssleay
X-Original-To: cpan-bug+net-ssleay [...] hipster.bestpractical.com
X-Exim-ID: 1dc83z-003DyF-Ip
X-Email-Count: 2
From: Mike McCauley <mikem [...] airspayce.com>
RT-Message-ID: <rt-4.0.18-29015-1501497988-1988.122616-0-0 [...] rt.cpan.org>
Content-Length: 1013
Download (untitled) / with headers
text/plain 1013b
Thanks. your patch is now in SVN 499 and will be in the next release. Cheers. On Thursday, 27 July 2017 8:32:56 AM AEST you wrote: Show quoted text
> Thu Jul 27 08:32:48 2017: Request 122616 was acted upon. > Transaction: Ticket created by matt@altus.id.au > Queue: Net-SSLeay > Subject: set_psk_client_callback patch > Broken in: (no value) > Severity: (no value) > Owner: Nobody > Requestors: matt@altus.id.au > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=122616 > > > > Hi, > > Here’s a patch that implements SSL_CTX_set_psk_client_callback() > and SSL_set_psk_client_callback(). > > I’ve been using it with AnyEvent::MQTT and mosquitto and seems to work well. > > Tested with openssl 1.1.0e on ArchLinux and 1.0.2l on macOS. > > Thanks > -- > Matthew Altus
-- Mike McCauley VK4AMM mikem@airspayce.com Airspayce Pty Ltd 9 Bulbul Place Currumbin Waters QLD 4223 Australia http://www.airspayce.com Phone +61 7 5598-7474


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.