Recently, having decided to become more security-conscious, I installed Mac GNU Privacy Guard from http://macgpg.sourceforge.net/. Since then, I've been having problems installing Perl modules using the CPAN.pm interactive shell. Here is the output from an attempt to install a pure Perl module, Casey West's Email::Send:

cpan> install Email::Send CPAN: Storable loaded ok Going to read /Users/jimk/.cpan/Metadata Database was generated on Sat, 28 Jan 2006 23:13:10 GMT Running install for module Email::Send Running make for C/CW/CWEST/Email-Send-2.03.tar.gz CPAN: Digest::SHA loaded ok CPAN: Module::Signature loaded ok

So far so good, but what follows are warnings I never previously would have received.

gpg: WARNING: unsafe ownership on configuration file `/Users/jimk/.gnu +pg/gpg.conf' gpg: WARNING: unsafe ownership on configuration file `/Users/jimk/.gnu +pg/gpg.conf' gpg: Signature made Sat Jan 28 18:35:45 2006 EST using DSA key ID 450F +89EC gpg: external program calls are disabled due to unsafe options file pe +rmissions gpg: keyserver communications error: general error gpg: Can't check signature: public key not found Signature invalid for distribution file. Please investigate. Distribution id = C/CW/CWEST/Email-Send-2.03.tar.gz CPAN_USERID CWEST (Casey West <casey@geeknest.com>) CALLED_FOR Email::Send CHECKSUM_STATUS CONTAINSMODS Email::Send::IO Email::Send::Sendmail Email::Send::NN +TP Email::Send::SMTP Email::Send::Qmail Email::Send UPLOAD_DATE 2006-01-28 incommandcolor 1 localfile /Users/jimk/.cpan/sources/authors/id/C/CW/CWEST/Email +-Send-2.03.tar.gz I'd recommend removing /Users/jimk/.cpan/sources/authors/id/C/CW/CWEST/CHECKSUMS. Its signatu +re is invalid. Maybe you have configured your 'urllist' with a bad URL. Please check this array with 'o conf urllist', and retry.

The upshot: Nothing gets installed.

I have double-checked my urllist; it contains the same mirrors I've been using for years. So I don't think that's where the problem lies. I suspect I don't understand the implications of using CPAN.pm on a machine where gpg is installed. But perhaps it's a problem with the particular version of CPAN.pm. Can anyone clarify?

Info: Perl 5.8.7; Mac OS X (10.3); CPAN.pm version 1.83.

Thank you very much.

Jim Keenan


In reply to Can't use CPAN.pm once gpg installed by jkeenan1

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.