Skip Menu |
 

This queue is for tickets about the Crypt-X509 CPAN distribution.

Report information
The Basics
Id: 66538
Status: open
Priority: 0/
Queue: Crypt-X509

People
Owner: alexander.w.jung [...] gmail.com
Requestors: dkg [...] fifthhorseman.net
Cc:
AdminCc:

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



From dkg [...] fifthhorseman.net Fri Mar 11 01: 18:47 2011
MIME-Version: 1.0
X-Spam-Status: No, score=-7.34 tagged_above=-99.9 required=10 tests=[AWL=-0.440, BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5] autolearn=ham
X-Spam-Flag: NO
X-Virus-Checked: Checked by ClamAV on 16.mx.develooper.com
Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enig4B5702BA9B027BEB53FA4D5B"
Message-ID: <4D79BEB7.1010805 [...] fifthhorseman.net>
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
X-Spam-Score: -7.34
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id 40D3061E009 for <cpan-bug+Crypt-X509 [...] hipster.bestpractical.com>; Fri, 11 Mar 2011 01:18:47 -0500 (EST)
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 opFUALyIVNS6 for <cpan-bug+Crypt-X509 [...] hipster.bestpractical.com>; Fri, 11 Mar 2011 01:18:45 -0500 (EST)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id 2203B24173E for <bug-Crypt-X509 [...] rt.cpan.org>; Fri, 11 Mar 2011 01:18:44 -0500 (EST)
Received: (qmail 23458 invoked by uid 103); 11 Mar 2011 06:18:44 -0000
Received: from x16.dev (10.0.100.26) by x1.dev with QMQP; 11 Mar 2011 06:18:44 -0000
Received: from che.mayfirst.org (HELO che.mayfirst.org) (209.234.253.108) by 16.mx.develooper.com (qpsmtpd/0.80/v0.80-19-gf52d165) with ESMTP; Thu, 10 Mar 2011 22:18:41 -0800
Received: from [192.168.13.75] (lair.fifthhorseman.net [216.254.116.241]) by che.mayfirst.org (Postfix) with ESMTPSA id 67B02F973 for <bug-Crypt-X509 [...] rt.cpan.org.>; Fri, 11 Mar 2011 01:18:35 -0500 (EST)
Delivered-To: cpan-bug+Crypt-X509 [...] hipster.bestpractical.com
Subject: Crypt::X509 should not export error(), new(), not_before(), not_after(), or serial()
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101213 Icedove/3.1.7
Return-Path: <dkg [...] fifthhorseman.net>
X-RT-Mail-Extension: crypt-x509
X-Original-To: cpan-bug+Crypt-X509 [...] hipster.bestpractical.com
X-Spam-Check-BY: 16.mx.develooper.com
Date: Fri, 11 Mar 2011 01:18:31 -0500
X-Spam-Level:
To: bug-Crypt-X509 [...] rt.cpan.org
X-Enigmail-Version: 1.1.2
From: Daniel Kahn Gillmor <dkg [...] fifthhorseman.net>
Content-Length: 0
Content-Type: multipart/mixed; boundary="------------070407050808070506020403"
Content-Length: 0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-RT-Original-Encoding: utf-8
Content-Length: 801
Download (untitled) / with headers
text/plain 801b
The attached simple demonstration program produces a spurious warning because of subroutines needlessly exported by Crypt::X509: Show quoted text
> 0 dkg@pip:~$ ./demo-new.pl > Subroutine new redefined at ./demo-new.pl line 8. > 0 dkg@pip:~$
The documentation makes no claims that it will export any subroutines by default, but X509.pm contains: our @EXPORT = qw(error new not_before not_after serial); I believe these should all be removed from @EXPORT. Is there reason to believe these symbols are expected to be exported? It would be good to be able to do things like: use Crypt::X509; in other modules that also define subs named new() or error() without seeing these warnings. Does this make sense? Or is there some reason i'm missing for these items are exported and the others are not? --dkg
content-type: text/x-perl; name="demo-new.pl"
content-disposition: attachment; filename="demo-new.pl"
Content-Transfer-Encoding: quoted-printable
Content-Length: 93
Download demo-new.pl
text/x-perl 93b

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

Content-Description: OpenPGP digital signature
content-type: application/pgp-signature; name="signature.asc"
content-disposition: attachment; filename="signature.asc"
Content-Length: 1030
Download signature.asc
application/pgp-signature 1k

Message body not shown because it is not plain text.

