Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: cpanp install, gpg: Can't check signature: No public key

by tobyink (Canon)
on Sep 27, 2012 at 16:57 UTC ( [id://996049]=note: print w/replies, xml ) Need Help??


in reply to cpanp install, gpg: Can't check signature: No public key

I don't know about cpanp, but cpan and cpanm each have an option for forcing an install even when tests fail.

perl -E'sub Monkey::do{say$_,for@_,do{($monkey=[caller(0)]->[3])=~s{::}{ }and$monkey}}"Monkey say"->Monkey::do'
  • Comment on Re: cpanp install, gpg: Can't check signature: No public key

Replies are listed 'Best First'.
Re^2: cpanp install, gpg: Can't check signature: No public key
by sundialsvc4 (Abbot) on Sep 27, 2012 at 17:05 UTC

    It seems that this is something to do with cryptographic signature verification (integrity checking) of the package content, not a test-failure.   I know that there is an o conf setting for this in ordinary CPAN, which can turn this feature on or off, but I can’t speak to this particular scenario.   I would like to know how it shakes out ...

Re^2: cpanp install, gpg: Can't check signature: No public key
by QM (Parson) on Sep 28, 2012 at 09:12 UTC
    In cpanp (and I presume in cpan):
    CPAN Terminal> s conf signature 0

    -QM
    --
    Quantum Mechanics: The dreams stuff is made of

      # For cpan, use 'o conf' Note: That's a small letter 'o' before 'conf' o conf signature 0 o conf commit # You will get a warning about signature not being a valid config item, but just ignore it

        Sorry for the garbled anonymous post, above.

        For cpan, use o conf Note: That's a small letter o before conf

        o conf signature 0 o conf commit
        You will get a warning about signature not being a valid config item, but just ignore that.

      Okay, and if a GPG signature is missing ... can someone please document here how one properly retrieves and installs it?   (Does someone, like, have to read that hex key-id and enter it by hand into a separate command to pull the PK down from a keyserver?   How gauche ...   For all those of us who don’t know the answer, what is the answer to this one?)

        If you're using the cli

        gpg --import keyfile

        gpg --keyserver pgp.mit.edu --recv-keys eyeid

        I'm sure there are ways to autoimport keys, but I don't know how

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://996049]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2024-04-20 04:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found