Several months back I thought it would be a good idea to be able to sign my handful of CPAN modules, so I tried to set up a PGP/gpg key. It did not go well, so I gave up on the idea.

Now downloading some signed CPAN modules doesn't work. Here is a sample log:
PJACKLAM/Math-BigInt-FastCalc-0.28.tar.gz /usr/bin/make -- OK CPAN: YAML loaded ok (v0.72) Running make test PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e" " +test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t t/00sig.t ...... Warning: using insecure memory! gpg: failed to create temporary file `/home/s......./.gnupg/.#lk0x80dd +5e0.animalhead.com.10920': Permission denied gpg: keyblock resource `/home/s......./.gnupg/pubring.gpg': General er +ror gpg: Signature made Sat Feb 26 11:29:15 2011 PST using DSA key ID 4D5B +721A gpg: requesting key 4D5B721A from hkp server pool.sks-keyservers.net gpg: no writable keyring found: Unknown system error gpg: error reading `[stream]': General error gpg: Can't check signature: No public key ==> BAD/TAMPERED signature detected! <== t/00sig.t ...... 1/1 # Failed test 'Valid signature' # at t/00sig.t line 35. # got: -3 # expected: 0 # Looks like you failed 1 test of 1. t/00sig.t ...... Dubious, test returned 1 (wstat 256, 0x100)
Of course I'd like to fix PGP/gpg so it works, but failing that I'd like to delete whatever's getting in the way. Advice on how to do either of these things will be very welcome!

cmac

In reply to bad gpg by cmac

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.