MIME-Version: 1.0
In-Reply-To: <4D79BEB7.1010805 [...] fifthhorseman.net>
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
References: <4D79BEB7.1010805 [...] fifthhorseman.net>
Content-Type: text/plain; charset="UTF-8"
Message-ID: <rt-3.8.HEAD-9062-1309939397-1806.66538-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 202
Download (untitled) / with headers
text/plain 202b
You're right. The export of new() and error() was a missunderstanding of perls mechanisms on my side. I'll put up a new version with the exports fixed. yours, Alexander (back from parental leave....)
MIME-Version: 1.0
In-Reply-To: <4D79BEB7.1010805 [...] fifthhorseman.net>
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
References: <4D79BEB7.1010805 [...] fifthhorseman.net>
Content-Type: text/plain; charset="UTF-8"
Message-ID: <rt-3.8.HEAD-9058-1309940598-722.66538-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 46
put Crypt-X509 0.51 on CPAN Yours, Alexander
From dkg [...] fifthhorseman.net Wed Jul 6 10: 30:16 2011
MIME-Version: 1.0
X-Spam-Status: No, score=-7.323 tagged_above=-99.9 required=10 tests=[AWL=-0.423, BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5] autolearn=ham
In-Reply-To: <rt-3.8.HEAD-9062-1309939397-440.66538-6-0 [...] rt.cpan.org>
X-Spam-Flag: NO
References: <RT-Ticket-66538 [...] rt.cpan.org> <4D79BEB7.1010805 [...] fifthhorseman.net> <rt-3.8.HEAD-9062-1309939397-440.66538-6-0 [...] rt.cpan.org>
X-Virus-Checked: Checked by ClamAV on 16.mx.develooper.com
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
Message-ID: <4E147164.3040906 [...] fifthhorseman.net>
Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enigAAE2993033768FFBB053E349"
X-Spam-Score: -7.323
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id BE82C2404BA for <cpan-bug+Crypt-X509 [...] hipster.bestpractical.com>; Wed, 6 Jul 2011 10:30:16 -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 GXF61KGZ1i8k for <cpan-bug+Crypt-X509 [...] hipster.bestpractical.com>; Wed, 6 Jul 2011 10:30:15 -0400 (EDT)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id ED0782404B4 for <bug-Crypt-X509 [...] rt.cpan.org>; Wed, 6 Jul 2011 10:30:14 -0400 (EDT)
Received: (qmail 12787 invoked by uid 103); 6 Jul 2011 14:30:14 -0000
Received: from x16.dev (10.0.100.26) by x1.dev with QMQP; 6 Jul 2011 14:30:14 -0000
Received: from che.mayfirst.org (HELO che.mayfirst.org) (209.234.253.108) by 16.mx.develooper.com (qpsmtpd/0.80/v0.80-19-gf52d165) with ESMTP; Wed, 06 Jul 2011 07:30:11 -0700
Received: from [192.168.23.207] (dsl254-070-154.nyc1.dsl.speakeasy.net [216.254.70.154]) by che.mayfirst.org (Postfix) with ESMTPSA id F41C5F970 for <bug-Crypt-X509 [...] rt.cpan.org>; Wed, 6 Jul 2011 10:30:06 -0400 (EDT)
Delivered-To: cpan-bug+Crypt-X509 [...] hipster.bestpractical.com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.18) Gecko/20110626 Icedove/3.1.11
Subject: Re: [rt.cpan.org #66538] Crypt::X509 should not export error(), new(), not_before(), not_after(), or serial()
Return-Path: <dkg [...] fifthhorseman.net>
X-Spam-Check-BY: 16.mx.develooper.com
X-Original-To: cpan-bug+Crypt-X509 [...] hipster.bestpractical.com
X-RT-Mail-Extension: crypt-x509
Date: Wed, 06 Jul 2011 10:29:56 -0400
X-Spam-Level:
To: bug-Crypt-X509 [...] rt.cpan.org
X-Enigmail-Version: 1.1.2
From: Daniel Kahn Gillmor <dkg [...] fifthhorseman.net>
RT-Message-ID: <rt-3.8.HEAD-9058-1309962617-1871.66538-0-0 [...] rt.cpan.org>
Content-Length: 0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-RT-Original-Encoding: utf-8
Content-Length: 377
Download (untitled) / with headers
text/plain 377b
On 07/06/2011 04:03 AM, Alexander Jung via RT wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=66538 > > > You're right. The export of new() and error() was a missunderstanding of > perls mechanisms on my side. > > I'll put up a new version with the exports fixed.
Thank you very much, Alexander. Show quoted text
> (back from parental leave....)
Welcome back! Regards, --dkg
Content-Description: OpenPGP digital signature
content-type: application/pgp-signature; name="signature.asc"
content-disposition: attachment; filename="signature.asc"
Content-Length: 1030
Download signature.asc
application/pgp-signature 1k

Message body not shown because it is not plain text.

MIME-Version: 1.0
In-Reply-To: <rt-3.8.HEAD-9058-1309962617-1871.66538-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
References: <RT-Ticket-66538 [...] rt.cpan.org> <4D79BEB7.1010805 [...] fifthhorseman.net> <rt-3.8.HEAD-9062-1309939397-440.66538-6-0 [...] rt.cpan.org> <4E147164.3040906 [...] fifthhorseman.net> <rt-3.8.HEAD-9058-1309962617-1871.66538-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
Message-ID: <rt-4.0.16-9618-1378407714-1459.66538-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 21
this is fixed in 0.51


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.